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

Bug#172546: marked as done (dpkg: issues with diversions and symlinks)



Your message dated Fri, 29 Aug 2003 21:08:00 +0200
with message-id <1062184080.17870.40.camel@thor.holligenstrasse29.lan>
and subject line dpkg: issues with diversions and symlinks
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 10 Dec 2002 18:44:58 +0000
>From michel@daenzer.net Tue Dec 10 12:44:58 2002
Return-path: <michel@daenzer.net>
Received: from dclient80-218-112-135.hispeed.ch (thor) [80.218.112.135] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18LpNJ-0000Q6-00; Tue, 10 Dec 2002 12:44:57 -0600
Received: from daenzer by thor with local (Exim 3.36 #1 (Debian))
	id 18LpNC-0003sn-00; Tue, 10 Dec 2002 19:44:54 +0100
From: "Michel Dänzer" <daenzer@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dpkg: issues with diversions and symlinks
X-Mailer: reportbug 1.50
Date: Tue, 10 Dec 2002 19:44:50 +0100
Message-Id: <E18LpNC-0003sn-00@thor>
Sender: Michel Daenzer <michel@daenzer.net>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=0.1 required=5.0
	tests=PGP_SIGNATURE,SPAM_PHRASE_00_01
	version=2.41
X-Spam-Level: 

Package: dpkg
Version: 1.10.9
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


In my DRI CVS snapshot packages, I'd like to divert libGL from xlibmesa3. I
expected that to be a simple matter of diverting
/usr/X11R6/lib/libGL.so.1.2, but the result was this:

lrwxr-xr-x    1 root     root           24 2002-12-07 10:54 /usr/X11R6/lib/libGL.so.1 -> libGL.so.1.2.nodri-trunk
- -rw-r--r--    1 root     root       805452 2002-12-05 20:55 /usr/X11R6/lib/libGL.so.1.2
- -rw-r--r--    1 root     root       491608 2002-11-23 09:05 /usr/X11R6/lib/libGL.so.1.2.nodri-trunk

dpkg seems to adjust symlinks to diverted files, which kinda makes sense
(except it doesn't adjust /usr/lib/libGL.so.1.2 ->
../X11R6/lib/libGL.so.1.2). So I tried to divert the symlink as well:

lrwxr-xr-x    1 root     root           24 2002-12-07 10:54 /usr/X11R6/lib/libGL.so.1 -> libGL.so.1.2.nodri-trunk
- -rw-r--r--    1 root     root       805452 2002-12-05 20:55 /usr/X11R6/lib/libGL.so.1.2
- -rw-r--r--    1 root     root       491608 2002-11-23 09:05 /usr/X11R6/lib/libGL.so.1.2.nodri-trunk
lrwxr-xr-x    1 root     root           12 2002-11-30 17:17 /usr/X11R6/lib/libGL.so.1.nodri-trunk -> libGL.so.1.2

No luck, it diverts the unchanged symlink but still adjusts the replacement.


Any ideas how to fix or at least work around this appreciated.


- -- System Information
Debian Release: testing/unstable
Architecture: powerpc
Kernel: Linux thor 2.4.20-pre9-ben0-xfs-lolat-freeswan #2 Fre Okt 4 20:09:40 CEST 2002 ppc
Locale: LANG=de_CH, LC_CTYPE=de_CH

Versions of packages dpkg depends on:
ii  dselect                       1.10.9     a user tool to manage Debian packa
ii  libc6                         2.3.1-3    GNU C Library: Shared libraries an

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE99jYmWoGvjmrbsgARAul2AJ0dSiKzPka5buu5WBUClrFRk7WJgwCdEI1W
IoHX6tORQKeRlThXLI4TcL4=
=1q60
-----END PGP SIGNATURE-----

---------------------------------------
Received: (at 172546-done) by bugs.debian.org; 29 Aug 2003 19:08:15 +0000
>From michel@daenzer.net Fri Aug 29 14:08:07 2003
Return-path: <michel@daenzer.net>
Received: from dclient80-218-115-183.hispeed.ch (thor.holligenstrasse29.lan) [80.218.115.183] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19sobP-0004VW-00; Fri, 29 Aug 2003 14:08:07 -0500
Received: from daenzer by thor.holligenstrasse29.lan with local (Exim 3.36 #1 (Debian))
	id 19sobJ-0005sz-00; Fri, 29 Aug 2003 21:08:01 +0200
Subject: Re: dpkg: issues with diversions and symlinks
From: Michel =?ISO-8859-1?Q?D=E4nzer?= <daenzer@debian.org>
To: Tuukka Hastrup <Tuukka.Hastrup@iki.fi>
Cc: 172546-done@bugs.debian.org
In-Reply-To: <[🔎] Pine.LNX.4.44.0308291131240.13215-100000@itu.st.jyu.fi>
References: <[🔎] Pine.LNX.4.44.0308291131240.13215-100000@itu.st.jyu.fi>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Organization: Debian
Message-Id: <1062184080.17870.40.camel@thor.holligenstrasse29.lan>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.4 
Date: Fri, 29 Aug 2003 21:08:00 +0200
Sender: Michel Daenzer <michel@daenzer.net>
Delivered-To: 172546-done@bugs.debian.org
X-Spam-Status: No, hits=-14.5 required=4.0
	tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,
	      REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_XIMIAN
	autolearn=ham version=2.53-bugs.debian.org_2003_8_27
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_8_27 (1.174.2.15-2003-03-30-exp)

On Fri, 2003-08-29 at 10:39, Tuukka Hastrup wrote:
> On Fri, 29 Aug 2003, Michel D=C3=A4nzer wrote:
> > On Thu, 2003-08-28 at 20:54, Tuukka Hastrup wrote:
> > > All would be well, but when ldconfig updates symlinks, it decides tha=
t the
> > > diverted libGL.so.1.2.distrib is a better libGL.so.1 than the wanted
> > > libGL.so.1.2. This means all programs still use the library from
> > > xlibmesa3-gl.
> > >=20
> > > dpkg-divert could fix this by diverting libraries to some other name =
than
> > > original + ".divert" by default. To fix ldconfig instead, I think the
> > > so-library naming scheme would have to be changed so that no .divert =
file
> > > could be considered a library version.
> >=20
> > This bug has nothing to do with ldconfig.

Actually, it looks like it has everything to do with ldconfig... thanks
for pointing this out. I guess it interprets the diversion suffix as the
patchlevel (the problem doesn't occur with a library with a
three-component version).

Using a different name for the diversion should work, closing the bug.


--=20
Earthling Michel D=C3=A4nzer   \  Debian (powerpc), XFree86 and DRI develop=
er
Software libre enthusiast  \     http://svcs.affero.net/rm.php?r=3Ddaenzer



Reply to: