Bug#473141: pbuilder-satisfydepends-aptitude concurrency issue
Loïc Minier
lool at dooz.org
Fri Mar 28 16:38:47 UTC 2008
Package: pbuilder
Version: 0.178
Severity: minor
Running pbuilder-satisfydepends-aptitude concurrently on a dev system
(not within pbuilder) removes some bdeps.
17:01 < Riddell> lool: do you know if there's a way to stop pbuilder-satisfydepends running autoremove?
17:03 < lool> Riddell: List the packages in EXTRAPACKAGES?
17:03 < lool> Riddell: What's your use case?
17:03 < lool> Riddell: Also, in sid it's now setting APT::Get::AutomaticRemove=true instead of calling autoremove
17:03 < lool> (it should have the same effect though)
17:05 < Riddell> lool: I'm running two compiles at the same time, and the second one has a habit of removing packages being used by the first one
17:06 < lool> Riddell: uh
17:06 < lool> Riddell: First, only pbuilder update should ever do autoremove
17:06 < lool> Riddell: Second, when building, two build dirs are created which should be separate
17:07 < Riddell> I'm not actually using a pbuilder, just using pbuilder-satisfydepends on my normal system to install the packages
17:07 < lool> It's something like a build.$$ dir using the pid of the pbuilder instance
17:07 < lool> Riddell: oh
17:08 < lool> Riddell: Well I don't know why pbuilder-satisfydepends would tell APT to autoremove packages; it shouldn't; however I can imagine why that'd happen with the
aptitude flavor
17:08 < lool> Riddell: What happens is that it builds a .deb with its deps being the build-deps of your package
17:08 < lool> And then installs it
17:09 < Riddell> that seems to be what it does
17:09 < lool> If two runs create two times a deb with the same name, the second one selects the packages, and the ones pulled by the first one are deselected
17:10 < lool> So a solution could be to create a deb named after the build or something similar, but this would mean polluting the dpkg dataabse
17:10 < Riddell> maybe using pbuilder-satisfydepends-classic would solve my issue
17:10 < lool> Riddell: It would, but wouldn't remove the bdeps after the build
17:10 < Riddell> that's fine with me
17:10 < lool> Riddell: Then yes, it would (or the -experimental one)
17:11 < Riddell> ok, thanks
17:11 < lool> Riddell: Can I paste this conversation in a bug repotr?
17:12 < Riddell> lool: sure
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages pbuilder depends on:
ii cdebootstrap 0.5.1 Bootstrap a Debian system
ii coreutils 6.10-3 The GNU core utilities
ii debianutils 2.28.4 Miscellaneous utilities specific t
ii debootstrap 1.0.8 Bootstrap a basic Debian system
ii gcc 4:4.2.3-4 The GNU C compiler
ii wget 1.11.1-1 retrieves files from the web
Versions of packages pbuilder recommends:
ii cowdancer 0.44 Copy-on-write directory tree utili
ii devscripts 2.10.20 scripts to make the life of a Debi
ii fakeroot 1.9.3 Gives a fake root environment
ii sudo 1.6.9p12-1 Provide limited super user privile
-- no debconf information
--
Loïc Minier
More information about the Pbuilder-maint
mailing list