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*
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
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/
FIXED: announce-errata -V debootstrap.yaml
# 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.
dpkg -s debootstrap | grep Recommends
Recommends: gnupg, univention-archive-key
OK: errata-announce -V --only debootstrap.yaml
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
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
and the old package was named
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.
Maybe your browser is renaming the filename on the fly. I suggest to wait for the official erratum, it should be released tomorrow.