Univention Bugzilla – Bug 45185
dists/ucs420/main list on updates-test differs from apt/ucs_4.2-0/dists
Last modified: 2018-03-12 13:15:23 CET
This also happens in net installer environments because the packages are re-created during the repository sync. Maybe it works after disabling the package recreation: ucr repository/mirror/recreate_packages=no univention-repository-update net +++ This bug was initially created as a clone of Bug #43837 +++ Currently I cannot debootstrap a UCS 4.2 image because it considers gcc-4.7-base as required, and gcc4.9-base from jessie/UCS 4.2 conflicts with the UCS 4.0 version of that package. The cause of this issue seem to lie here: arequate@omar:~$ wget -o /dev/null -O - http://updates-test.software-univention.de/4.2/maintained/4.2-0/dists/ucs420/main/binary-amd64/Packages | grep -A1 "^Package: gcc-4.7-base" Package: gcc-4.7-base Priority: required arequate@omar:~$ grep -A1 "^Package: gcc-4.7-base" \ /var/univention/buildsystem2/apt/ucs_4.2-0/dists/ucs420/main/binary-amd64/Packages Package: gcc-4.7-base Priority: optional
'repository/mirror/recreate_packages=yes' is broken, as `apt-mirror` calls 'apt-ftparchive' internally without any Override file, which is used by Debian (and us) to fix Package Priority distribution wide (the same package can be used in multiple releases, but with different priorities; the override mechanism is used to fix override the Priority as stored inside the .deb header. The files is described at <https://wiki.debian.org/FtpMaster/Override>. Debian ships them in <http://ftp.debian.org/debian/indices/> and they are post-processed (concatenated) before being used internally for UCS. Currently they are not shipped, but stored internally at <svn://billy/dev/branches/ucs-3.2/internal/repo-ng/override/>) Re-creating the Packages files also breaks Secure-APT: Bug #29434 It would help if our public mirror could be used for PXE installation: Bug #41305
Ok, so I think we should the default of repository/mirror/recreate_packages to no. Maybe, we can also add a note to the documentation? Anything else we should change at this issue?
This bug is tagged as an issue for school customers. How is it related to school customers?
0b9bcb0caa..11604e1107 Package: univention-updater Version: 12.0.11-9A~4.2.0.201709200937 Branch: ucs_4.2-0 Scope: errata4.2-2 1ce67c98da..60d430d207: univention-updater.yaml
(In reply to Jan Christoph Ebersbach from comment #3) > This bug is tagged as an issue for school customers. How is it related to > school customers? It happened in a school customer environment, see the referenced ticket.
Code review: OK Tests: OK YAML: OK
<http://errata.software-univention.de/ucs/4.2/189.html>