[Bug 503765] Re: aptitude pkgstates gets corrupted
Sergio Callegari
sergio.callegari at gmail.com
Mon Sep 3 16:51:04 UTC 2012
Just checked...
This bug is NOT fixed.
running
aptitude install
on my current system, which is perfectly up to date according to apt-
get, synaptic, apper, muon, the ubuntu update manager, whatever,
provides the usual crazy output:
The following NEW packages will be installed:
anthy-common byobu{b} cl-asdf common-lisp-controller{b} cpu-checker docbook-xsl-doc-html fancontrol gcj-4.6-jre-lib hal-info icc-profiles-free
kdebase-workspace kdegraphics-libs-data kpackagekit{b} lib32bz2-1.0 lib32ffi6 lib32ncurses5 lib32ncursesw5 lib32nss-mdns lib32tinfo5
libaccess-bridge-java libbcmail-java libgnome2-common libgnuinet-java libgnujaf-java libgnumail-java libitext-java libreoffice-common{b}
libreoffice-emailmerge{b} libreoffice-style-human{b} libreoffice-style-oxygen{b} python-foolscap python-serial python-twisted-core{b}
python-twisted-names python-twisted-web qdbus{b} sni-qt system-config-samba texmacs-extra-fonts ttf-dejavu ttf-sazanami-mincho ubufox xfonts-100dpi
The following packages are RECOMMENDED but will NOT be installed:
libaccess-bridge-java-jni libexttextcat-data python-openssl python-pam tmux
0 packages upgraded, 43 newly installed, 0 to remove and 0 not upgraded.
Need to get 65,1 MB of archives. After unpacking 140 MB will be used.
The following packages have unmet dependencies:
byobu : Depends: python-newt (>= 0.52.2-11) but it is not going to be installed.
kpackagekit : Depends: apper but it is not going to be installed.
qdbus : Conflicts: qdbus:i386 but 4:4.8.1-0ubuntu4.2 is installed.
qdbus:i386 : Conflicts: qdbus but 4:4.8.1-0ubuntu4.2 is to be installed.
texmacs-common : Conflicts: texmacs-extra-fonts (<= 0.2) but 0.2 is to be installed.
libreoffice-common : Depends: ure but it is not going to be installed
....
and so on for hundreds of lines, with crazy suggestions about how to fix
the system...
Have this been tried on other systems before invalidating the bug?
** Changed in: aptitude (Ubuntu)
Status: Invalid => New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptitude in Ubuntu.
https://bugs.launchpad.net/bugs/503765
Title:
aptitude pkgstates gets corrupted
Status in “aptitude” package in Ubuntu:
New
Bug description:
Binary package hint: aptitude
On four different machines (one 32 bit, two 64bit), I am recently
experiencing corruptions in the package status database private to
aptitude, namely /var/lib/aptitude/pkgstates.
This results in a crazy behavior of aptitude, that starts thinking
that many packages are broken when in fact they are not. For
instance.
aptitude install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following packages are BROKEN:
apturl gnome-app-install libgpod4 libgpod4-nogtk mysql-server-core-5.1 rsyslog wine1.2
The following NEW packages will be installed:
acl binutils-static emacs22 emacs22-bin-common emacs22-common firefox-3.0-branding gcj-4.3
gfortran-4.3 gij gnome-mount imagemagick-doc klogd libavutil-unstripped-49
libboost-regex1.34.1 libboost-serialization1.34.1 libfame-0.9 libgcj9-0-awt libgcj9-dev
libggi-target-x libggi2 libgii1 libgii1-target-x libgmyth0 liblrdf0 libpolkit-gnome0
libpvm3 libsmbios2 libsoprano-dev libwxbase2.6-0 libwxgtk2.6-0 mysql-server-core-5.0
nvidia-180-kernel-source nvidia-180-libvdpau policykit-gnome pvm python-gconf
python-gst0.10 python-launchpad-integration python-pyorbit python-sexy sysklogd
ttf-bengali-fonts ttf-kannada-fonts ttf-oriya-fonts ttf-telugu-fonts update-motd wine
wine-gecko
This is very very dangerous, because, following up with its crazy
diagnosis, aptitude starts suggesting actions that can completely
break a system.
And the crazyness of aptitude can be very easily seen by considering
that for apt-get, synaptic and all the other front-ends to dpkg
everything is just fine.
Interestingly, aptitude starts reporting as broken either packages
that are installed and packages that are not installed. If one tries
an
aptitude remove <package that is not installed but is reported as
broken>
then aptitude does nothing, but the behavior of aptitude after this
sanifies a bit.
removing /var/lib/aptitude/pkgstates completely fixes the issue.
In the "wrong" pkgstates, it looks like many entries are just weird.
For instance, installed packages are indicated as unseen, and after
pkgstates is removed and re-generated, for many packages the state is
then different.
I tend to think that bug reports 477468 and 39497 are in fact caused by this very problem, so I suggest marking those as duplicate of this one.
ProblemType: Bug
Architecture: amd64
Date: Wed Jan 6 12:47:37 2010
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: aptitude 0.4.11.11-1ubuntu6
ProcVersionSignature: Ubuntu 2.6.31-16.53-generic
SourcePackage: aptitude
Uname: Linux 2.6.31-16-generic x86_64
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/503765/+subscriptions
More information about the foundations-bugs
mailing list