Univention Bugzilla – Bug 29114
apt-mirror hat Probleme mit dem dist Verzeichnis von Ubuntu
Last modified: 2023-06-28 10:33:28 CEST
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/
Nach dem Anlegen werden die Packages und Release Dateien auch nicht befüllt.
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
Created attachment 4824 [details] ftp-archive configuration
UCS-3.1 is long out-of-maintenance, also UCC 1 & 2