Hi,

On Thu, Jun 23, 2011 at 03:19:54PM +0200, Raphael Hertzog wrote:
> tag 631299 + unreproducible
> severity 631299 important
> thanks

Fair enough. :)

> On Thu, 23 Jun 2011, Daniel Stone wrote:
> > By hand: for i in /usr/lib/libX11.*; do sudo dpkg-divert --add $i; done
> 
> Hum, this doesn't rename the existing file. So when you install your
> custom lib, you overwrite the packaged files. The diverted file are only
> installed on the next package upgrade.

Yep, that seems fine.  dpkg.log shows me going through at least four
libx11 upgrades this year prior to the multiarch transition, and I
definitely remember seeing the *.distrib files, so.  There were also a
number of other X library diversions (e.g. libXau, libxcb) which
suffered the same fate.

> > Seems to have worked just fine since May 2010, and I've not touched it
> > since then.  It's a shame there's not more information I can give you.
> 
> Hum I remember Steve Langasek saying that diverting libraries in the same
> directory causes troubles because ldconfig/ld.so doesn't care of the
> extension and might be confused by seeing the same SONAME twice.

Yeah, I certainly remember seeing that problem, but it seemed to
generally be resolved in my local library winning.

> I don't see how it could have resulted in loosing files and/or diversions
> but maybe someone else can.
> 
> Maybe we should also add some sort logging to dpkg-divert just like we
> added logging to update-alternatives. This would at least give some
> supplementary information for cases like this one.

Yeah, that would be nice.

Cheers,
Daniel

Attachment: signature.asc
Description: Digital signature

Reply via email to