Apt-get update oder updates über die GUI nicht mehr möglich

german

#1

Moin,

ich habe hier ein Problem, mit dem ich nichts anfangen kann und wo mir die Suche danach bisher auch nicht half.

Kann damit jemand was anfangen?

An error occurred during the repository check. The error message:
  Traceback (most recent call last):
    File "", line 13, in 
    File "/usr/lib/pymodules/python2.7/univention/updater/tools.py", line 580, in __init__
      self.ucr_reinit()
    File "/usr/lib/pymodules/python2.7/univention/updater/tools.py", line 666, in ucr_reinit
      raise ConfigurationError(uri, 'non-existing prefix "%s": %s' % (self.repourl.path, uri))
  ConfigurationError: Configuration error: non-existing prefix "/univention-repository/": http://central.c-corp.org/univention-repository/

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

Kann das nicht fixen.

root@central:/etc/apt/sources.list.d# ucr search --brief repository
local/repository: yes
online/repository/clean: <empty>
repository/app_center/blacklist: <empty>
repository/app_center/installed: AS-CU-DH-DU-JE-KD-0O-0F-0M-VP-OP-PK-S4-ME-SQ-UC-0B
repository/app_center/server: appcenter.software-univention.de
repository/app_center/whitelist: <empty>
repository/credentials/.*/password: <empty>
repository/credentials/.*/uris: <empty>
repository/credentials/.*/username: <empty>
repository/credentials/Univention Software Repository/uris: updates.software-univention.de updates-test.software-univention.de appcenter.software-univention.de appcenter-test.software-univention.de
repository/mirror/architectures: <empty>
repository/mirror/basepath: /var/lib/univention-repository
repository/mirror/httpmethod: <empty>
repository/mirror/port: <empty>
repository/mirror/prefix: univention-repository
repository/mirror/recreate_packages: yes
repository/mirror/server: https://updates.software-univention.de/
repository/mirror/sources: <empty>
repository/mirror/threads: 10
repository/mirror/timeout: <empty>
repository/mirror/verify: <empty>
repository/mirror/version/end: <empty>
repository/mirror/version/start: <empty>
repository/mirror: no
repository/online/architectures: <empty>
repository/online/component/.*/clean: <empty>
repository/online/component/.*/description: <empty>
repository/online/component/.*/erratalevel: <empty>
repository/online/component/.*/localmirror: <empty>
repository/online/component/.*/password: <empty>
repository/online/component/.*/port: <empty>
repository/online/component/.*/prefix: <empty>
repository/online/component/.*/prefix: univention-repository
repository/online/component/.*/server: <empty>
repository/online/component/.*/unmaintained: <empty>
repository/online/component/.*/username: <empty>
repository/online/component/.*/version: <empty>
repository/online/component/.*: <empty>
repository/online/component/4.2-1-errata/description: Errata updates for UCS 4.2-1
repository/online/component/4.2-1-errata/localmirror: true
repository/online/component/4.2-1-errata/version: 4.2
repository/online/component/4.2-1-errata: false
repository/online/component/4.2-2-errata/description: Errata updates for UCS 4.2-2
repository/online/component/4.2-2-errata/localmirror: true
repository/online/component/4.2-2-errata/version: 4.2
repository/online/component/4.2-2-errata: false
repository/online/component/4.2-3-errata/description: Errata updates for UCS 4.2-3
repository/online/component/4.2-3-errata/version: 4.2
repository/online/component/4.2-3-errata: enabled
repository/online/component/asterisk4ucs_20170124094112/description: Asterisk4UCS
repository/online/component/asterisk4ucs_20170124094112/localmirror: false
repository/online/component/asterisk4ucs_20170124094112/server: https://appcenter.software-univention.de
repository/online/component/asterisk4ucs_20170124094112/unmaintained: disabled
repository/online/component/asterisk4ucs_20170124094112/version: current
repository/online/component/asterisk4ucs_20170124094112: enabled
repository/online/component/letsencrypt_20171204164155/description: Let's Encrypt
repository/online/component/letsencrypt_20171204164155/localmirror: false
repository/online/component/letsencrypt_20171204164155/server: https://appcenter.software-univention.de
repository/online/component/letsencrypt_20171204164155/unmaintained: disabled
repository/online/component/letsencrypt_20171204164155/version: current
repository/online/component/letsencrypt_20171204164155: enabled
repository/online/component/openvpn4ucs_20170615122531/description: OpenVPN4UCS
repository/online/component/openvpn4ucs_20170615122531/localmirror: false
repository/online/component/openvpn4ucs_20170615122531/server: https://appcenter.software-univention.de
repository/online/component/openvpn4ucs_20170615122531/unmaintained: disabled
repository/online/component/openvpn4ucs_20170615122531/version: current
repository/online/component/openvpn4ucs_20170615122531: enabled
repository/online/component/opsi_20170809125854/description: opsi - Client Management
repository/online/component/opsi_20170809125854/localmirror: false
repository/online/component/opsi_20170809125854/server: https://appcenter.software-univention.de
repository/online/component/opsi_20170809125854/unmaintained: disabled
repository/online/component/opsi_20170809125854/version: current
repository/online/component/opsi_20170809125854: enabled
repository/online/component/ucc_20160811170611/description: Univention Corporate Client 3.0
repository/online/component/ucc_20160811170611/localmirror: false
repository/online/component/ucc_20160811170611/server: https://appcenter.software-univention.de
repository/online/component/ucc_20160811170611/unmaintained: disabled
repository/online/component/ucc_20160811170611/version: current
repository/online/component/ucc_20160811170611: enabled
repository/online/httpmethod: <empty>
repository/online/port: <empty>
repository/online/prefix: univention-repository
repository/online/server: central.c-corp.org
repository/online/sources: <empty>
repository/online/timeout: <empty>
repository/online/unmaintained: yes
repository/online/verify: <empty>
repository/online: yes

Freue mich über Hilfe.

Grüße

Alex


#2

Nahmd,

ich denke, man sollte entweder den Mirror auf diesem System fixen (siehe http://docs.software-univention.de/handbuch-4.2.html#software::createrepo) oder diese Variable auf https://updates.software-univention.de/ setzen.

hth,
Dirk Ahrnke


#3

Diese beiden UCR Variablen zusammen führen dazu, das der Updater probiert, http://central.c-corp.org/univention-repository/ als Paket-Depot für UCS zu verwenden. Das existiert dort aber scheinbar nicht.
Von daher wie @ahrnke beschrieben hat den “richtigen” Server konfigurieren.

PS: “repository/online/prefix” ist veraltet und wird nicht mehr verwendet, sobald man unter “repository/online/server” eine vollständige URL http[s]://$hostname[:$port]/$path/ angibt und nicht nur einen Hostnamen.