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

Bug#517202: apt: Same behaviour with different packages...



Package: apt
Version: 0.7.21
Followup-For: Bug #517202


Maybe I understand how the problem emerge. Here is another example:

I try to remove a package, and apt-get installs the NEW package libbluetooth3
and suggest removing it...

# apt-get --purge remove openbios-ppc
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libbluetooth3
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  bochsbios libbluetooth3 libpulse0
Suggested packages:
  pulseaudio
The following packages will be REMOVED:
  openbios-ppc* qemu*
The following NEW packages will be installed:
  libbluetooth3
The following packages will be upgraded:
  bochsbios libpulse0
2 upgraded, 1 newly installed, 2 to remove and 1161 not upgraded.
Need to get 552kB of archives.
After this operation, 44.8MB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.


Removing openbios-ppc, apt also has to remove qemu. But qemu is not up-to-date,
so apt tries to update qemu. This operation requires updating bochsbios and
libpulse0, and installing libbluetooth3. But also the last version of qemu
depend on openbios-ppc, it must be removed... Nevertheless apt keeps on
updating and installing the related but unneeded packages.

One more question arises... If I try to update qemu, apt updates and installs packages as above, and suggest removing libbluetooth2!

# apt-get install qemu               
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libbluetooth2
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  bochsbios libbluetooth3 libpulse0
Suggested packages:
  pulseaudio samba
The following NEW packages will be installed:
  libbluetooth3
The following packages will be upgraded:
  bochsbios libpulse0 qemu
3 upgraded, 1 newly installed, 0 to remove and 1162 not upgraded.

This means that BOTH libbluetooth2 and the newly installed libbluetooth3 should
be auto-removed after removing openbios-ppc, isn't it?

Version of related installed packages are:
ii  bochsbios        2.3.7-1          BIOS for the Bochs emulator
ii  libpulse0        0.9.14-2         PulseAudio client libraries
ii  openbios-ppc     1.0-2            PowerPC Open Firmware
ii  qemu             0.10.2-2         fast processor emulator

Best regards,
Marco

-- 
http://bodrato.it/

-- 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.*";
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/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::Post-Invoke "";
DPkg::Post-Invoke:::: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi";
DPkg::Post-Invoke:: "if [ -x /usr/sbin/localepurge ] && [ $(ps w -p $PPID | grep -c remove) != 1 ]; then /usr/sbin/localepurge; else exit 0; fi";

-- /etc/apt/preferences --


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

#sid
#deb http://debian.rutgers.edu/ unstable main
deb http://debian.fastweb.it/debian/ unstable main
#deb http://ftp.it.debian.org/debian/ unstable main
deb-src http://debian.fastweb.it/debian/ unstable main

#sid non free
deb http://debian.fastweb.it/debian/ unstable contrib non-free

#videolan
##deb http://download.videolan.org/pub/videolan/debian sid main

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

#vari

#blackdown
deb ftp://ftp.easynet.be/blackdown/debian/ sid main non-free 

#dbxml
#deb http://www.lesdeveloppementsdurables.org/debian/ testing dbxml 

#marillat
deb http://debian-mirrors.sdinet.de/debian-multimedia sid main
#deb ftp://ftp.nerim.net/debian-marillat/ sid main

#kismet
##deb http://unbolted.llarian.net/debian/ kismet-devel/

#cinelerra
##deb http://www.kiberpipa.org/~minmax/cinelerra/builds/sid/ ./

deb http://debian.fastweb.it/debian/ testing main
###deb-src http://debian.fastweb.it/debian/ testing main

#deb http://mirror.switch.ch/ftp/mirror/debian/ testing main
##deb-src http://mirror.switch.ch/ftp/mirror/debian/ testing main

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

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-tm290
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        2009.01.31 GnuPG archive keys of the Debian a
ii  libc6                         2.9-3      GNU C Library: Shared libraries
ii  libgcc1                       1:4.4.0-4  GCC support library
ii  libstdc++6                    4.4.0-4    The GNU Standard C++ Library v3

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc                   <none>         (no description available)
ii  aptitude                  0.4.11.11-1+b1 terminal-based package manager
ii  bzip2                     1.0.5-1        high-quality block-sorting file co
ii  dpkg-dev                  1.14.25        Debian package development tools
ii  lzma                      4.43-14        Compression method of 7z format in
pn  python-apt                <none>         (no description available)
ii  synaptic                  0.62.7         Graphical package manager

-- no debconf information



Reply to: