Hello!
I am having trouble upgrading.
Checking for release updates: The connection to the repository server failed: Configuration error: Network is unreachable. Please check the repository configuration and the network connection.
So I check in sources lists
root@controller:/home/julian.somers# cat /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 überschrieben 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 "<stdin>", line 16, in <module>
# File "/usr/lib/pymodules/python2.7/univention/updater/tools.py", line 1286, in print_version_repositories
# for server, ver in self._iterate_version_repositories(start, end, self.parts, archs, dists):
# File "/usr/lib/pymodules/python2.7/univention/updater/tools.py", line 1174, in _iterate_version_repositories
# for ver in self._iterate_versions(struct, start, end, parts, archs, server):
# File "/usr/lib/pymodules/python2.7/univention/updater/tools.py", line 1129, in _iterate_versions
# assert server.access(ver) # patchlevel
# File "/usr/lib/pymodules/python2.7/univention/updater/tools.py", line 489, in access
# raise ConfigurationError(uri, reason)
# ConfigurationError: Configuration error: Network is unreachable
#
# 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
#
root@controller:/home/julian.somers# 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 überschrieben 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
#
# Configuration error: Network is unreachable: google-apps_20160901141413
# Configuration error: Network is unreachable: cool-solutions
# Configuration error: non-existing component prefix: https://updates.software-univention.de/: 4.1-4-errata
So I try ucr commit /etc/apt/sources.list.d/* but it fails again
root@controller:/home/julian.somers# 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 überschrieben 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
#
# Configuration error: Network is unreachable: google-apps_20160901141413
deb https://updates.software-univention.de/4.1/unmaintained/component/ cool-solutions/all/
deb https://updates.software-univention.de/4.0/unmaintained/component/ cool-solutions/all/
deb https://updates.software-univention.de/4.0/unmaintained/component/ cool-solutions/amd64/
# Configuration error: non-existing component prefix: https://updates.software-univention.de/: 4.1-4-errata
And so it goes – sometimes after ucr commit there are valid entries in 20_ucs-online-component.list and the upgrade gets going but it eventually fails, and when I check, those entries are gone, replaced either by tracebacks like those above or simply #Configuration error: Network is unreachable. Each time the errors are slightly different,
My network doesn’t seem to be misbehaving – I can ping updates.software-univention.de without loss while these failures happen.
here is our repo listing
root@controller:/home/julian.somers# ucr search --brief --non-empty repository/online
repository/online/component/4.1-2-errata/description: Errata updates for UCS 4.1-2
repository/online/component/4.1-2-errata/localmirror: true
repository/online/component/4.1-2-errata/version: 4.1
repository/online/component/4.1-2-errata: false
repository/online/component/4.1-3-errata/description: Errata updates for UCS 4.1-3
repository/online/component/4.1-3-errata/localmirror: true
repository/online/component/4.1-3-errata/version: 4.1
repository/online/component/4.1-3-errata: false
repository/online/component/4.1-4-errata/description: Errata updates for UCS 4.1-4
repository/online/component/4.1-4-errata/version: 4.1
repository/online/component/4.1-4-errata: enabled
repository/online/component/cool-solutions/unmaintained: yes
repository/online/component/cool-solutions/version: current
repository/online/component/cool-solutions: yes
repository/online/component/google-apps_20160901141413/description: Google Apps for Work Connector
repository/online/component/google-apps_20160901141413/localmirror: false
repository/online/component/google-apps_20160901141413/server: appcenter.software-univention.de
repository/online/component/google-apps_20160901141413/unmaintained: disabled
repository/online/component/google-apps_20160901141413/version: current
repository/online/component/google-apps_20160901141413: enabled
repository/online/server: https://updates.software-univention.de/
repository/online/unmaintained: no
repository/online: yes
I considered disabling the offending repos during the upgrade, but thought that might be dangerous, I should check here first!
Many thanks for your help, Julian