From 4d79188e7e890bee52fc671a426c60642ba4422f Mon Sep 17 00:00:00 2001 From: Valentin Vidic Date: Tue, 5 Feb 2008 11:08:18 +0100 Subject: [PATCH] Disable apt-listchanges during the upgrade. --- src/actions/main.queue | 1 + src/functions.sh | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/src/actions/main.queue b/src/actions/main.queue index aeede28..16a6b5f 100644 --- a/src/actions/main.queue +++ b/src/actions/main.queue @@ -4,6 +4,7 @@ true first_warning true check_upgrade true remove_bloat +true disable_apt_listchanges true comment_force_overwrite # ruzna opcija za dpkg # ovo bi trebao biti zadnji post_upgrade - spremi popis # instaliranih servisa za koje cemo na kraju provjeriti da li rade. diff --git a/src/functions.sh b/src/functions.sh index 7474d5e..d3bd0de 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -479,6 +479,16 @@ restore_configs () { fi } +# temporary remove listchanges packages to reduce clutter during upgrade +disable_apt_listchanges () { + for p in apt-listchanges apt-listchanges-cn; do + if pkg $p; then + pkgrm $p + post_upgrade pkgadd $p + fi + done +} + # make a silent installation of carnet and srce keyrings install_keyrings () { pkgadd carnet-keyring srce-keyring -- 1.7.10.4