From ba35d786b9ebb80ffa3722fed38174e0084548cf Mon Sep 17 00:00:00 2001 From: Loïc Minier Date: Sun, 10 May 2009 12:01:05 +0200 Subject: Call apt-get autoremove on upgrades; #322649 Call "apt-get autoremove" explicitely on upgrades as APT::GET::AutomaticRemove=true doesn't work with "apt-get dist-upgrade"; closes: ##322649. --- pbuilder-updatebuildenv | 1 + 1 file changed, 1 insertion(+) (limited to 'pbuilder-updatebuildenv') diff --git a/pbuilder-updatebuildenv b/pbuilder-updatebuildenv index 97eb466..8adc853 100755 --- a/pbuilder-updatebuildenv +++ b/pbuilder-updatebuildenv @@ -45,6 +45,7 @@ recover_aptcache $TRAP saveaptcache_umountproc_cleanbuildplace_trap exit sighup $CHROOTEXEC /usr/bin/apt-get -y --force-yes "${FORCE_CONFNEW[@]}" -o "APT::Get::AutomaticRemove=true" dist-upgrade +$CHROOTEXEC /usr/bin/apt-get -y --force-yes autoremove $CHROOTEXEC /usr/bin/apt-get -y --force-yes install build-essential dpkg-dev apt aptitude $EXTRAPACKAGES save_aptcache -- cgit v1.2.3