Univention Bugzilla – Bug 44593
Debootstrap: No script for ucs420
Last modified: 2017-05-24 10:48:05 CEST
After trying to install UCS 4.2 from an apache repository the installer won't perform the debootstrap. The script ucs420 is not available. ~ # ls /usr/share/debootstrap/scripts/u* /usr/share/debootstrap/scripts/ucs400 /usr/share/debootstrap/scripts/ucs410 /usr/share/debootstrap/scripts/ucs401 /usr/share/debootstrap/scripts/ucs411 /usr/share/debootstrap/scripts/ucs402 /usr/share/debootstrap/scripts/ucs412 /usr/share/debootstrap/scripts/ucs403 /usr/share/debootstrap/scripts/ucs413 /usr/share/debootstrap/scripts/ucs404 /usr/share/debootstrap/scripts/ucs414 /usr/share/debootstrap/scripts/ucs405 /usr/share/debootstrap/scripts/utopic debootstrap_1.0.67A~4.2.0.201703021721_all.deb debootstrap-udeb_1.0.67A~4.2.0.201703021721_all.udeb
Does it work if you define a link for ucs420 like this: ln -s /usr/share/debootstrap/scripts/jessie /usr/share/debootstrap/scripts/ucs420
yes it works creating a link. The system currently installs fine. But as we want to install UCS420 on a regular basis for automated tests, this is nothing we want to do in our tests. Thanks for the temporary solution.
Thanks for the confirmation, this is helpful for the development of a fix
I added the missing symlink in a patch for the debootstrap package. r17502 Add symlink for UCS 4.2 debootstrap 1.0.67A~4.2.0.201705151311 r79342 yaml
You can always specify the script explicitly: debootstrap [OPTION...] SUITE TARGET [MIRROR [SCRIPT]] e.g. debootstrap --keyring /usr/share/keyrings/univention-archive-key-ucs-4x.gpg --variant=buildd ucs420 /tmp/ucs420 http://updates.software-univention.de/4.2/maintained/4.2-0/ /usr/share/debootstrap/scripts/jessie
OK: debootstrap --keyring /usr/share/keyrings/univention-archive-key-ucs-4x.gpg --variant=buildd ucs420 /tmp/ucs420 http://univention-repository.knut.univention.de/4.2/maintained/4.2-0/ OK: debootstrap.yaml FIXED: announce-errata -V debootstrap.yaml FAIL: # dpkg -s debootstrap | grep Recommends Recommends: gnupg, debian-archive-keyring 0001-univention-archive-key.patch did not work as expected. This is caused as our pbuilder.tgz are inconsistent: 516 are "dpkg-vendor debian", 141 are "univention", 30 "ubuntu" and 8 unset.
Thanks for fixing the pbuilder environment. I rebuild the package, yaml updated in r49485. Package: debootstrap Version: 1.0.67A~4.2.0.201705221222 Branch: ucs_4.2-0 Scope: errata4.2-0
OK: dpkg -s debootstrap | grep Recommends Recommends: gnupg, univention-archive-key OK: errata-announce -V --only debootstrap.yaml OK: r79485
is there any location where I can grab the fixed package?
Created attachment 8873 [details] fixed debootstrap package Attached is the fixed package. It will be released shortly as an UCS 4.2 erratum. Once it is released, this bug will be CLOSED, and the advisory can be found at http://errata.software-univention.de/ucs/4.2/ The package will then be available via the normal UCS package and update tools
Please fix it also for the udeb package. The installation fails because the udeb package does not have the ucs420 link thanks
Created attachment 8875 [details] fixed udeb package The udeb package has been also been build and is attached here. Sorry, i did not know which file you required.
I think the naming is wrong debootstrap-udeb_1.0.67A-4.2.0.201705221222_all.udeb and the old package was named debootstrap-udeb_1.0.67A~4.2.0.201703021721_all.udeb installation does not finish as it cant find the responding udeb file for the deb file because of the missing '~'
If i try to download both files with firefox 53, the '~' is used in the filename. The filenames are also correct in our staging repository. debootstrap_1.0.67A~4.2.0.201705221222_all.deb debootstrap-udeb_1.0.67A~4.2.0.201705221222_all.udeb Maybe your browser is renaming the filename on the fly. I suggest to wait for the official erratum, it should be released tomorrow.
<http://errata.software-univention.de/ucs/4.2/17.html>