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

2011-09-29 Thread Michael Nelson
On Tue, Sep 27, 2011 at 12:51 PM, Michael Nelson
 wrote:
>
> Not that I'm aware of (see below), but it is possible that I've sudo'd
> a symlink at some point - I don't remember doing so, and don't see why
> I would have (we do most our dev work in a virtualenv), but I guess
> I'm trying to say don't spend too much time on this if it's likely to
> be something stupid I've done on my box (which is entirely possible.

Hi Martin, if no one else is seeing this, and you can't reproduce it,
it is entirely possible that I'd added a symlink at some point to test
something and failed to remove it. If that looks likely from the
current state, then I'm happy to remove whichever symlink is incorrect
and update my system again :) Sorry for possibly having wasted your
time :/

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


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

2011-09-29 Thread Martin Pitt
Steve Langasek [2011-09-30  5:37 -]:
> 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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


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

2011-09-29 Thread Michael Nelson
On Fri, Sep 30, 2011 at 3:39 AM, Steve Langasek
 wrote:
> Please show 'ls -ld /usr/share/doc/libglib2.0*'.  I'm pretty sure one of
> the directories is wrongly symlinked to the other, which means that
> unpacking libglib2.0-data after libglib2.0-0 *overwrites* the
> libglib2.0-0 changelog /on the filesystem/.

$ ls -ld /usr/share/doc/libglib2.0*
drwxr-xr-x 2 root root 4096 2011-09-21 15:18 /usr/share/doc/libglib2.0-0
drwxr-xr-x 2 root root 4096 2011-09-20 10:02 /usr/share/doc/libglib2.0-bin
drwxr-xr-x 2 root root 4096 2011-09-20 10:18 /usr/share/doc/libglib2.0-cil
lrwxrwxrwx 1 root root   12 2010-02-28 08:38
/usr/share/doc/libglib2.0-data -> 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:
  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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


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

2011-09-29 Thread Martin Pitt
Steve Langasek [2011-09-30  1:39 -]:
> This is a classic botched symlink->directory migration in a package.

For sure, but neither the natty nor the recent oneiric versions
actually shipped any symlinks, and I'm fairly sure we didn't introduce
them at any time during oneiric.

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

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


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

2011-09-27 Thread Michael Nelson
On Tue, Sep 27, 2011 at 11:23 AM, Martin Pitt  wrote:
> 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

$ ls -l /usr/share/doc/*glib2.0*/changelog.Debian.gz
-rw-r--r-- 1 root root 1672 2011-09-19 08:31
/usr/share/doc/libglib2.0-0/changelog.Debian.gz
lrwxrwxrwx 1 root root   35 2011-09-20 10:02
/usr/share/doc/libglib2.0-bin/changelog.Debian.gz ->
../libglib2.0-0/changelog.Debian.gz
-rw-r--r-- 1 root root 2026 2011-07-12 10:55
/usr/share/doc/libglib2.0-cil/changelog.Debian.gz
-rw-r--r-- 1 root root 1672 2011-09-19 08:31
/usr/share/doc/libglib2.0-data/changelog.Debian.gz
-rw-r--r-- 1 root root 1473 2011-07-12 00:51
/usr/share/doc/libtaglib2.0-cil/changelog.Debian.gz

$ dpkg -S /usr/share/doc/*glib2.0*/changelog.Debian.gz
libglib2.0-0: /usr/share/doc/libglib2.0-0/changelog.Debian.gz
libglib2.0-bin: /usr/share/doc/libglib2.0-bin/changelog.Debian.gz
libglib2.0-cil: /usr/share/doc/libglib2.0-cil/changelog.Debian.gz
libglib2.0-data: /usr/share/doc/libglib2.0-data/changelog.Debian.gz
libtaglib2.0-cil: /usr/share/doc/libtaglib2.0-cil/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,

Not that I'm aware of (see below), but it is possible that I've sudo'd
a symlink at some point - I don't remember doing so, and don't see why
I would have (we do most our dev work in a virtualenv), but I guess
I'm trying to say don't spend too much time on this if it's likely to
be something stupid I've done on my box (which is entirely possible.

> i. e. can you please give me
> the output of
>
>  apt-cache policy libglib2.0-0

$  apt-cache policy libglib2.0-0
libglib2.0-0:
  Installed: 2.29.92-0ubuntu1
  Candidate: 2.29.92-0ubuntu1
  Version table:
 *** 2.29.92-0ubuntu1 0
500 http://de.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
100 /var/lib/dpkg/status

Thanks.

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp