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
`-
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmUJtgVfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ qgbXiw/+KA0umFfAX6orT3bTOoHukByzhSKTX+G6Z6wFYlqjCeFJhpoWWXHsjApD oh3BDrmOf7Bb9pSWAwIY5BzXOD5vQy88XSP+9ZlkDT7CXJXL/DR6oA8vYDZdhFTx KPm1MGAqwTashbtOYFUOZ3uPFP7XtJnFuVxh5bVXCJK/ZYV/inLdnx/nFGLIve5p O+5+pYlo9S1iLriYB6BZaiTmXIS5CM+59sZiZq212IUslt9Xg3NaYEe8+9m//2H3 qIklvDKV9GLmWz77afDWVWX7rYgbEgYGNHE4S2LKY6ex6Cc4ZkxuXJGpT10ZnWg3 FBjJOVzjQMAlb6lI+ZOVaLWYvQx3ZJ/Xp9Dq/RUFoS4ufzvxABsMnS+FCO1hitCz 5HqybJsMlUkEnNmQPaziSedwwGwJg5txRSFbbYKxSBWMzx9LUTBnX5uA0hGmwLCp dVs0mSaoVvvmbCeV5kv6G8f01OWcaJ3EAcNksnz1Ny3r31vA++sQqWZ0ikE+n3M6
mjYQuCc0