Bug 29114 - apt-mirror hat Probleme mit dem dist Verzeichnis von Ubuntu
apt-mirror hat Probleme mit dem dist Verzeichnis von Ubuntu
Status: CLOSED WONTFIX
Product: Z_Univention Corporate Client (UCC)
Classification: Unclassified
Component: UCS Integration
unspecified
Other Linux
: P5 normal
: ---
Assigned To: UCC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-09 08:52 CET by Kevin Dominik Korte
Modified: 2023-06-28 10:33 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
ftp-archive configuration (1.64 KB, text/plain)
2012-11-21 13:37 CET, Kevin Dominik Korte
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Dominik Korte univentionstaff 2012-11-09 08:52:08 CET
Beim versuch einen Mirror mit apt-mirror auf ucs 3.1 ms2 einzurichten ist es zu dem Fehler gekommen, dass apt-mirror die unten aufgeführten Verzeichnisse nicht anlegt. Daher kommt es zu Fehlern und die Package Dateien werden nicht erstellt.

/var/lib/univention-repository/mirror/ubuntu/dists/precise/main/source/
/var/lib/univention-repository/mirror/ubuntu/dists/precise-updates/universe/
/var/lib/univention-repository/mirror/ubuntu/dists/precise-updates/multiverse/source/
/var/lib/univention-repository/mirror/ubuntu/dists/precise/restricted/binary-amd64/
/var/lib/univention-repository/mirror/ubuntu/dists/precise-security/universe/binary-amd64/
/var/lib/univention-repository/mirror/ubuntu/dists/precise/universe/binary-amd64/
/var/lib/univention-repository/mirror/ubuntu/dists/precise-updates/restricted/binary-amd64/
/var/lib/univention-repository/mirror/ubuntu/dists/precise-security/multiverse/source/
/var/lib/univention-repository/mirror/ubuntu/dists/precise-updates/main/source/
/var/lib/univention-repository/mirror/ubuntu/dists/precise/main/binary-amd64/
/var/lib/univention-repository/mirror/ubuntu/dists/precise/restricted/source/
/var/lib/univention-repository/mirror/ubuntu/dists/precise-updates/multiverse/binary-amd64/
/var/lib/univention-repository/mirror/ubuntu/dists/precise-updates/main/binary-amd64/
/var/lib/univention-repository/mirror/ubuntu/dists/precise-security/universe/source/
/var/lib/univention-repository/mirror/ubuntu/dists/precise-updates/restricted/source/
/var/lib/univention-repository/mirror/ubuntu/dists/precise/multiverse/binary-amd64/
/var/lib/univention-repository/mirror/ubuntu/dists/precise-security/main/source/
/var/lib/univention-repository/mirror/ubuntu/dists/precise/multiverse/source/
/var/lib/univention-repository/mirror/ubuntu/dists/precise-security/multiverse/binary-amd64/
/var/lib/univention-repository/mirror/ubuntu/dists/precise-security/main/binary-amd64/
Comment 1 Kevin Dominik Korte univentionstaff 2012-11-09 15:53:33 CET
Nach dem Anlegen werden die Packages und Release Dateien auch nicht befüllt.
Comment 2 Kevin Dominik Korte univentionstaff 2012-11-21 13:33:07 CET
Neben den genanten Verzeichniss benötigt man folgende Zeilen in der mirror.list:

deb http://ubuntu.knut.univention.de/ubuntu precise main restricted universe multiverse
deb http://ubuntu.knut.univention.de/ubuntu precise-security main restricted universe multiverse
deb http://ubuntu.knut.univention.de/ubuntu precise-updates main restricted universe multiverse
#deb http://ubuntu.knut.univention.de/ubuntu precise-proposed main restricted universe multiverse
#deb http://ubuntu.knut.univention.de/ubuntu precise-backports main restricted universe multiverse

deb-src http://ubuntu.knut.univention.de/ubuntu precise main restricted universe multiverse
deb-src http://ubuntu.knut.univention.de/ubuntu precise-security main restricted universe multiverse
deb-src http://ubuntu.knut.univention.de/ubuntu precise-updates main restricted universe multiverse
#deb-src http://ubuntu.knut.univention.de/ubuntu precise-proposed main restricted universe multiverse
#deb-src http://ubuntu.knut.univention.de/ubuntu precise-backports main restricted universe multiverse

sowie die angehängte Konfiguration in ftp-archive.conf und apt-release.conf in /var/lib/univention-repository/mirror/ubuntu/

danach kann man über folgende befehle einen Mirror erstellen:

apt-mirror (univention-repository* geht bei angepassten Template auch)
cd /var/lib/univention-repository/mirror/ubuntu/
apt-ftparchive generate ftp-archive.conf
apt-ftparchive -c apt-release.conf release dist/precise > dist/precise/Release

Wenn gewollt lässt sich das auch signieren und zusätzlich für i386 durchführen
Comment 3 Kevin Dominik Korte univentionstaff 2012-11-21 13:37:50 CET
Created attachment 4824 [details]
ftp-archive configuration
Comment 4 Philipp Hahn univentionstaff 2020-03-09 12:46:04 CET
UCS-3.1 is long out-of-maintenance, also UCC 1 & 2