Bug 38988 - Check /etc/apt/sources.list** for errors
Check /etc/apt/sources.list** for errors
Status: RESOLVED DUPLICATE of bug 38974
Product: UCS
Classification: Unclassified
Component: UMC - System diagnostic
UCS 4.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-07-20 15:38 CEST by Philipp Hahn
Modified: 2015-07-20 20:40 CEST (History)
2 users (show)

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 Philipp Hahn univentionstaff 2015-07-20 15:38:46 CEST
It was suggested by a customer (Ticket #2015071421000546) to check `cat /etc/apt/sources.list**` being empty or only containing commented lines: If no line starting with "deb " is found, something is wrong with the repository setup, even when UMC is able to directly connect to our FTP server.

# ucr get proxy/http
http://10.200.17.72:3128

# cat /etc/apt/sources.list.d/15_ucs-online-version.list
...
# An error occurred during the repository check. The error message:
#   Traceback (most recent call last):
#     File "<stdin>", line 13, in <module>
#     File "/usr/lib/pymodules/python2.7/univention/updater/tools.py", line 571, in __init__
#       self.ucr_reinit()
#     File "/usr/lib/pymodules/python2.7/univention/updater/tools.py", line 633, in ucr_reinit
#       assert self.server.access('/univention-repository/')
#     File "/usr/lib/pymodules/python2.7/univention/updater/tools.py", line 494, in access
#       raise ProxyError(uri, reason)
#   ProxyError: Proxy configuration error: No route to host http://updates.software-univention.de/univention-repository/
...
#   ProxyError: Proxy configuration error: host is unresolvable http://updates.software-univention.de/univention    -repository/
...
#  ProxyError: Proxy configuration error: Network is unreachable http://updates.software-univention.de/univention-repository/


The diagnostic module should also check for other Tracebacks like
- wrong credentials for repositories
- ...
Comment 1 Stefan Gohmann univentionstaff 2015-07-20 20:40:42 CEST

*** This bug has been marked as a duplicate of bug 38974 ***