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

Bug#1020463: usrmerge: breaks Hurd systems



Package: usrmerge
Version: 31
Severity: important

Hello,


On usr merge attempt on a hurd-i386 system, things go really bad:


Can't exec "cp": No such file or directory at /usr/lib/usrmerge/convert-usrmerge line 418.

FATAL ERROR:
Failed to execute cp --no-dereference --preserve=all --reflink=auto --sparse=always /lib/ld.so.1 /usr/lib/ld.so.1: No such file or directory

You can try correcting the errors reported and running again
/usr/lib/usrmerge/convert-usrmerge until it will complete without errors.
Do not install or update other Debian packages until the program
has been run successfully.

E: usrmerge failed.


Apparently it is trying to move ld.so but fails to do it properly. I
didn't find which code takes care of doing it properly?


For reference, this is how links are before usrmerge:

lrwxr-xr-x 1 root root  7     14 sept. 16:59 /lib/ld.so -> ld.so.1
lrwxr-xr-x 1 root root 16     14 sept. 16:59 /lib/ld.so.1 -> i386-gnu/ld.so.1
-rwxr-xr-x 1 root root 224680 14 sept. 16:59 /lib/i386-gnu/ld.so.1

and this is the broken situation we end up with:

lrwxr-xr-x 1 root root 14     21 sept. 23:41 /lib/ld.so -> /usr/lib/ld.so
lrwxr-xr-x 1 root root 16     10 sept. 22:05 /lib/ld.so.1 -> i386-gnu/ld.so.1
lrwxr-xr-x 1 root root 25     21 sept. 23:41 /lib/i386-gnu/ld.so.1 -> /usr/lib/i386-gnu/ld.so.1
lrwxr-xr-x 1 root root 7      10 sept. 22:05 /usr/lib/ld.so -> ld.so.1
-rwxr-xr-x 1 root root 224680 10 sept. 22:05 /usr/lib/i386-gnu/ld.so.1

Binaries are looking for /lib/ld.so, which indeed broken here.

Samuel

-- System Information:
Debian Release: bookworm/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (1, 'buildd-experimental'), (1, 'experimental')
merged-usr: no
Architecture: hurd-i386 (i686-AT386)

Kernel: GNU-Mach 1.8+git20220827-486-dbg/Hurd-0.9
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages usrmerge depends on:
ii  libfile-find-rule-perl  0.34-2
ii  perl                    5.34.0-3

usrmerge recommends no packages.

usrmerge suggests no packages.

-- no debconf information


Reply to: