Univention Bugzilla – Bug 45185
dists/ucs420/main list on updates-test differs from apt/ucs_4.2-0/dists
Last modified: 2017-09-28 15:56:44 CEST
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:
+++ 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"
arequate@omar:~$ grep -A1 "^Package: gcc-4.7-base" \
'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?
(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