:: Re: [DNG] merged /usr breakage
Pàgina inicial
Delete this message
Reply to this message
Autor: karl
Data:  
A: dng
Assumpte: Re: [DNG] merged /usr breakage
Ralph:
> On Mon,  3 Jan 2022 18:25:12 +0100 (CET)
> karl@??? wrote:
> >  The first one gives me an unbootable system
> > $ ldd /sbin/init | grep /usr
> >         libpcre2-8.so.0 => /usr/lib/x86_64-linux-gnu/libpcre2-8.so.0
> > (0x00007f737ba28000)

> >
> > fortunately /bin/bash didn't depend on /usr so I could boot with
> > init=/bin/bash, but there is more breakage:

...
> No solution, but it looks like "the culprit" for this is that the
> libselinux1 package changed in between beowulf (buster) and chimaera
> (bullseye) from depending on libpcre3 to depending on libcre2-8-0.


libpcre3 was the old, and libcre2 the new lib, with -8 is for working on
8bit walues, also available is -16 and -32 (if you have wide
characters).

> The former, libpcre3, installs its libraries in both /lib and /usr/lib
> (different), in both its beowulf and chimaera versions, whereas
> libcre2-8-0 installs only in /usr/lib.


Yes, so it is:

/lib/x86_64-linux-gnu/libpcre.so.3.13.3
/usr/lib/x86_64-linux-gnu/libpcreposix.so.3.13.3
vs.
/usr/lib/x86_64-linux-gnu/libpcre2-8.so.0.10.1

> I haven't reviewed the source for comment around that dependency
> change.


Apart from the strange numbering (which is upstreams fault),
the dependancy migration seems sane.

Regards,
/Karl Hammar