Bug#494085: apt-get install removes packages instead of upgrading
Package: apt
Version: 0.7.9
Severity: normal
apt-get install has repeatedly shown a propensity to remove packages
rather than upgrading them. In the following example, it tries to
remove openoffice, kde, gnome, and konqueror at least the first three of
which are common targets.
apt-get install kvdr
The following packages will be REMOVED
abiword-gnome abiword-plugins-gnome democracyplayer dfontmgr
fast-user-switch-applet foomatic-db-hpijs gaim gnome gnome-applets
gnome-control-center gnome-core gnome-desktop-environment
gnome-office
gnome-panel gnome-session gstreamer0.8-jack hpijs hpijs-ppds
hplip hplip-dbg
hplip-gui kde-amusements kde-core kdeaddons kdebase
kdebase-kio-plugins
kdepim kmail kmailcvt konq-plugins konqueror
konqueror-nsplugins korn
libaiksaurus0c102 libarchive-tar-perl libdbd-pg-perl
libdigest-nilsimsa-perl
libft-perl libglade-perl libgtk-perl libjack0.80.0-0
libjack0.80.0-dev
libneon25 libperl5.8 libpg-perl libpod-simple-perl
libpurple-bin libpurple0
libsvn0 libversion-perl nautilus nautilus-cd-burner
openmortal
openoffice.org openoffice.org-base
openoffice.org-calc openoffice.org-draw
openoffice.org-help-en-us
openoffice.org-impress openoffice.org-math
openoffice.org-writer pidgin printconf
python-uno python-wxgtk2.4 vim
vim-gtk
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "1";
APT::Install-Suggests "0";
APT::Acquire "";
APT::Acquire::Translation "environment";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::Default-Release "unstable";
APT::Cache-Limit "20000000";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi";
-- (no /etc/apt/preferences present) --
-- /etc/apt/sources.list --
#deb file:///cdrom/ sarge main
# deb cdrom:[Debian GNU/Linux 3.1 r1 _Sarge_ - Official i386 Binary-2 (20051218)]/ unstable contrib main
# deb cdrom:[Debian GNU/Linux 3.1 r1 _Sarge_ - Official i386 Binary-1 (20051218)]/ unstable contrib main
deb http://http.us.debian.org/debian stable main contrib non-free
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb http://security.debian.org/ stable/updates main contrib non-free
deb http://http.us.debian.org/debian unstable main contrib non-free
# deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
# deb http://security.debian.org/ unstable/updates main contrib non-free
deb http://http.us.debian.org/debian testing main contrib non-free
deb-src http://http.us.debian.org/debian stable main contrib non-free
deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb-src http://http.us.debian.org/debian unstable main contrib non-free
# deb-src http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
# add deb repositories for dvd/video stuff
deb http://download.videolan.org/pub/videolan/debian sarge main
deb-src http://download.videolan.org/pub/videolan/debian sarge main
deb http://download.videolan.org/pub/videolan/debian sid main
deb-src http://download.videolan.org/pub/videolan/debian sid main
deb http://tonelli.sns.it/pub/mplayer/sarge ./
deb http://ftp.debian-unofficial.org/debian stable main contrib non-free restricted
deb http://www.debian-multimedia.org/ sid main
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages apt depends on:
ii debian-archive-keyring 2007.07.31 GnuPG archive keys of the Debian a
ii libc6 2.7-12 GNU C Library: Shared libraries
ii libgcc1 1:4.2.2-4 GCC support library
ii libstdc++6 4.2.2-4 The GNU Standard C++ Library v3
apt recommends no packages.
-- no debconf information
Reply to: