[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#351592: /usr/bin/apt-get: during install apt-get doesn't resolve dependency problems



Package: apt
Version: 0.5.28.6
Severity: normal
File: /usr/bin/apt-get

During an install on a mostly sarge system of newer "x-window-system-core" from testing, apt-get warns of dependency problems but doesn't prompt for permission to proceed or suggest any solution.

I'd expect the dependency resolution to either remove the packages which no longer have their dependencies met or to upgrade them so that they depend on the newer packages being installed. I'd thought the dependency problems would be recognised in the initial stages and resolved in the solution presented before the "Do you want to continue? [Y/n]". Failing this automation, should there not be a warning and some opportunity to abort the install?

My example is below. Is this expected behaviour? Any advice appreciated.

Thanks,
Andrew Archibald (andrew@choppywater.net)


liz:/home/liz# apt-get -t testing install x-window-system-core
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  gcc-4.0-base libglu1-xorg libstdc++6
The following packages will be REMOVED:
  xlibmesa-glu
The following NEW packages will be installed:
  gcc-4.0-base libglu1-xorg libstdc++6 x-window-system-core
0 upgraded, 4 newly installed, 1 to remove and 742 not upgraded.
Need to get 1092kB of archives.
After unpacking 1466kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.uk.debian.org testing/main gcc-4.0-base 4.0.2-5 [179kB]
Get:2 http://ftp.uk.debian.org testing/main libstdc++6 4.0.2-5 [352kB]
Get:3 http://ftp.uk.debian.org testing/main libglu1-xorg 6.8.2.dfsg.1-11 [386kB]Get:4 http://ftp.uk.debian.org testing/main x-window-system-core 6.8.2.dfsg.1-11 [175kB]
Fetched 1092kB in 14s (73.7kB/s)
dpkg: xlibmesa-glu: dependency problems, but removing anyway as you request:
 libxine1 depends on xlibmesa-glu | libglu1; however:
  Package xlibmesa-glu is to be removed.
  Package libglu1 is not installed.
  Package xlibmesa-glu which provides libglu1 is to be removed.
 xscreensaver-gl depends on xlibmesa-glu | libglu1; however:
  Package xlibmesa-glu is to be removed.
  Package libglu1 is not installed.
  Package xlibmesa-glu which provides libglu1 is to be removed.
 kscreensaver depends on xlibmesa-glu | libglu1; however:
  Package xlibmesa-glu is to be removed.
  Package libglu1 is not installed.
  Package xlibmesa-glu which provides libglu1 is to be removed.
 libfltk1.1c102 depends on xlibmesa-glu | libglu1; however:
  Package xlibmesa-glu is to be removed.
  Package libglu1 is not installed.
  Package xlibmesa-glu which provides libglu1 is to be removed.
 kpovmodeler depends on xlibmesa-glu | libglu1; however:
  Package xlibmesa-glu is to be removed.
  Package libglu1 is not installed.
  Package xlibmesa-glu which provides libglu1 is to be removed.
 libxine1 depends on xlibmesa-glu | libglu1; however:
  Package xlibmesa-glu is to be removed.
  Package libglu1 is not installed.
  Package xlibmesa-glu which provides libglu1 is to be removed.
 xscreensaver-gl depends on xlibmesa-glu | libglu1; however:
  Package xlibmesa-glu is to be removed.
  Package libglu1 is not installed.
  Package xlibmesa-glu which provides libglu1 is to be removed.
 kscreensaver depends on xlibmesa-glu | libglu1; however:
  Package xlibmesa-glu is to be removed.
  Package libglu1 is not installed.
  Package xlibmesa-glu which provides libglu1 is to be removed.
 libgle3 depends on xlibmesa3-glu | libglu1; however:
  Package xlibmesa3-glu is not installed.
  Package libglu1 is not installed.
  Package xlibmesa-glu which provides libglu1 is to be removed.
 libfltk1.1c102 depends on xlibmesa-glu | libglu1; however:
  Package xlibmesa-glu is to be removed.
  Package libglu1 is not installed.
  Package xlibmesa-glu which provides libglu1 is to be removed.
 kpovmodeler depends on xlibmesa-glu | libglu1; however:
  Package xlibmesa-glu is to be removed.
  Package libglu1 is not installed.
  Package xlibmesa-glu which provides libglu1 is to be removed.
 xbase-clients depends on libglu1-xorg | libglu1; however:
  Package libglu1-xorg is not installed.
  Package libglu1 is not installed.
  Package xlibmesa-glu which provides libglu1 is to be removed.
(Reading database ... 98932 files and directories currently installed.)
Removing xlibmesa-glu ...
Selecting previously deselected package gcc-4.0-base.
(Reading database ... 98924 files and directories currently installed.)
Unpacking gcc-4.0-base (from .../gcc-4.0-base_4.0.2-5_i386.deb) ...
Selecting previously deselected package libstdc++6.
Unpacking libstdc++6 (from .../libstdc++6_4.0.2-5_i386.deb) ...
Selecting previously deselected package libglu1-xorg.
Unpacking libglu1-xorg (from .../libglu1-xorg_6.8.2.dfsg.1-11_i386.deb) ...
Selecting previously deselected package x-window-system-core.
Unpacking x-window-system-core (from .../x-window-system-core_6.8.2.dfsg.1-11_i386.deb) ...
Setting up gcc-4.0-base (4.0.2-5) ...
Setting up libstdc++6 (4.0.2-5) ...

Setting up libglu1-xorg (6.8.2.dfsg.1-11) ...

Setting up x-window-system-core (6.8.2.dfsg.1-11) ...
liz:/home/liz#

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
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::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";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";

-- /etc/apt/preferences --

#Explanation: see http://www.argon.org/~roderick/apt-pinning.html
Package: *
Pin: release o=Debian,a=stable
Pin-Priority: 900

Package: *
Pin: release o=Debian,a=testing
Pin-Priority: 400

Package: *
Pin: release o=Debian,a=unstable
Pin-Priority: 300

Package: *
Pin: release o=Debian
Pin-Priority: -1

-- /etc/apt/sources.list --

#deb file:///cdrom/ sarge main

deb http://ftp.uk.debian.org/debian/ stable main
deb-src http://ftp.uk.debian.org/debian/ stable main

deb http://security.debian.org/ stable/updates main

deb http://ftp.uk.debian.org/debian/ testing main
deb-src http://ftp.uk.debian.org/debian/ testing main
#deb http://security.debian.org/ testing/updates main


deb http://ftp.uk.debian.org/debian/ unstable main
deb-src http://ftp.uk.debian.org/debian/ unstable main
#deb http://security.debian.org/ unstable/updates main

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (400, 'testing'), (300, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-386
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages apt depends on:
ii  libc6                         2.3.5-8    GNU C Library: Shared libraries an
ii  libgcc1                       1:4.0.2-5  GCC support library
ii  libstdc++5                    1:3.3.5-13 The GNU Standard C++ Library v3

-- no debconf information



Reply to: