Univention Bugzilla – Bug 29858
univention-debootstrap: funktioniert nicht, wird ohne Abhängigkeit installiert
Last modified: 2016-10-11 08:04:28 CEST
UCS 3.0-2 univention-debootstrap wird mitinstalliert, obwohl scheinbar kein Paket eine Abhängigkeit darauf hat. Ein Aufruf funktioniert aber nicht (sofern ich hier alles richtig mache?): # /usr/sbin/debootstrap --verbose univention /root/build/chroot_ucs3.0/ I: Retrieving Packages.gz I: Retrieving Packages I: Resolving dependencies of required packages... I: Resolving dependencies of base packages... I: Chosen extractor for .deb packages: dpkg-deb W: Failure trying to run: chroot /root/build/chroot_ucs3.0 mount -t proc proc /proc Siehe auch Bug #17062
Created attachment 5142 [details] debootstrap support for UCS-3.0 debootstrap currently doesn't work for UCS, since UCS uses the "deb $SERVER $PATH/" layout instead of Debians "deb $SERVER $SUITE $COMPONETS..." layout. The attached file should be placed in /usr/share/debootstrap/scripts and adds support for that layout and other UCS differences.
Created attachment 5143 [details] v2: debootstrap support for UCS-3.0 Fix setup_available: Somehow a "-0/" got lost in $path ...
(In reply to comment #2) > Created an attachment (id=5143) [details] > v2: debootstrap support for UCS-3.0 "aptitude" and "build-essentials" were missing for variant buildd.
Created attachment 5751 [details] Support for multiple UCS releases I slightly modified the script to support multiple UCS releases, i.e. 3.1 and 3.2. It needs to be copied to /usr/share/debootstrap/scripts. For every UCS release that should be bootstrapped, a symlink needs to be created: ln -s /usr/share/debootstrap/scripts/ucs-3.2 /usr/share/debootstrap/scripts/ucs-3.1 Executing the following command will bootstrap UCS 3.2: debootstrap --verbose ucs-3.2 ucs3.2
Created attachment 5752 [details] debootstrap for multiple UCS releases Fixed broken dependency resolution when multiple UCS Package files need to be scanned.
Created attachment 5817 [details] debootstrap for multiple UCS releases Fix: add missing patch level releases to sources.list Feature: add support for unmaintained repositories To bootstrap a chroot with unmaintained repositories, run the following command: sudo debootstrap --components=maintained,unmaintained ucs-3.2 With the --components option, only maintained repositories will be added.
(In reply to Jan Christoph Ebersbach from comment #6) > With the --components option, only maintained repositories will be added. Typo: Without the --components option, only maintained repositories will be added.
This issue has been filed against UCS 3.0. UCS 3.0 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please reopen.