On Tue, 19 Sep 2023 16:35:37 +0200, Andreas Tille wrote:
> I configured pbuilder (Uploaders in CC) to run autopkgtest after a
> successful build. This worked nicely until yesterday (at least - may be
> a couple of days before but I did not noticed). Since yesterday I get:
>
> E: /bin resolved to a different inode than /usr/bin
> E: Unmerged usr is no longer supported, install usrmerge to continue.
> autopkgtest: WARNING: Test dependencies are unsatisfiable - calling apt install on test deps directly for further data about failing dependencies in test logs
That's from apt:
apt (2.7.4) unstable; urgency=medium
…
* Only accept installs of usrmerge on unmerged-usr systems.
As of bookworm, merged-usr is mandatory, and people got caught
in the crosshairs of the dpkg fsys-unmessusr debacle and inadvertently
reverted back to an unmerged configuration and continue to remain
on an unsupported system unknowingly.
> I tried to fix this with
>
> diff --git a/pbuilderrc b/pbuilderrc
> index d796fd8..9176073 100644
> --- a/pbuilderrc
> +++ b/pbuilderrc
> @@ -11,6 +11,6 @@ OTHERMIRROR="deb [trusted=yes] file:///var/cache/pbuilder/extra/release ./"
> BINDMOUNTS="/dev/shm /var/cache/pbuilder/extra/release"
> HOOKDIR=/var/cache/pbuilder/hooks
> # this is necessary for running ''apt-ftparchive'' in the hook below
> -EXTRAPACKAGES="apt-utils"
> +EXTRAPACKAGES="apt-utils usrmerge"
>
>
> in /etc but with no change. According to the log the package usrmerge
> is really installed in the pbuilder chroot.
Looks like your chroot is not /usr-merged; no idea why installing the usrmerge
package didn't and doesn't change it.
> Do you have any hints? If not, what further information should I
> provide? (logs etc?)
Just for comparison my (unstable) chroot looks /usr-merged:
% ll /var/cache/pbuilder/base.cow
lrwxrwxrwx 2 root root 7 Sep 18 2022 bin -> usr/bin
…
(Looking through my other chroots, it looks like only the unstable
and the experimental ones are merged, in the others, including the
testing ones, /bin is still a directory. Interesting.)
Maybe try to login in:
cowbuilder --login --save-after-login [--basepath /some/where]
and reconfigure usrmerge, or something?
Cheers,
gregor
--
.''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org
: :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06
`. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
`-
Attachment:
signature.asc
Description: Digital Signature