diff options
author | Loïc Minier <lool@dooz.org> | 2009-05-10 12:01:05 +0200 |
---|---|---|
committer | Loïc Minier <lool@dooz.org> | 2009-05-10 12:01:05 +0200 |
commit | ba35d786b9ebb80ffa3722fed38174e0084548cf (patch) | |
tree | 683f96d6fce9d0d274269c2fcd773dc92798dce0 /pbuilder-updatebuildenv | |
parent | a9604a803bc3538c602edaed90abf89ee833e3fe (diff) | |
download | pbuilder-ba35d786b9ebb80ffa3722fed38174e0084548cf.tar pbuilder-ba35d786b9ebb80ffa3722fed38174e0084548cf.tar.gz |
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.
Diffstat (limited to 'pbuilder-updatebuildenv')
-rwxr-xr-x | pbuilder-updatebuildenv | 1 |
1 files changed, 1 insertions, 0 deletions
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 |