Bug 29858 - univention-debootstrap: funktioniert nicht, wird ohne Abhängigkeit installiert
univention-debootstrap: funktioniert nicht, wird ohne Abhängigkeit installiert
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: General
UCS 3.0
Other Linux
: P5 normal with 2 votes (vote)
: ---
Assigned To: Bugzilla Mailingliste
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-18 21:13 CET by Ingo Steuwer
Modified: 2016-10-11 08:04 CEST (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
debootstrap support for UCS-3.0 (10.14 KB, text/plain)
2013-03-24 13:01 CET, Philipp Hahn
Details
v2: debootstrap support for UCS-3.0 (10.15 KB, text/plain)
2013-03-24 15:01 CET, Philipp Hahn
Details
Support for multiple UCS releases (10.53 KB, text/plain)
2014-01-24 18:58 CET, Jan Christoph Ebersbach
Details
debootstrap for multiple UCS releases (10.98 KB, text/plain)
2014-01-25 08:21 CET, Jan Christoph Ebersbach
Details
debootstrap for multiple UCS releases (12.01 KB, text/plain)
2014-03-07 15:06 CET, Jan Christoph Ebersbach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ingo Steuwer univentionstaff 2012-12-18 21:13:09 CET
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
Comment 1 Philipp Hahn univentionstaff 2013-03-24 13:01:28 CET
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.
Comment 2 Philipp Hahn univentionstaff 2013-03-24 15:01:10 CET
Created attachment 5143 [details]
v2: debootstrap support for UCS-3.0

Fix setup_available: Somehow a "-0/" got lost in $path  ...
Comment 3 Philipp Hahn univentionstaff 2013-03-27 18:02:13 CET
(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.
Comment 4 Jan Christoph Ebersbach univentionstaff 2014-01-24 18:58:08 CET
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
Comment 5 Jan Christoph Ebersbach univentionstaff 2014-01-25 08:21:18 CET
Created attachment 5752 [details]
debootstrap for multiple UCS releases

Fixed broken dependency resolution when multiple UCS Package files need to be scanned.
Comment 6 Jan Christoph Ebersbach univentionstaff 2014-03-07 15:06:42 CET
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.
Comment 7 Jan Christoph Ebersbach univentionstaff 2014-03-07 16:24:36 CET
(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.
Comment 8 Stefan Gohmann univentionstaff 2016-10-11 08:04:28 CEST
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.