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

Re: upgrading in sid



Daniel Burrows wrote:
On Sun, Dec 30, 2007 at 05:28:48PM -0500, charlie derr <cderr@simons-rock.edu> 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.

i did it in a screen session (which i still have access to). I'll put that info up somewhere (again there's a ton of output) if it's truly important. For the moment I'm going to concentrate on answering accurately all of your below queries. And thanks :-]


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.

yeah, i understood that intuitively, but you rephrased it better than i could

  It would be interesting to know what ldd /usr/lib/libxml2.so.2 says.

ni@delete:/var/cache/apt$ ldd /usr/lib/libxml2.so.2
        linux-gate.so.1 =>  (0xb7fb7000)
        libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb7e7e000)
        libz.so.1 => /usr/local/lib/libz.so.1 (0xb7e6a000)
        libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7e44000)
        libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7cf7000)
        /lib/ld-linux.so.2 (0x80000000)
ni@delete:/var/cache/apt$


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).

I didn't intentionally install anything in addition to anything debian did (I definitely didn't recompile my own version of glibc or anything else on this box, it's all deb binaries loaded from sid repositories).

echo $LD_LIBRARY_PATH

gets me nothing (both as root and as ni)


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,

it hasn't yet (subsequent upgrades/removals won't all succeed (all of the gnome related stuff is foobared)) -- this is why i've


and to see
the output of "apt-cache showpkg desktop-base".


i included shared-mime-info as it's also messed up (along with 3 additional gnome packages) and part of the logjam -- and thanks very much for helping, this is all greek to me at this point, but it's fun to try to follow along:



delete:~# apt-cache showpkg desktop-base shared-mime-info
Package: desktop-base
Versions:
4.0.4(/var/lib/apt/lists/ftp.us.debian.org_debian_dists_unstable_main_binary-i386_Packages)
4.0.3(/var/lib/dpkg/status)

Reverse Depends:
  nautilus,desktop-base 0.2
  gnome-session,desktop-base
  libgnome2-common,desktop-base 0.3.16
  xfce4-session,desktop-base 0.3.20
  xfce4,desktop-base
  nautilus,desktop-base 0.2
  libgnome2-common,desktop-base 0.3.16
  gnome-session,desktop-base
  gnome-desktop-environment,desktop-base
  gdm-themes,desktop-base 0.3.15
Dependencies:
4.0.4 - librsvg2-common (0 (null)) gnome (16 (null)) kde (16 (null)) xfce4 (16 (null)) wmaker (0 (null))
4.0.3 - librsvg2-common (0 (null)) gnome (16 (null)) kde (16 (null)) xfce4 (16 (null)) wmaker (0 (null))
Provides:
4.0.4 -
4.0.3 -
Reverse Provides:
Package: shared-mime-info
Versions:
0.22-2(/var/lib/apt/lists/ftp.us.debian.org_debian_dists_unstable_main_binary-i386_Packages)
0.21-2(/var/lib/dpkg/status)

Reverse Depends:
  nautilus,shared-mime-info
  xdg-utils,shared-mime-info
  libgnomevfs2-common,shared-mime-info
  xlog,shared-mime-info
  xdg-utils,shared-mime-info
  tracker,shared-mime-info
  thunar,shared-mime-info
  rox-filer,shared-mime-info 0.16
  revelation,shared-mime-info
  planner,shared-mime-info
  pcmanfm-nohal,shared-mime-info
  pcmanfm,shared-mime-info
  nautilus,shared-mime-info
  libmono-winforms2.0-cil,shared-mime-info
  libmono-winforms1.0-cil,shared-mime-info
  libgupnp-1.0-0,shared-mime-info
  libgnomevfs2-common,shared-mime-info
  libfile-mimeinfo-perl,shared-mime-info
  gthumb,shared-mime-info
  gpar2,shared-mime-info
  gnochm,shared-mime-info
  eog,shared-mime-info 0.20
  desktop-profiles,shared-mime-info
  chemical-mime-data,shared-mime-info
Dependencies:
0.22-2 - libc6 (2 2.6-1) libglib2.0-0 (2 2.12.9) libxml2 (2 2.6.29)
0.21-2 - libc6 (2 2.5-5) libglib2.0-0 (2 2.12.9) libxml2 (2 2.6.28)
Provides:
0.22-2 -
0.21-2 -
Reverse Provides:



  Daniel

	again, thanks much for the assistance,
		~c


Reply to: