[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pbuilder not updating



On Fri, 2022-07-15 at 08:47 +0800, Paul Wise wrote:
> On Thu, 2022-07-14 at 17:49 -0400, Matt Barry wrote:
> 
> > I imagine I'm missing something simple wrt pbuilder.. any ideas
> > where
> > to look?
> 
> Are you getting any errors from the pbuilder update command?

No, however..

> Are you updating the same chroot as you are building with?

No :)

I'll figure out which configs belong where, but long story short,
'pbuilder update' and 'git-pbuilder update' were working on two
different chroots.

Thanks!

> 
> You can also add a hook that does apt update before the build:
> 
>    ==> ~/.pbuilder/hooks/D01update <==
>    #!/bin/bash
>    exec apt-get update

Strangely this did not do anything.. hmm.

>    
> Sometimes it is useful to have a shell during the build, which you
> can use to do things you forgot to do in the packaging or elsewhere.
> 
>    ==> ~/.pbuilder/hooks/A00shell -> shell <==
>    ==> ~/.pbuilder/hooks/B00shell -> shell <==
>    ==> ~/.pbuilder/hooks/C00shell -> shell <==
>    ==> ~/.pbuilder/hooks/D00shell -> shell <==
>    ==> ~/.pbuilder/hooks/E00shell -> shell <==
>    ==> ~/.pbuilder/hooks/G00shell -> shell <==
>    ==> ~/.pbuilder/hooks/H00shell -> shell <==
>    ==> ~/.pbuilder/hooks/I00shell -> shell <==
>    ==> ~/.pbuilder/hooks/shell <==
>    #!/bin/bash
>    exec /bin/bash -i </dev/tty > /dev/tty 2> /dev/tty
> 
> There are various pbuilder hook examples here:
> 
>    /usr/share/doc/pbuilder/examples

Cool, thanks!

Cheers,
Matt

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: