• Cannot create chroots with cowbuilder because of usr-is-merged

    From Markus Blatt@21:1/5 to All on Mon Oct 30 17:50:01 2023
    Hi,

    I cannot create or update chroots (for sid or unstable) with cowbuilder anymore, neither on Debian 12 nor 11.

    $ sudo cowbuilder create
    I: Invoking pbuilder
    I: forking: pbuilder create --buildplace /var/cache/pbuilder/base.cow --mirror http://ftp.de.debian.org/debian/ --distribution sid --no-targz --extrapackages cowdancer
    W: /root/.pbuilderrc does not exist
    I: Running in no-targz mode
    I: Distribution is sid.
    I: Current time: Mon Oct 30 17:13:56 CET 2023
    I: pbuilder-time-stamp: 1698682436
    I: Building the build environment
    I: running debootstrap
    /usr/sbin/debootstrap
    I: Target architecture can be executed
    I: Retrieving InRelease
    I: Checking Release signature
    I: Valid Release signature (key id 4CB50190207B4758A3F73A796ED0E7B82643E131)
    I: Retrieving Packages
    ...

    I: Unpacking usr-is-merged...
    I: Unpacking zlib1g:amd64...
    W: Failure while unpacking required packages. This will be attempted up to five times.
    W: See /var/cache/pbuilder/base.cow/debootstrap/debootstrap.log for details (possibly the package /var/cache/apt/archives/usr-is-merged_38_all.deb is at fault)
    (this is tried another 4 times)
    ...
    I: Unpacking zlib1g:amd64...
    W: Failure while unpacking required packages. This will be attempted up to five times.
    W: See /var/cache/pbuilder/base.cow/debootstrap/debootstrap.log for details (possibly the package /var/cache/apt/archives/usr-is-merged_38_all.deb is at fault)
    E: debootstrap failed
    E: Tail of debootstrap.log:
    util-linux pre-depends on libmount1 (>= 2.39.1)
    libmount1:amd64 is unpacked, but has never been configured.

    dpkg: warning: ignoring pre-dependency problem!
    dpkg: regarding .../util-linux_2.39.2-4_amd64.deb containing util-linux, pre-dependency problem:
    util-linux pre-depends on libpam0g (>= 0.99.7.1)
    libpam0g:amd64 is unpacked, but has never been configured.

    dpkg: warning: ignoring pre-dependency problem!
    dpkg: regarding .../util-linux_2.39.2-4_amd64.deb containing util-linux, pre-dependency problem:
    util-linux pre-depends on libselinux1 (>= 3.1~)
    libselinux1:amd64 is unpacked, but has never been configured.

    dpkg: warning: ignoring pre-dependency problem!
    dpkg: regarding .../util-linux_2.39.2-4_amd64.deb containing util-linux, pre-dependency problem:
    util-linux pre-depends on libsmartcols1 (>= 2.38)
    libsmartcols1:amd64 is unpacked, but has never been configured.

    dpkg: warning: ignoring pre-dependency problem!
    dpkg: regarding .../util-linux_2.39.2-4_amd64.deb containing util-linux, pre-dependency problem:
    util-linux pre-depends on libsystemd0
    libsystemd0:amd64 is unpacked, but has never been configured.

    dpkg: warning: ignoring pre-dependency problem!
    dpkg: regarding .../util-linux_2.39.2-4_amd64.deb containing util-linux, pre-dependency problem:
    util-linux pre-depends on libtinfo6 (>= 6)
    libtinfo6:amd64 is unpacked, but has never been configured.

    dpkg: warning: ignoring pre-dependency problem!
    dpkg: regarding .../util-linux_2.39.2-4_amd64.deb containing util-linux, pre-dependency problem:
    util-linux pre-depends on libudev1 (>= 183)
    libudev1:amd64 is unpacked, but has never been configured.

    dpkg: warning: ignoring pre-dependency problem!
    dpkg: regarding .../util-linux_2.39.2-4_amd64.deb containing util-linux, pre-dependency problem:
    util-linux pre-depends on libuuid1 (>= 2.16)
    libuuid1:amd64 is unpacked, but has never been configured.

    dpkg: warning: ignoring pre-dependency problem!
    dpkg: regarding .../util-linux_2.39.2-4_amd64.deb containing util-linux, pre-dependency problem:
    util-linux pre-depends on zlib1g (>= 1:1.1.4)
    zlib1g:amd64 is unpacked, but has never been configured.

    dpkg: warning: ignoring pre-dependency problem!
    Preparing to unpack .../util-linux_2.39.2-4_amd64.deb ...
    Unpacking util-linux (2.39.2-4) over (2.39.2-4) ...
    Preparing to unpack .../zlib1g_1%3a1.2.13.dfsg-3_amd64.deb ...
    Unpacking zlib1g:amd64 (1:1.2.13.dfsg-3) over (1:1.2.13.dfsg-3) ...
    Errors were encountered while processing:
    /var/cache/apt/archives/usr-is-merged_38_all.deb
    E: End of debootstrap.log
    W: Aborting with an error
    E: pbuilder create failed
    I: forking: rm -rf /var/cache/pbuilder/base.cow

    Any ideas what I might be doing wrong?

    Thanks a lot for the help.

    Best,

    Markus

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrey Rakhmatullin@21:1/5 to Santiago Vila on Mon Oct 30 18:50:02 2023
    On Mon, Oct 30, 2023 at 06:18:42PM +0100, Santiago Vila wrote:
    W: See /var/cache/pbuilder/base.cow/debootstrap/debootstrap.log for details (possibly the package /var/cache/apt/archives/usr-is-merged_38_all.deb is at fault)

    Try
    DEBOOTSTRAPOPTS="--merged-usr"

    in your ~/.pbuilderrc

    In trixie and sid, all chroots, including those to build packages, are already supposed
    to be usr-merged.
    What's the recommended way to convert ones created earlier? Recreate?
    Install usrmerge?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Santiago Vila@21:1/5 to All on Mon Oct 30 18:20:01 2023
    El 30/10/23 a las 17:21, Markus Blatt escribió:
    W: See /var/cache/pbuilder/base.cow/debootstrap/debootstrap.log for details (possibly the package /var/cache/apt/archives/usr-is-merged_38_all.deb is at fault)

    Try

    DEBOOTSTRAPOPTS="--merged-usr"

    in your ~/.pbuilderrc

    In trixie and sid, all chroots, including those to build packages, are already supposed
    to be usr-merged.

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Luca Boccassi@21:1/5 to All on Mon Oct 30 19:00:01 2023
    Try
    DEBOOTSTRAPOPTS="--merged-usr"

    in your ~/.pbuilderrc

    In trixie and sid, all chroots, including those to build packages,
    are already supposed
    to be usr-merged.

    Enabling proposed-updates on Debian 11 or 12, to get the new
    debootstrap, will also allow to create new unstable/testing chroots out
    of the box, without config changes.

    --
    Kind regards,
    Luca Boccassi

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEErCSqx93EIPGOymuRKGv37813JB4FAmU/7NsACgkQKGv37813 JB5TKBAAvrD3XAsXS3dzYPwhdnI6veiN5r9CXo4rh3BfWsdDSc2GCG/7zilnBr8w Uknw3Fl/dxnnPFcgM6ay/KpGAEhC/JH3VrawlWpn3LHv+pznzxPG2ORuY7PDqjXR v3jUTWLVGbfU2LrQrg7WKSmMUZEd+t6rfPX8VsVd5Z1T03brw2mqeCk1c912Brg4 ofb/qussm7CzSTxMuZiqiQnKHb9L40J/11XwUivLytleoCjtah03KiMuktu94C+K OGDjXbILb7zqy9yGKk605H7awcIQRXSA134+ZytIYN/Eb7W+rJRZH+8hkSY4Ldhj wwou21gxjhGAZ4Wx2L4vV2fGBRWhyQcOM1j8qUG4OivfKHfpK1rMiQiNa0ALmFzt zCzMPEStJmfKT93nb/ZBBPv5BDfLQBWS/pRpdBWBnzPtk+6TG5EfbzoZaoiqY5XR hDVW9H0edPK1dyyz1dxsrxJNaSZUttvf1iiX7MQqj3LhGpQETfjMtxUhWIOI20GE mdsJCQe7WZ6WpxS4MWX7b4TGJQ59Dl6EJGipgmpScfgkuiQTMHyz44Od2O/m1ZSl u5IXsR3aPcANDaDVCDG9UXSrD98qrWWXMNTZAoC99xRqWLAneOmOdbbnMBfGxVVx 9NsxWpfvSl6eYog+2VYo8ESEDO5Qh2o95Wk0ItKXAPSCWYRjb4o=
    =DPjB
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Santiago Vila@21:1/5 to All on Mon Oct 30 19:00:01 2023
    El 30/10/23 a las 18:42, Andrey Rakhmatullin escribió:
    What's the recommended way to convert ones created earlier? Recreate?
    Install usrmerge?

    In this case I'd recommend recreating the chroots, if only because
    after this change in debootstrap the chroot will be cleaner:

    https://tracker.debian.org/news/1472578/accepted-debootstrap-10133-source-into-unstable/

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Soren Stoutner@21:1/5 to All on Mon Oct 30 10:15:23 2023
    I have the same problem with sbuild. My assumption is that it is some problem with the usr-is-merged package that will be fixed with some future update.

    On Monday, October 30, 2023 9:21:35 AM MST Markus Blatt wrote:
    Hi,

    I cannot create or update chroots (for sid or unstable) with cowbuilder anymore, neither on Debian 12 nor 11.

    --
    Soren Stoutner
    [email protected]
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEJKVN2yNUZnlcqOI+wufLJ66wtgMFAmU/5KsACgkQwufLJ66w tgPWOw/+OA3PtBSSZRV1HSjW4b5Nv5xI6AYJtEkDyJAPlZKSdGWoDjqFsM7HDfxm /Esy29QEG8XeDYlYtAuin0Blhq5id4SsJ9i6zbylrt7uQmZ6tqeK9MqbDlKWwPDq 40xvxHL/VpNcG8ObjrprDKpd1ZFK0biFKFyjF3cRLipqisCn5Y7/E5Nnd7E04NjY NSbNYJhjHxUmlqRH/sOayyzIl7nABTUlFamj18Q33vHDcqNKHMivFVJ1biJl1BA8 kpC+WT3pYWo9ixRQ251Z7jyY6yn9ZH5eqvW8yTr+gxn3HqdIu1bv/WohHDzOgPDM ffLZVW2kcjtiEuvLolLeHWBV+Uda06nM/ikNpcdYkJ7BPFypaCDFyxAGyqMyt29S 9uxdT6sBexGq6KmrVcN4Lwy9nl1k3h2OeCd4wZedN9eflKU75tcxUKg5kBWhF58p nj+nbDnhxyC0m82xQb0a76s+/ou91JfM0jjxgzNRGhSiNj54QPGY9p7G/9p1CXV0 hgfMXNOl/Cp51wLX85zAmO8eLlnRilJ1wfouJMyIlv6tqlpSiEs7SG6T83fMpovw 5BIP2Vv80WRmTey6L3UFLdkq+AVWQODvvPpI9xqsqDzIE0S3ZYo24A//cJNjIOFN //UfAYX6aM9XzOfXHwWGFj7SkEkix4Sgv4Gr0YGSo9HfWu442DM=
    =wJjk
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Markus Blatt@21:1/5 to All on Mon Oct 30 19:50:01 2023
    Hi Luca,

    Am Mon, Oct 30, 2023 at 05:50:19PM +0000 schrieb Luca Boccassi:
    Try
    DEBOOTSTRAPOPTS="--merged-usr"

    in your ~/.pbuilderrc

    In trixie and sid, all chroots, including those to build packages,
    are already supposed
    to be usr-merged.

    Enabling proposed-updates on Debian 11 or 12, to get the new
    debootstrap, will also allow to create new unstable/testing chroots out
    of the box, without config changes.a

    Thanks a lot,that helped. Still on bookworm here.

    Best,

    Markus

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)