[Ubuntu] cowbuilder fails for Ubuntu 20.04 Focal

Sebastiaan Couwenberg sebastic at xs4all.nl
Sat May 2 08:43:20 PDT 2020


On 5/2/20 5:31 PM, Martin Landa wrote:
> so 2. 5. 2020 v 6:20 odesílatel Sebastiaan Couwenberg napsal:
>> You can use --aptcache=/var/cache/pbuilder/aptcache/ to override the
>> pbuilderrc as documented in the pbuilder(8) manpage, but you shouldn't
>> have a per chroot apt cache configured in the pbuilderrc.
> 
> this point I do not understand. Is it recommended to have a single
> aptcache used by more chroots (bionic, focal) or separated as defined
> at [1].

Per chroot apt cache is generally not needed because the files are
unique thanks to the version encoded in the filename
(<name>_<version>_<architecture>.deb). On my systems I have
/var/cache/pbuilder/aptcache used for 36 different chroots, both Debian
& Ubuntu.

If you use badly managed PPAs that re-use the same version for different
builds of the same package, then a per chroot apt cache can help. But
that's just a workaround, fixing the practices of the package in
question is the solution.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1


More information about the Ubuntu mailing list