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

Bug#267289: apt-get: "dist-upgrade" does not find a solution where a simple "install" works



package apt
merge 172050 267289
kthxbye


Package: apt
Version: 0.7.14
Severity: normal

In some cases there is one available package upgrade, but it is not
upgraded with "dist-upgrade":

piti:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  hwinfo
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.


With "install" it does work:
piti:~# apt-get install hwinfo
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libhd14
The following packages will be REMOVED:
  libhd13
The following NEW packages will be installed:
  libhd14
The following packages will be upgraded:
  hwinfo
1 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 715kB of archives.
After this operation, 279kB of additional disk space will be used.
Do you want to continue [Y/n]?


This seems like a problem with the dependencies resolver when it has
to remove an older library and install a newer version ('aptitude'
works fine).

Thanks


-- Package-specific info:
piti:~# apt-cache policy hwinfo
hwinfo:
  Installed: 13.41-1
  Candidate: 14.19-2
  Version table:
     14.19-2 0
        990 http://ftp.de.debian.org lenny/main Packages
        990 http://ftp.fr.debian.org lenny/main Packages
 *** 13.41-1 0
        990 http://ftp.ro.debian.org lenny/main Packages
        100 /var/lib/dpkg/status

piti:~# apt-cache show hwinfo
Package: hwinfo
Priority: optional
Section: admin
Installed-Size: 116
Maintainer: William Vera <billy@billy.com.mx>
Architecture: amd64
Version: 14.19-2
Depends: libc6 (>= 2.7-1), libhd14
Filename: pool/main/h/hwinfo/hwinfo_14.19-2_amd64.deb
Size: 45328
MD5sum: bf1eec88c9f186f6870d4ead58451802
SHA1: 942a69623d5ea59f47b41ad992b79a091945567e
SHA256: c938db7e439d59e9fb841ffdd9cb61476c6ab3171d65bae0f8bd25181523def6
Description: Hardware identification system
 hwinfo is the hardware detection tool used in SuSE Linux.
 .
 In Debian Edu (Skolelinux) hwinfo has shown better results than discover when
 detecting mouse, keyboard and monitor.
 .
 hwinfo collects information about the hardware installed on a system.  Among
 others, libhd contains information about cdrom, zip, floppy, disks and
 partitions, network card, graphics card, monitor, camera, mouse, sound, pppoe,
 isdn, modem, printer, scanner, bios, cpu, usb, memory and smp.
 .
 This package does not include the binaries hwscan, hwscand and hwscanqueue. If
 you think one or more of these should be included in the package, please
 contact the maintainer at hwinfo@packages.debian.org.
Tag: admin::hardware, hardware::detection, implemented-in::c,
interface::commandline, role::program, scope::utility, use::scanning

Package: hwinfo
Priority: optional
Section: admin
Installed-Size: 112
Maintainer: William Vera <billy@billy.com.mx>
Architecture: amd64
Version: 13.41-1
Depends: libc6 (>= 2.6-1), libhd13
Filename: pool/main/h/hwinfo/hwinfo_13.41-1_amd64.deb
Size: 44036
MD5sum: efef4f6f1479aefde19d4baadb0d9f37
SHA1: e9444566fa6263a95fd4052a74798093158b6570
SHA256: 6cd61201f00911761db4bb4e7bc46c5d2e796e7e388bbb56c8bc1e6cc18de709
Description: Hardware identification system
 hwinfo is the hardware detection tool used in SuSE Linux.
 .
 In Debian-Edu (Skolelinux) hwinfo has shown better results than discover when
 detecting mouse, keyboard and monitor.
 .
 hwinfo collects information about the hardware installed on a system.  Among
 others, libhd contains information about cdrom, zip, floppy, disks and
 partitions, network card, graphics card, monitor, camera, mouse, sound, pppoe,
 isdn, modem, printer, scanner, bios, cpu, usb, memory and smp.
 .
 This package does not include the binaries hwscan, hwscand and hwscanqueue. If
 you think one or more of these should be included in the package, please
 contact the maintainer at hwinfo@packages.debian.org.
Tag: admin::hardware, hardware::detection, implemented-in::c,
interface::commandline, role::program, scope::utility, use::scanning


-- apt-config dump --

APT "";
APT::Architecture "amd64";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "1";
APT::Install-Suggests "0";
APT::Acquire "";
APT::Acquire::Translation "environment";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::Default-Release "testing";
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/apt-listbugs apt || exit 10";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/sbin/apt-listbugs "";
DPkg::Tools::Options::/usr/sbin/apt-listbugs::Version "2";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
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 cdrom:[Debian GNU/Linux testing _Lenny_ - Official Snapshot
amd64 NETINST Binary-1 20080308-08:51]/ lenny main

#deb-src http://ftp.ro.debian.org/debian/ sid main contrib
#deb-src http://ftp.ro.debian.org/debian/ lenny main contrib

#deb http://ftp.ro.debian.org/debian/ sid main contrib non-free
#deb http://ftp.de.debian.org/debian/ sid main

deb http://ftp.ro.debian.org/debian/ lenny main contrib non-free
deb http://ftp.de.debian.org/debian/ lenny main
deb http://ftp.fr.debian.org/debian/ lenny main
deb http://security.debian.org/ lenny/updates main contrib non-free
deb http://volatile.debian.org/debian-volatile/ lenny/volatile main
contrib non-free



-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt depends on:
ii  debian-archive-keyring   2008.04.16+nmu1 GnuPG archive keys of the Debian a
ii  libc6                    2.7-10          GNU C Library: Shared libraries
ii  libgcc1                  1:4.3.1-2       GCC support library
ii  libstdc++6               4.3.1-2         The GNU Standard C++ Library v3

apt recommends no packages.

-- no debconf information



Reply to: