Bug#338186: apt: Installing new package that conflicts with installed causes install of unwanted packages
Package: apt
Version: 0.6.41
Severity: important
I'm trying to install package xserver-xorg which xserver-xfree86 is currently
installed. When I do this, it wants to install some packages that
xserver-xorg recommends. It wants to install discover1 discover1-data
libdiscover1 which I do not want on any of my systems. I have noticed this
on every machine I upgrade to xorg if xfree is installed. If I remove
xserver-xfree86 first, it will not install these packages.
I'm installing the xorg from SID, however, I'm not sure if APT is from sid or
sarge. I saw it with apt 0.5.xx (unsure on xx)
Here's an example of what I mean:
# apt-get -o Debug::pkgProblemResolver=true install xserver-xorg
Reading Package Lists... Done
Building Dependency Tree... Done
Starting
Starting 2
Investigating xserver-xorg
Package xserver-xorg has broken dep on discover1
Considering discover1 0 as a solution to xserver-xorg 9999
Re-Instated discover1-data
Re-Instated libdiscover1
Re-Instated discover1
Package xserver-xorg has broken dep on xserver-xfree86
Considering xserver-xfree86 0 as a solution to xserver-xorg 9999
Added xserver-xfree86 to the remove list
Fixing xserver-xorg via remove of xserver-xfree86
Investigating x11-common
Package x11-common has broken dep on x-window-system
Considering x-window-system 0 as a solution to x11-common 31
Holding Back x11-common rather than change x-window-system
Investigating xserver-common
Package xserver-common has broken dep on x11-common
Considering x11-common 31 as a solution to xserver-common 3
Holding Back xserver-common rather than change x11-common
Investigating xserver-xorg
Package xserver-xorg has broken dep on xserver-common
Considering xserver-common 3 as a solution to xserver-xorg 9999
Re-Instated xfree86-common
Re-Instated x11-common
Re-Instated xserver-common
Done
The following extra packages will be installed:
discover1 discover1-data libdiscover1 libgcc1 x11-common xfree86-common
xserver-common
Suggested packages:
x-window-system-core x-window-system xfonts-scalable configlet-frontends
libglide2
Recommended packages:
discover mdetect xresprobe laptop-detect
The following packages will be REMOVED:
xserver-xfree86
The following NEW packages will be installed:
discover1 discover1-data libdiscover1 x11-common xserver-xorg
The following packages will be upgraded:
libgcc1 xfree86-common xserver-common
3 upgraded, 5 newly installed, 1 to remove and 249 not upgraded.
Need to get 0B/7627kB of archives.
After unpacking 1864kB of additional disk space will be used.
Do you want to continue? [Y/n] n
#
Currently installed xserver-xfree86 is 4.3.0.dfsg.1-10
-- Package-specific info:
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.12
Locale: LANG=C, LC_CTYPE=C
Versions of packages apt depends on:
ii libc6 2.3.5-6 GNU C Library: Shared libraries an
ii libgcc1 1:4.0.2-2 GCC support library
ii libstdc++6 4.0.2-2 The GNU Standard C++ Library v3
-- no debconf information
Reply to: