← Back to team overview

desktop-packages team mailing list archive

[Bug 854622] Re: Could not install libglib2.0

 

I downloaded the i386 and amd64 binaries from that version from
https://launchpad.net/ubuntu/+source/glib2.0/2.29.92-0ubuntu1/+build/2793297
and
https://launchpad.net/ubuntu/+source/glib2.0/2.29.92-0ubuntu1/+build/2793299.
They both have an identical changelog.Debian.gz, so I'm not sure where
the changelog.Debian.gz with the 'apt-get changelog libglib2.0-data'
came from in this particular instance. Also, both these two debs and
libglib2.0-data's changelog.Debian.gz are proper files, not symlinks.

In theory, such a situation could arise like this:

 (1) The i386 build builds -0 and -data, both get identical
changelog.Debian.gz, and the one from libglib2.0-0 gets symlinked to
libglib2.0-data.

 (2) After that, libglib2.0-data's changelog gets truncated, and a
pointer added to apt-get changelog.

 (3) The amd64 build doesn't build the arch:all libglib2.0-data, and
thus libglib2.0-0:amd64's changelog.Debian.gz won't be a symlink. During
truncation it would point to "apt-get changelog libglib2.0-0".

However, that can't be the case: pkgbinarymangler does not do symlinks
from arch:any to arch:all for this very reason, rendering (1)
impossible. Also, changelog stripping happens _first_, and symlinking
afterwards, so the symlinking takes care only to symlink identical
files, rendering (2) impossible. Thirdly, the packages built by
launchpad all have changelog.Debian.gz as proper files, rendering (3)
impossible.

In such a situation, could you please give me the output of

  ls -l /usr/share/doc/*glib2.0*/changelog.Debian.gz
  dpkg -S /usr/share/doc/*glib2.0*/changelog.Debian.gz

to see which changelog.Debian.gz gets claimed by which package, and
which are symlinks? Michael, did you happen to get the glib packages
from a different place than the archive, i. e. can you please give me
the output of

  apt-cache policy libglib2.0-0

?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to glib2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/854622

Title:
  Could not install libglib2.0

Status in “glib2.0” package in Ubuntu:
  Confirmed
Status in “update-manager” package in Ubuntu:
  Confirmed
Status in “glib2.0” source package in Oneiric:
  Confirmed
Status in “update-manager” source package in Oneiric:
  Confirmed

Bug description:
  While upgrading another laptop, during the process I got a dialog
  saying:

  http://paste.ubuntu.com/693682/

  After the upgrade finished I saw in the update manager terminal
  window: Exception during pm.DoInstall(): E:Sub-process /usr/bin/dpkg
  returned an error code (1), and it did automatically prompt me to
  create a bug, but I had to reboot to finish the upgrade get a network
  connection.

  After the reboot, it appears to be installed according to apt-cache:
  http://paste.ubuntu.com/693684/

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: update-manager 1:0.152.18
  ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
  Uname: Linux 3.0.0-11-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu1
  Architecture: amd64
  Date: Tue Sep 20 12:35:04 2011
  InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100224.1)
  PackageArchitecture: all
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: update-manager
  UpgradeStatus: Upgraded to oneiric on 2011-09-20 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glib2.0/+bug/854622/+subscriptions


Follow ups