Univention Bugzilla – Bug 57045
no working settings for components in sources and mirror list if localmirror is activated
Last modified: 2024-02-12 08:41:47 CET
For repository mirrors if we use the localmirror setting the mirror.list and sources.list file don't fit together. In essence there is no possible setting that allows both the customer scope to be mirrored successfully from the official repository and subsequently read locally by the repository mirror for local installation. In one example when the sources list is generated on the repo mirror it is creating the path http://repo.mirror.example/univention-repository/univention-repository/5.0/maintained/component/xyz/ based on the UCRV repository/online/server: http://repo.mirror.example:80/univention-repository However the correct path would be http://repo.mirror.example/univention-repository/apt/xxxxx/5.0/maintained/component/xyz/ Any setting of the prefix or the like based on the component is ignored. Looking at the comment in ucs/base/univention-updater/modules/univention/updater/tools.py line 949: def baseurl() this is the intended behavior, but is faulty. Since this is a very basic scenario and the feature is quite established, it would be good to ensure that it has sane defaults.
Customer affected 2023101721000215