Univention Bugzilla – Bug 39582
apt-mirror: Removes {pre,post}up.sh.gpg and dists/
Last modified: 2017-04-04 18:29:44 CEST
Created attachment 7214 [details] Keep {pre,post}up.sh.gpg files ; dists/=TODO "univention-repository-updater net" uses "apt-mirror", which creates "/var/lib/univention-repository/var/lib/clean.sh" to cleanup any files which are not available on the mirror. Currently this removes the signed {pre,post}up.sh.gpg files and the dists/ hierarchy, which is required for the "UCS Net Installer": rm -f '4.1/maintained/4.1-0/dists/ucs410/main/debian-installer/binary-amd64/Packages' rm -f '4.1/maintained/4.1-0/dists/ucs410/main/debian-installer/binary-amd64/Packages.gz' rm -f '4.1/maintained/4.1-0/dists/ucs410/main/binary-amd64/Packages' echo -n . rm -f '4.1/maintained/4.1-0/dists/ucs410/main/binary-amd64/Release' rm -f '4.1/maintained/4.1-0/dists/ucs410/main/binary-amd64/Packages.gz' rm -f '4.1/maintained/4.1-0/dists/ucs410/Release' rm -f '4.1/maintained/4.1-0/all/preup.sh.gpg' rm -f '4.1/maintained/4.1-0/all/obsolete.txt' rm -f '4.1/maintained/4.1-0/all/obsolete_1.0-all.deb' rm -f '4.1/maintained/4.1-0/all/postup.sh.gpg' Detected by "ucs-test/09/79mirror-clean" while working on Bug #39305 and Bug #39306
r64620 | Bug #39306 test: local repository tests Ignore .pgp for now until apt-mirror bug is fixed. Package: ucs-test Version: 6.0.10-1.1269.201510201217 Branch: ucs_4.1-0
r17052 | Bug #43339,Bug #39582,Bug #28048: apt-mirror .gpg and **/dists/ are no longer removed Package: apt-mirror Version: 0.5.1-1A~4.2.0.201701171441 Branch: ucs_4.2-0 r75869 | Bug #43339,Bug #39582,Bug #28048: apt-mirror CL
Test: OK: dists directory and gpg files are available Changelog: OK
UCS 4.2 has been released: https://docs.software-univention.de/release-notes-4.2-0-en.html https://docs.software-univention.de/release-notes-4.2-0-de.html If this error occurs again, please use "Clone This Bug".