4.1 -> 4.2 scheitert; console-setup-linux hat Abhängigkeitsprobleme

Hallo Zusammen,
Ich habe versucht eine 4.1 auf eine 4.2 upzudaten

root@ucs01:~# univention-app info
UCS: 4.1-4 errata410
App Center compatibility: 4
Installed: fetchmail=6.3.21 kopano-core=8.1.1.10-8.1-3 kopano-webapp=3.2.0.335-19.1-2 kopano-webmeetings=3.0.0.36 samba4=4.5 z-push-kopano=2.3.6
Upgradable:
root@ucs01:~#

Vor dem Update habe ich Bareos und Owncloud 8.2 deinstalliert.

Leider scheitert das Update. Die Empfehlung dpkg --configure -a zu nutzen bringt folgendes Ergebnis.

root@ucs01:~# dpkg --configure -a
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von console-setup-linux:
console-setup-linux hängt ab von keyboard-configuration (= 1.123A~4.2.0.201609011524); aber:
Version von keyboard-configuration auf dem System ist 1.88.23.201407311431.

dpkg: Fehler beim Bearbeiten des Paketes console-setup-linux (–configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
Fehler traten auf beim Bearbeiten von:
console-setup-linux

Ich hatte vorher noch das Updateproblem mit Postgresql gemäß Threat “4.1 -> 4.2 postgresql update fails and blocks update” gelöst.

Wie kann ich die Abhängigkeit auflösen

Viele Grüße
Matthias Janbeck

Ich habe beide Pakete sowohl unter ucs 4.1 als auch 4.2 installiert.

Im einfachsten Fall sollte schon ein univention-upgrade ausreichen das Problem zu lösen.

apt-cache policy keyboard-configuration console-setup-linux sollten jeweils eine installierbare Version listen.
Bei mir schaut es so aus:

root@master:~# apt-cache policy keyboard-configuration console-setup-linux
keyboard-configuration:
  Installiert:           1.123A~4.2.0.201609011524
  Installationskandidat: 1.123A~4.2.0.201609011524
  Versionstabelle:
 *** 1.123A~4.2.0.201609011524 0
        500 https://updates.software-univention.de/4.2/maintained/ 4.2-0/all/ Packages
        100 /var/lib/dpkg/status
     1.88.23.201407311431 0
        500 https://updates.software-univention.de/4.0/maintained/ 4.0-0/all/ Packages
console-setup-linux:
  Installiert:           1.123A~4.2.0.201609011524
  Installationskandidat: 1.123A~4.2.0.201609011524
  Versionstabelle:
 *** 1.123A~4.2.0.201609011524 0
        500 https://updates.software-univention.de/4.2/maintained/ 4.2-0/all/ Packages
        100 /var/lib/dpkg/status
     1.88.23.201407311431 0
        500 https://updates.software-univention.de/4.0/maintained/ 4.0-0/all/ Packages

Wenn bei dir keine installierbaren Versionen aufgelistet werden, ist etwas im Busch mit den repositories unter /etc/apt/sources.list.d


root@master:/etc/apt/sources.list.d# cat *
#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
#

deb https://updates.software-univention.de/4.0/maintained/ 4.0-0/all/
deb https://updates.software-univention.de/4.0/maintained/ 4.0-0/amd64/
deb https://updates.software-univention.de/4.0/unmaintained/ 4.0-0/all/
deb https://updates.software-univention.de/4.0/unmaintained/ 4.0-0/amd64/
deb https://updates.software-univention.de/4.0/maintained/ 4.0-1/all/
deb https://updates.software-univention.de/4.0/maintained/ 4.0-1/amd64/
deb https://updates.software-univention.de/4.0/unmaintained/ 4.0-1/all/
deb https://updates.software-univention.de/4.0/unmaintained/ 4.0-1/amd64/
deb https://updates.software-univention.de/4.0/maintained/ 4.0-2/all/
deb https://updates.software-univention.de/4.0/maintained/ 4.0-2/amd64/
deb https://updates.software-univention.de/4.0/unmaintained/ 4.0-2/all/
deb https://updates.software-univention.de/4.0/unmaintained/ 4.0-2/amd64/
deb https://updates.software-univention.de/4.0/maintained/ 4.0-3/all/
deb https://updates.software-univention.de/4.0/maintained/ 4.0-3/amd64/
deb https://updates.software-univention.de/4.0/unmaintained/ 4.0-3/all/
deb https://updates.software-univention.de/4.0/unmaintained/ 4.0-3/amd64/
deb https://updates.software-univention.de/4.0/maintained/ 4.0-4/all/
deb https://updates.software-univention.de/4.0/maintained/ 4.0-4/amd64/
deb https://updates.software-univention.de/4.0/unmaintained/ 4.0-4/all/
deb https://updates.software-univention.de/4.0/unmaintained/ 4.0-4/amd64/
deb https://updates.software-univention.de/4.0/maintained/ 4.0-5/all/
deb https://updates.software-univention.de/4.0/maintained/ 4.0-5/amd64/
deb https://updates.software-univention.de/4.0/unmaintained/ 4.0-5/all/
deb https://updates.software-univention.de/4.1/maintained/ 4.1-0/all/
deb https://updates.software-univention.de/4.1/maintained/ 4.1-0/amd64/
deb https://updates.software-univention.de/4.1/unmaintained/ 4.1-0/all/
deb https://updates.software-univention.de/4.1/unmaintained/ 4.1-0/amd64/
deb https://updates.software-univention.de/4.1/maintained/ 4.1-1/all/
deb https://updates.software-univention.de/4.1/maintained/ 4.1-1/amd64/
deb https://updates.software-univention.de/4.1/unmaintained/ 4.1-1/all/
deb https://updates.software-univention.de/4.1/unmaintained/ 4.1-1/amd64/
deb https://updates.software-univention.de/4.1/maintained/ 4.1-2/all/
deb https://updates.software-univention.de/4.1/maintained/ 4.1-2/amd64/
deb https://updates.software-univention.de/4.1/unmaintained/ 4.1-2/all/
deb https://updates.software-univention.de/4.1/unmaintained/ 4.1-2/amd64/
deb https://updates.software-univention.de/4.1/maintained/ 4.1-3/all/
deb https://updates.software-univention.de/4.1/maintained/ 4.1-3/amd64/
deb https://updates.software-univention.de/4.1/unmaintained/ 4.1-3/all/
deb https://updates.software-univention.de/4.1/unmaintained/ 4.1-3/amd64/
deb https://updates.software-univention.de/4.1/maintained/ 4.1-4/all/
deb https://updates.software-univention.de/4.1/maintained/ 4.1-4/amd64/
deb https://updates.software-univention.de/4.1/unmaintained/ 4.1-4/all/
deb https://updates.software-univention.de/4.1/unmaintained/ 4.1-4/amd64/
deb https://updates.software-univention.de/4.2/maintained/ 4.2-0/all/
deb https://updates.software-univention.de/4.2/maintained/ 4.2-0/amd64/
deb https://updates.software-univention.de/4.2/unmaintained/ 4.2-0/all/
deb https://updates.software-univention.de/4.2/unmaintained/ 4.2-0/amd64/

#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
#

deb https://appcenter.software-univention.de/univention-repository/4.2/maintained/component/ ucsschool_20170410003029/all/
deb https://appcenter.software-univention.de/univention-repository/4.2/maintained/component/ ucsschool_20170410003029/amd64/
deb https://appcenter.software-univention.de/univention-repository/4.1/maintained/component/ ucsschool_20170410003029/all/
deb https://appcenter.software-univention.de/univention-repository/4.1/maintained/component/ ucsschool_20170410003029/amd64/
deb https://updates.software-univention.de/4.2/maintained/component/ 4.2-0-errata/all/
deb https://updates.software-univention.de/4.2/maintained/component/ 4.2-0-errata/amd64/
deb https://updates.software-univention.de/4.1/maintained/component/ 4.1-4-errata/all/
deb https://updates.software-univention.de/4.1/maintained/component/ 4.1-4-errata/amd64/
deb https://updates.software-univention.de/4.1/unmaintained/component/ 4.1-4-errata/all/
deb https://updates.software-univention.de/4.1/unmaintained/component/ 4.1-4-errata/amd64/

Oder der Proxy ist evtl. nicht erreichbar?

Benutzt du einen univention Paketspiegel, der vllt. noch kein 4.2 bereithält?

1 Like

Hallo Thomas,
Vielen Dank für die schnelle Hilfe.
Ich habe das Update auf 4.2 vorerst gestoppt, das mit die Auflösung der Partition /usr/ die Kopano-Installation zerschossen hat und der Kopano Core nicht mehr gestartet ist. Da der Kunde am Montag wieder produktiv sein will, habe ich erst einmal ein Backup zurück gespielt. Ich werde da kleinschrittiger vorgehen müssen, denke ich
Viele Grüße
Matthias

Mastodon