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

Bug#172546: dpkg: issues with diversions and symlinks

On Fri, 29 Aug 2003, Michel Dänzer wrote:
> On Thu, 2003-08-28 at 20:54, Tuukka Hastrup wrote:
> > All would be well, but when ldconfig updates symlinks, it decides that 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.
> > 
> > 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.
> This bug has nothing to do with ldconfig. As you can see above,
> libGL.so.1 (which apps are linked against) simply points to the diverted
> file.

You can try this yourself: as root, change the symbolic link libGL.so.1 to
point to the right file. Then run ldconfig, and you should see that it
changed the symbolic link back. At least that's what I saw on my system.  
Nothing can fight against ldconfig's will :-)

-- Trying to catch me? Just follow up my Electric Fingerprints
-- To help you: Tuukka.Hastrup@iki.fi
                IRCNet: Stugge/tuukkah @#pii,#fenfire,#ynna
                Jabber ID: tuukka@jabber.org, ICQ #11321669

Reply to: