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

2011-09-30 Thread Michael Nelson
On Fri, Sep 30, 2011 at 3:39 AM, Steve Langasek
steve.langa...@canonical.com 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 Ubuntu
Desktop Bugs, which is subscribed to glib2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/854622

Title:
  Could not install libglib2.0

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

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

2011-09-30 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 Ubuntu
Desktop Bugs, which is subscribed to glib2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/854622

Title:
  Could not install libglib2.0

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


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

2011-09-30 Thread Michael Nelson
On Tue, Sep 27, 2011 at 12:51 PM, Michael Nelson
michael.nel...@canonical.com 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 Ubuntu
Desktop Bugs, which is subscribed to glib2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/854622

Title:
  Could not install libglib2.0

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


Re: [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 Ubuntu
Desktop Bugs, which is subscribed to glib2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/854622

Title:
  Could not install libglib2.0

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


Re: [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 martin.p...@ubuntu.com 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 Ubuntu
Desktop Bugs, which is subscribed to glib2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/854622

Title:
  Could not install libglib2.0

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs