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

Bug#470115: apt-get dist-upgrade tries to remove 60+ packages (including apt)



Package: apt
Version: 0.7.11
Followup-For: Bug #470115


Is the problem I'm describing below the same as #470115??

I tried to update a system I hadn't used for several months.  (I'm only a
beginner regarding most aspects of apt, so I'm going to explain what I
did in detail, not knowing what is important.)  I did the apt-get update, then
tried apt-get -u upgrade.  When it got to tzdata, it aborted with a
message: "E: Internal Error, Could not perform immediate configuration
(2) on tzdata.  I looked at the bugreports for that package and in msg
10 of #466027, they suggested a workaround.  I noticed that the problem
seemed to be fixed in the unstable version of libstdc++6, so I did:
	apt-get -u -t unstable install libstdc++6
This updated about 7 packages.

I decided, while I was thinking about unstable, to update my kernel, so
I tried:
	apt-get -u -t unstable install linux-image-2.6-686
That aborted because by root partition was full, so I removed three old
kernels, and tried again.  I then rebooted.  I tried to then do:
	apt-get -u dist-install
When I saw how many packages needed upgrading, I canceled, and did:
	apt-get -u upgrade
When that completed, I tried it again to get a report of how many were
kept back, then I tried the dist-upgrade again.  Here is the
response:

===========================
pch5:~ (pts/0)# apt-get -u upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  apt apt-listbugs apt-move apt-utils aptitude cpp-4.2 cpp-doc cupsys cupsys-bsd cupsys-client debhelper dpkg-dev g++-4.2 gcc-4.2
  gcc-4.2-base gcc-doc gnupg graphviz grub-disk grub-doc hal hal-info imagemagick imlib11 libapt-pkg-perl libcupsimage2 libcupsys2
  libcurl3 libgcc1 libgconf2-4 libgnomecups1.0-1 libgnomeprint2.2-0 libgnomeprint2.2-data libgomp1 libgtk2.0-0 libgtk2.0-bin
  libgtk2.0-common libjack0 libjack0.100.0-0 libmime-perl libsane libsdl1.2debian libsdl1.2debian-oss libsmbclient libstdc++6-4.2-dev
  libsvga1 libthunar-vfs-1-2 libungif4g libxine1 libzlib-ruby python-apt samba samba-common smbclient smbfs thunar thunar-data xfce4
  xfce4-mcs-plugins xfce4-panel xfce4-utils xfdesktop4 xfdesktop4-data
0 upgraded, 0 newly installed, 0 to remove and 63 not upgraded.
========================
pch5:~ (pts/0)# apt-get -u upgrade > apt-get-u-upgrade-kept-back-20080315.lst
========================
pch5:~ (pts/0)# apt-get -u dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED
  alien apt apt-file apt-listbugs apt-listchanges apt-move apt-show-source apt-show-versions apt-src apt-utils aptitude arts
  build-essential cupsys cupsys-driver-gutenprint debhelper deborphan doxygen dselect dvd+rw-tools feta g++ g++-3.3 g++-3.4 g++-4.1
  g++-4.2 gcc gcc-3.3 gcc-3.4 gcc-4.1 gcc-4.2 gettext gettext-base groff-base gs-common gs-esp gv hal html2text intltool-debian
  kernel-package libapt-pkg-perl libarts1-audiofile libarts1c2a libbeecrypt6 libdb4.0++c102 libfreebob0 libgc1c2 libglu1-mesa libgomp1
  libid3-3.8.3 libjack0 libjack0.100.0-0 libjack0.80.0-0 libmimelib1 libmodplug0c2 libmusicbrainz2 libqt3-mt librpm4 libsigc++-1.2-5c102
  libsigc++-2.0-0c2a libsmbios1 libstdc++3 libstdc++5 libstdc++5-3.3-dev libstdc++6 libstdc++6-4.1-dev libstdc++6-4.2-dev libstdc++6-dev
  libtag1 libxine1 man-db menu ncc po-debconf pppoeconf python-apt reportbug rpm tasksel tasksel-data telnet trm twm w3m xlibmesa-glu
  xpdf-utils xserver-xorg xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev xserver-xorg-input-kbd
  xserver-xorg-input-mouse xserver-xorg-input-synaptics xserver-xorg-video-tdfx
The following NEW packages will be installed
  exo-utils gcc-4.2-doc grub-legacy-doc grub-rescue-pc libaa1 libavcodec1d libavutil1d libdirectfb-1.0-0 libfile-temp-perl libgd2-noxpm
  libgif4 libgnutls26 libgraphviz4 libldap-2.4-2 liblocale-ruby1.8 libmime-tools-perl libpostproc1d libruby libsane-extras libts-0.0-0
  libwavpack1 libx86-1 libxine1-bin libxine1-ffmpeg libxxf86misc1 multiboot-doc pm-utils powermgmt-base x11-xserver-utils xdg-utils
  xinit
The following packages have been kept back:
  cpp-4.2 cpp-doc dpkg-dev gcc-4.2-base imagemagick libgcc1
The following packages will be upgraded:
  cupsys-bsd cupsys-client gcc-doc gnupg graphviz grub-disk grub-doc hal-info imlib11 libcupsimage2 libcupsys2 libcurl3 libgconf2-4
  libgnomecups1.0-1 libgnomeprint2.2-0 libgnomeprint2.2-data libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libmime-perl libsane
  libsdl1.2debian libsdl1.2debian-oss libsmbclient libsvga1 libthunar-vfs-1-2 libungif4g libzlib-ruby samba samba-common smbclient smbfs
  thunar thunar-data xfce4 xfce4-mcs-plugins xfce4-panel xfce4-utils xfdesktop4 xfdesktop4-data
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
  apt libstdc++6 (due to apt)
40 upgraded, 31 newly installed, 95 to remove and 6 not upgraded.
Need to get 14.7MB/49.1MB of archives.
After unpacking 158MB disk space will be freed.
You are about to do something potentially harmful
To continue type in the phrase ‘Yes, do as I say!’
 ?]
==============================

To see if a newer version of apt would help, I then did:
	apt-get -u install apt
This updated apt from 0.7.6 to 0.7.11, but the problem was the same when
I tried the apt-get -u dist-upgrade again.

Thanks
Paul Higgins


-- 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/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";

-- /etc/apt/preferences --


Package: *
Pin: release a=testing
Pin-Priority: 800

Package: *
Pin: release a=unstable
Pin-Priority: 700

Package: *
Pin: release a=experimental
Pin-Priority: 400

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



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

# 
# deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-1 (20060314)]/ etch main


deb http://ftp.us.debian.org/debian/ testing main non-free contrib
deb-src http://ftp.us.debian.org/debian/ testing main non-free contrib

deb http://ftp.us.debian.org/debian/ unstable main non-free contrib
deb-src http://ftp.us.debian.org/debian/ unstable main non-free contrib

deb http://ftp.us.debian.org/debian/ experimental main non-free contrib
deb-src http://ftp.us.debian.org/debian/ experimental main non-free contrib

deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib non-free

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (800, 'testing'), (700, 'unstable'), (400, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
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        2007.07.31 GnuPG archive keys of the Debian a
ii  libc6                         2.7-9      GNU C Library: Shared libraries
ii  libgcc1                       1:4.2.2-3  GCC support library
ii  libstdc++6                    4.3.0-1    The GNU Standard C++ Library v3

apt recommends no packages.

-- no debconf information




Reply to: