Yesterday I tried to use debootstrap to create an Ubuntu 24.04 (Noble Numbat) chroot from an Ubuntu 20.04 (Focal Fossa) host which failed with the following error, which is discussed in but not literally quoted in this bug report:
I: Chosen extractor for .deb packages: dpkg-deb I: Extracting base-files... E: Tried to extract package, but file already exists. Exit... I arrived here via askubuntu.com where the literal error message is quoted: https://askubuntu.com/questions/1518091/creating-a-debian-sid-chroot-on- ubuntu-22-04 Based on this bug report I realized that the bug fix was uploaded to the `focal-proposed` repository, where it is still available as of today, but it was never accepted / promoted into `focal-updates` or whichever is the appropriate repository to receive such bug fixes. Anyway, I'm posting here to report that enabling the `focal-proposed` repository and installing the updated `debootstrap` package available there fixed my issue: peter@test-vm:~$ sudo grep proposed /etc/apt/sources.list deb http://nl.archive.ubuntu.com/ubuntu focal-proposed main universe multiverse peter@test-vm:~$ apt-cache policy debootstrap debootstrap: Installed: 1.0.118ubuntu1.11 Candidate: 1.0.118ubuntu1.13 Version table: 1.0.118ubuntu1.13 500 500 http://nl.archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages *** 1.0.118ubuntu1.11 500 500 http://nl.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages 100 /var/lib/dpkg/status 1.0.118ubuntu1 500 500 http://nl.archive.ubuntu.com/ubuntu focal/main amd64 Packages After installing the 1.0.118ubuntu1.13 version of debootstrap I reran my debootstrap invocation and this time it completed successfully: debootstrap --arch=amd64 --keyring=/usr/share/keyrings/ubuntu-archive- keyring.gpg noble /tmp/test-chroot http://nl.archive.ubuntu.com/ubuntu I take it that manually invoking debootstrap to construct Ubuntu chroots is not a very popular activity (I use it to create build chroots for a custom built Debian binary package build server), otherwise complaints would have come in here earlier, but it would nevertheless be nice if the updated debootstrap package can still be approved / accepted? (if that is still possible) Thanks to everyone who was involved in fixing this issue and creating and maintaining debootstrap and related tools to begin with! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2054925 Title: Debootstrap fails for Noble with base-files 13ubuntu7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs