summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2016-05-12 18:17:39 +0000
committerintrigeri <intrigeri@boum.org>2016-05-12 20:44:01 +0000
commit42355ed42aab9463f8af5187520fd6d41190cf81 (patch)
treea153c52c8ecd4a035ea3cc04102f23347eecb664 /data
parent1c288e4ed36d0c65a5d89f65ec4e6649d25e7090 (diff)
apt-get wrapper: purge and remove actions can trigger the installation (and thus, the download) of packages.
As noticed by anonym (https://labs.riseup.net/code/issues/10748#note-32), lockfile-progs is missing from the build manifest. Indeed, it is installed by a call to `apt-get purge', found in config/chroot_local-hooks/98-remove_unwanted_packages, whose effect is: The following extra packages will be installed: lockfile-progs The following packages will be REMOVED: apt-listchanges* at* autoconf* automake* bsd-mailx* dc* debian-faq* doc-debian* exim4* exim4-base* exim4-config* exim4-daemon-light* ftp* m4* mlocate* mutt* ncurses-term* nfs-common* procmail* python-reportbug* reportbug* telnet* texinfo* time* w3m* wamerican* The following NEW packages will be installed: lockfile-progs For the curious: monkeysphere "Depends: lockfile-progs | procmail", so when we remove procmail, apt-get installs lockfile-progs to satisfy the dependency.
Diffstat (limited to 'data')
-rwxr-xr-xdata/wrappers/apt-get4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/wrappers/apt-get b/data/wrappers/apt-get
index 757bc20..9f94d81 100755
--- a/data/wrappers/apt-get
+++ b/data/wrappers/apt-get
@@ -5,7 +5,7 @@ set -u
mode=unknown
for param in "$@"; do
case "$param" in
- install | download | upgrade | dist-upgrade)
+ install | download | purge | remove | upgrade | dist-upgrade)
mode=binuris
break
;;
@@ -13,7 +13,7 @@ for param in "$@"; do
mode=srcuris
break
;;
- check | update | autoclean | autoremove | purge)
+ check | update | autoclean | autoremove)
mode=noop
break
;;