Package: usr-is-merged
Version: 30

When trying to debootstrap testing or unstable for arm64 I get the
following false-negative from the usr-is-merged package (which gets
injected by debootstrap):

Selecting previously unselected package usr-is-merged.
Preparing to unpack .../usr-is-merged_29_all.deb ...

******************************************************************************
*
* The usr-is-merged package cannot be installed because this system does
* not have a merged /usr.
*
* Please install the usrmerge package to convert this system to merged-/usr.
*
* For more information please read https://wiki.debian.org/UsrMerge.
*
******************************************************************************

dpkg: error processing archive /var/cache/apt/archives/usr-is-merged_29_all.deb 
(--unpack):
 new usr-is-merged package pre-installation script subprocess returned error 
exit status 1

The same works fine on amd64.

I did a bit of debugging of the preinst script and it appears what trips
it up is the /lib64 symlink, which on arm64 points to:

  /usr/lib/aarch64-linux-gnu

While on amd64 to:

  /usr/lib64

Note that I am not entirely certain the bug is in usr-is-merged and not
in whomever creates the /lib64 symlink (I suspect debootstrap).

Reply via email to