Univention Bugzilla – Bug 56078
Error downloading 'repository/online/component/.*/server' don't use the correct URL and get 404
Last modified: 2023-10-25 18:22:01 CEST
If you are setting up the UCRV for your own repo component server in the old/classic stye, each variable for each setting, for example repository/online/component/foo/server=http://foo.bar.de repository/online/component/foo/prefix=apt/foobar repository/online/component/foo: yes repository/online/httpmethod: HEAD repository/online/port: 80 repository/online/prefix: univention-repository repository/online/server: http://foo.bar.de so the system diagnose will check this and give you the hint to fix these UCRV, because some UCRV from the settings are depricated. The system diagnose give you the option to fix the UCRV on the webgui and after the fix, it looks like this repository/online/component/foo/server: http://foo.bar.de/apt/foobar repository/online/component/foo: yes repository/online/httpmethod: HEAD repository/online/port: 80 repository/online/prefix: <empty> repository/online/server: http://foo.bar.de:80/univention-repository and in the source.list for the component you will see this: cat /etc/apt/sources.list.d/20_ucs-online-component.list #Warning: This file is auto-generated and might be overwritten by # univention-config-registry. # Please edit the following file(s) instead: #Warnung: Diese Datei wurde automatisch generiert und kann durch # univention-config-registry ueberschrieben werden. # Bitte bearbeiten Sie an Stelle dessen die folgende(n) Datei(en): # # /etc/univention/templates/files/etc/apt/sources.list.d/20_ucs-online-component.list # # Component olb: Error downloading http://foo.bar.de/univention-repository/univention-repository/5.0/maintained/component/foo/all/Packages.gz: 404
A Workaround could be to use the depricated UCRV and don't fix it over the system diagnose in the web gui, until this problem is fixed. repository/online/component/foo/server=http://foo.bar.de repository/online/component/foo/prefix=apt/foobar repository/online/component/foo: yes repository/online/httpmethod: HEAD repository/online/port: 80 repository/online/prefix: univention-repository repository/online/server: http://foo.bar.de or repository/online/component/foo/prefix: apt/foobar repository/online/component/foo: yes repository/online/httpmethod: HEAD repository/online/port: 80 repository/online/prefix: univention-repository repository/online/server: http://foo.bar.de