Bug 51821 - After uninstalling univention-debmirror the repository configuration is broken
After uninstalling univention-debmirror the repository configuration is broken
Status: NEW
Product: UCS
Classification: Unclassified
Component: Update - Repository administration
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-08-14 09:36 CEST by Florian Best
Modified: 2020-08-14 09:36 CEST (History)
0 users

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2020-08-14 09:36:45 CEST
univention-debmirror sets repository/online/prefix="univention-repository" in 77univention-debmirror.inst. But there is not uninstall scripts.

After "apt remove --purge univention-debmirror" the sources.list files are broken:

# An error occurred during the repository check. The error message:
#   Traceback (most recent call last):
#     File "<stdin>", line 12, in <module>
#     File "/usr/lib/python2.7/dist-packages/univention/updater/tools.py", line 831, in __init__
#       self.ucr_reinit()
#     File "/usr/lib/python2.7/dist-packages/univention/updater/tools.py", line 919, in ucr_reinit
#       raise ConfigurationError(uri, 'non-existing prefix "%s": %s' % (self.repourl.path, uri))
#   ConfigurationError: Configuration error: non-existing prefix "/univention-repository/": http://example/univention-repository/