diff options
Diffstat (limited to 'pbuilder-updatebuildenv')
-rwxr-xr-x | pbuilder-updatebuildenv | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pbuilder-updatebuildenv b/pbuilder-updatebuildenv index 2cbc8a9..92ccd0f 100755 --- a/pbuilder-updatebuildenv +++ b/pbuilder-updatebuildenv @@ -45,7 +45,10 @@ recover_aptcache $TRAP saveaptcache_umountproc_cleanbuildplace_trap exit sighup $CHROOTEXEC /usr/bin/apt-get -y --force-yes "${FORCE_CONFNEW[@]}" dist-upgrade -$CHROOTEXEC /usr/bin/apt-get -y --force-yes autoremove +# autoremove: Ignore error in case of etch because apt in etch doesn't +# support autoremove. TODO: Do not ignore error when etch is no longer +# supported. +$CHROOTEXEC /usr/bin/apt-get -y --force-yes autoremove || true $CHROOTEXEC /usr/bin/apt-get -y --force-yes install build-essential dpkg-dev apt aptitude $EXTRAPACKAGES save_aptcache |