Re: upgrading in sid



On Sun, Dec 30, 2007 at 05:28:48PM -0500, charlie derr <cderr@xxxxxxxxxxxxxxx> was heard to say:
It's been a while, but I just attempted a massive upgrade (executing "aptitude upgrade") and ended up with:

Errors were encountered while processing:

The interesting thing is why these packages failed, which would be in
the output preceding the list of failed packages.

Unpacking replacement desktop-base ...
gconftool-2: symbol lookup error: /usr/lib/libxml2.so.2: undefined symbol: gzopen64
dpkg: warning - old post-removal script returned error exit status 127
dpkg - trying script from the new package instead ...
gconftool-2: symbol lookup error: /usr/lib/libxml2.so.2: undefined symbol: gzopen64
dpkg: error processing /var/cache/apt/archives/desktop-base_4.0.4_all.deb (--unpack):

It's pretty clear from that that your problem is that your version of
libxml2 is failing to load because it doesn't contain gzopen64.

It would be interesting to know what ldd /usr/lib/libxml2.so.2 says.
Some hits on Google suggest that people get this problem when they have
another version of libz hanging out in $LD_LIBRARY_PATH (e.g., in
/usr/local/lib or /lib).

The above is in response to apt-get -f install (what used to work in the past for fixing issues, maybe that's my mistake?)

That ought to work fine.

If I try to upgrade one of those packages individually with aptitude install shared-mime-info then the below happens:

The following packages will be upgraded:
gnome-session libgnome2-common libgnomevfs2-common shared-mime-info
4 packages upgraded, 0 newly installed, 0 to remove and 795 not upgraded.
Need to get 0B/2706kB of archives. After unpacking 1461kB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Error!
E: I wasn't able to locate file for the desktop-base package. This might mean you need to manually fix this package.
E: Couldn't lock list directory..are you root?

Erk. That means something is hosed in your apt cache. I would guess
this isn't related to your earlier problems, but it would be interesting
to know whether running "aptitude update" fixes this problem, and to see
the output of "apt-cache showpkg desktop-base".

Daniel


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: FIXED: cant upgrade, reinstall or remove hal
    ... I have reloaded all the packages in limbo without any change. ... dpkg - trying script from the new package instead ... ... I saw the bug but still didn't know how to fix it. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: Not Authenticated ???
    ... warning for many packages. ... causes a warning that the package archive is not signed and therefore do you want to continue. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... I have apt 0.6.43 and was led by the man page to ...
    (Debian-User)
  • dpkg: syntax error: unknown group `Debian-exim in statusoverride file
    ... screw up the dpkg system. ... Calculating Upgrade... ... Preconfiguring packages ... ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Merging all 30+ Debian CDs onto hard drive
    ... to my hard drive and direct APT or DPKG to use the hard drive instead ... of all the CD's when installing new packages? ... You can use dpkg directly on the archives, of course, but you can also ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Reinstalling Packages after Rebuilding System with Etch
    ... First you dont have to reinstall, you can change the soureces.list file, replacing the sarge with etch, and then do an apt-get update, apt-get dist-upgrade, that's will take some time and bandwith, but few things get brocken. ... Some stuff needed work to get back on line but I fix it and it was faster than clean install/config everithing. ... The plan is to do dpkg -l on the existing system to list ... comparable packages to replace what was there before. ...
    (Debian-User)