dig updates.software-univention.de
root@vm-ucs-1:/home/Administrator# dig updates.software-univention.de
; <<>> DiG 9.11.5-P4-5.1+deb10u9A~5.0.4.202307241136-Univention <<>> updates.software-univention.de
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 22179
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: 8e05ae10cb50f5ff348faf6f65a97254d9c52b42a955494b (good)
;; QUESTION SECTION:
;updates.software-univention.de. IN A
;; Query time: 1 msec
;; SERVER: 192.168.10.1#53(192.168.10.1)
;; WHEN: Thu Jan 18 19:47:48 CET 2024
;; MSG SIZE rcvd: 87
ping updates.software-univention.de
root@vm-ucs-1:/home/Administrator# ping updates.software-univention.de
PING updates.software-univention.de (176.9.110.24) 56(84) bytes of data.
64 bytes from download2.software-univention.de (176.9.110.24): icmp_seq=1 ttl=57 time=20.3 ms
64 bytes from download2.software-univention.de (176.9.110.24): icmp_seq=2 ttl=57 time=19.3 ms
64 bytes from download2.software-univention.de (176.9.110.24): icmp_seq=3 ttl=57 time=19.8 ms
^C
--- updates.software-univention.de ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 5ms
rtt min/avg/max/mdev = 19.287/19.810/20.332/0.456 ms
wget https://updates.software-univention.de/download/scripts/univention-support-info
root@vm-ucs-1:/home/Administrator# wget https://updates.software-univention.de/download/scripts/univention-support-info
--2024-01-18 19:47:58-- https://updates.software-univention.de/download/scripts/univention-support-info
Resolving updates.software-univention.de (updates.software-univention.de)... 176.9.110.24, 2a01:4f8:151:6019::2
Connecting to updates.software-univention.de (updates.software-univention.de)|176.9.110.24|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 104694 (102K)
Saving to: ‘univention-support-info.1’
univention-support-info.1 100%[=====================================================================================================================================>] 102.24K --.-KB/s in 0.05s
2024-01-18 19:47:58 (1.99 MB/s) - ‘univention-support-info.1’ saved [104694/104694]
Connectivity was not the issue. This conversation made me check the enabled repositories and i saw that no repositories worked or were configured. Shouldn’t this happen during or after the installation?
root@vm-ucs-1:/home/Administrator# apt-cache policy
Package files:
100 /var/lib/dpkg/status
release a=now
Pinned packages:
root@vm-ucs-1:/home/Administrator# cat /etc/apt/sources.list
# This file is not maintained via Univention Configuration Registry
# and can be used to add further package repositories manually
root@vm-ucs-1:/home/Administrator# cat /etc/apt/sources.list.d/*
#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/15_ucs-online-version.list
#
# An error occurred during the repository check. The error message:
# Traceback (most recent call last):
# File "/usr/lib/python3.7/urllib/request.py", line 1324, in do_open
# encode_chunked=req.has_header('Transfer-encoding'))
# File "/usr/lib/python3.7/http/client.py", line 1264, in request
# self._send_request(method, url, body, headers, encode_chunked)
# File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
# self.endheaders(body, encode_chunked=encode_chunked)
# File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
# self._send_output(message_body, encode_chunked=encode_chunked)
# File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
# self.send(msg)
# File "/usr/lib/python3.7/http/client.py", line 974, in send
# self.connect()
# File "/usr/lib/python3.7/http/client.py", line 1419, in connect
# super().connect()
# File "/usr/lib/python3.7/http/client.py", line 946, in connect
# (self.host,self.port), self.timeout, self.source_address)
# File "/usr/lib/python3.7/socket.py", line 707, in create_connection
# for res in getaddrinfo(host, port, 0, SOCK_STREAM):
# File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
# for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
# socket.gaierror: [Errno -3] Temporary failure in name resolution
#
# During handling of the above exception, another exception occurred:
#
# Traceback (most recent call last):
# File "/usr/lib/python3/dist-packages/univention/updater/tools.py", line 659, in access
# res = UCSHttpServer.opener.open(req, timeout=self.timeout)
# File "/usr/lib/python3.7/urllib/request.py", line 525, in open
# response = self._open(req, data)
# File "/usr/lib/python3.7/urllib/request.py", line 543, in _open
# '_open', req)
# File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
# result = func(*args)
# File "/usr/lib/python3.7/urllib/request.py", line 1367, in https_open
# context=self._context, check_hostname=self._check_hostname)
# File "/usr/lib/python3.7/urllib/request.py", line 1326, in do_open
# raise URLError(err)
# urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution>
#
# During handling of the above exception, another exception occurred:
#
# Traceback (most recent call last):
# File "<stdin>", line 12, in <module>
# File "/usr/lib/python3/dist-packages/univention/updater/tools.py", line 1208, in __init__
# self.ucr_reinit()
# File "/usr/lib/python3/dist-packages/univention/updater/tools.py", line 1263, in ucr_reinit
# self._get_releases()
# File "/usr/lib/python3/dist-packages/univention/updater/tools.py", line 1280, in _get_releases
# _code, _size, data = self.server.access(None, 'ucs-releases.json', get=True)
# File "/usr/lib/python3/dist-packages/univention/updater/tools.py", line 727, in access
# raise ConfigurationError(uri, reason)
# univention.updater.errors.ConfigurationError: Configuration error: Temporary failure in name resolution
#
# After fixing this issue, you should rewrite this file with the following command:
# univention-config-registry commit /etc/apt/sources.list.d/15_ucs-online-version.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/15_ucs-online-version.list
#
# The online repository is disabled and can be enabled with:
# univention-config-registry set repository/online=true
#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
#
#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
#
# The online repository is disabled and can be enabled with:
# univention-config-registry set repository/online=true
Anyway i ran univention-config-registry set repository/online=true
and univention-config-registry set repository/online=true
like the source files suggested and now the repos are working, as well as the installation.
I thank you very much for supporting me in troubleshooting the problem