Univention Bugzilla – Bug 46128
4.3 installation fails (base system can't be installed)
Last modified: 2018-03-14 14:38:08 CET
The reason seems to be that debootstrap thinks it is a good idea to install libsigc++-2.0-0c2a (this is a jessie package, from UCS 4.2, version 2.4.0-1). But the new 4.3 libstdc++6 package breaks libsigc++-2.0-0c2a (<= 2.4.1-1+b1), so you can not have both installed, nevertheless debootstrap tries to do that and fails -> debootstrap --verbose --no-check-gpg ucs430 /tmp/fb-ucs430 file:///mnt/ /usr/share/debootstrap/scripts/sid I: Configuring libc-bin... I: Configuring systemd... I: Configuring python-support... W: Failure while configuring base packages. This will be re-attempted up to five times. W: See /tmp/fb-ucs430/debootstrap/debootstrap.log for details (possibly the package libsigc++-2.0-0c2a:amd64 is at fault) W: Failure while configuring base packages. This will be re-attempted up to five times. W: See /tmp/fb-ucs430/debootstrap/debootstrap.log for details (possibly the package libsigc++-2.0-0c2a:amd64 is at fault) W: Failure while configuring base packages. This will be re-attempted up to five times. W: See /tmp/fb-ucs430/debootstrap/debootstrap.log for details (possibly the package libsigc++-2.0-0c2a:amd64 is at fault) W: Failure while configuring base packages. This will be re-attempted up to five times. W: See /tmp/fb-ucs430/debootstrap/debootstrap.log for details (possibly the package libsigc++-2.0-0c2a:amd64 is at fault) W: Failure while configuring base packages. This will be re-attempted up to five times. W: See /tmp/fb-ucs430/debootstrap/debootstrap.log for details (possibly the package libsigc++-2.0-0c2a:amd64 is at fault)
$ grep-dctrl -s Filename -F Priority important binary-amd64/Packages ... Filename: ../ucs_4.2-0/amd64/libsigc++-2.0-0c2a_2.4.0-1_amd64.deb $ dpkg -I ../ucs_4.2-0/amd64/libsigc++-2.0-0c2a_2.4.0-1_amd64.deb ... Package: libsigc++-2.0-0c2a Source: libsigc++-2.0 Version: 2.4.0-1 ... Priority: optional $ grep libsigc++-2.0-0c2a /var/univention/buildsystem2/override/ucs_4.3 libsigc++-2.0-0c2a important libs $ zgrep libsigc++-2.0-0c2a /mnt/build-storage/upstream/debian/indices/override.jessie.main.gz /mnt/build-storage/upstream/debian/indices/override.stretch.main.gz /mnt/build-storage/upstream/debian/indices/override.jessie.main.gz:libsigc++-2.0-0c2a important libs $ grep libsigc++-2.0-0c2a ~/REPOS/repo-ng/override/ucs_4.3 libsigc++-2.0-0c2a optional oldlibs $ grep libsigc++-2.0-0c2a /usr/share/repo-ng/override/ucs_4.3 libsigc++-2.0-0c2a optional oldlibs $ python -m univention.repong.repo_override -m 4 -vvvv $ grep libsigc++-2.0-0c2a /var/univention/buildsystem2/override/ucs_4.3 libsigc++-2.0-0c2a optional oldlibs The problem lies with: $ repo-apt-ftparchive --release ucs_4.3-0 It uses the Packages files from the *previous* releases, where Priority:important was used. The override-file with Priority:optional is *not* applied - as it is only used by "apt-ftparchive", as "--fast" mode uses "cat". So the old Priority:Important remains. For now I have patched Priority:optional in apt/ucs_4.3-0/dists/.cache/4_2_0_0_{i386,amd64} by hand, but the problem be re-surface as soon as something changes apt/ucs_4.2-0/**/Packages $ create_dists_packages.sh --fast The *real* fix needs to go into "repo-apt-ftparchive" to work-around that stupid™ decision, to have UCS contain *multiple* Debian releases at the same time. QA: OK: grep-dctrl -s Priority -F Package libsigc++-2.0-0c2a dists/ucs430/main/binary-*/Packages Priority: optional Priority: optional ~OK: sudo -s debootstrap --verbose --no-check-gpg --include=python3 ucs430 $TMPDIR/phahn-ucs430 file://$PWD/ /usr/share/debootstrap/scripts/sid fails with "lsb-release depends on python3:any (>= 3.4~)." if the "--include=python3" is not given. This might be a UCS specific problem. as "debootstrap" implements its own parser to resolve the dependencies, which might not be able to process the ":any" suffix.
OK, it works again.
UCS 4.3 has been released: https://docs.software-univention.de/release-notes-4.3-0-en.html https://docs.software-univention.de/release-notes-4.3-0-de.html If this error occurs again, please use "Clone This Bug".