← Back to team overview

desktop-packages team mailing list archive

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

 

Steve Langasek [2011-09-30  5:37 -0000]:
> So glib2.0 needs to clean up its historic mis-migration.

Hmm, the preinst files do

if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt-nl 2.27.5-2; then
    rm -f /usr/share/doc/libglib2.0-dev
fi

I. e. correctly use lt-nl (thus don't fire on fresh installs), and
also shouldn't affect natty upgrades, and don't create any symlinks.
Given that this was reproduced using a natty install and oneiric
upgrade, I don't see how this would introduce this bug. But maybe I'm
missing something here?

debian/* doesn't use "ln" anywhere, and there is just one *.links for
gtk-doc.

The natty package is identical in all those regards.

Right now I'm really stumped how this symlink ever actually got
created. It's like black magic :(

Thanks for any hint,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

-- 
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:
  Triaged
Status in “update-manager” package in Ubuntu:
  Invalid
Status in “glib2.0” source package in Oneiric:
  Triaged
Status in “update-manager” source package in Oneiric:
  Invalid

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


References