Seite 1 von 2
Problem Aktualisierungen im opsi4.0 VMWare Image
Verfasst: 22 Sep 2010, 09:53
von buxbunny
Hallo Forum,
ich habe mir das ZIP mit dem Image heruntergeladen und unter VMWare Server 1.0.10 eingebunden, Netzwerksetup nach dazugehörigem Handbuch durchgeführt, soweit alles i.O. Das Problem welches das System macht ist die Aktualisierung mit aptitude safe-upgrade. Es wird ein Paket nicht installiert, weil der Hash nicht passt. Hier die dazugehörige Meldung.
Code: Alles auswählen
Schreibe erweiterte Statusinformationen... Fertig
Hole:1 http://download.opensuse.org/repositories/home:/uibmz:/opsi:/opsi40/xUbuntu_10.04/ ./ opsi-configed 3.99.0.5-1 [1.805kB]
1.805kB wurden in 2s heruntergeladen (798kB/s)
Konnte http://download.opensuse.org/repositories/home:/uibmz:/opsi:/opsi40/xUbuntu_10.04/./all/opsi-configed_3.99.0.5-1_all.deb nicht herunterladen: Hash-Summe stimmt nicht überein
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Status-Informationen einlesen... Fertig
Lese erweiterte Statusinformationen
Initialisiere Paketstatus... Fertig
Wie kann ich diesen Fehler beheben?
Weiterhin kann ich auch nicht das Kennwort des pcpatch users ändern, hierzu folgende Meldungen:
Code: Alles auswählen
opsi-admin -d task setPcpatchPassword
[2] Traceback: (Logger.py|707)
[2] line 1509 in '<module>' in file '/usr/bin/opsi-admin' (Logger.py|707)
[2] line 216 in 'main' in file '/usr/bin/opsi-admin' (Logger.py|707)
[2] line 142 in '__init__' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/BackendManager.py' (Logger.py|707)
[2] line 66 in '__init__' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/Depotserver.py' (Logger.py|707)
[2] line 1437 in 'host_getIdents' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/Backend.py' (Logger.py|707)
[2] line 1 in 'host_getObjects' in file '<string>' (Logger.py|707)
[2] line 309 in '_dispatchMethod' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/BackendManager.py' (Logger.py|707)
[2] line 1 in '<module>' in file '<string>' (Logger.py|707)
[2] line 1127 in 'host_getObjects' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/MySQL.py' (Logger.py|707)
[2] line 203 in 'getSet' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/MySQL.py' (Logger.py|707)
[2] line 343 in 'execute' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/MySQL.py' (Logger.py|707)
[2] line 166 in 'execute' in file '/usr/lib/pymodules/python2.6/MySQLdb/cursors.py' (Logger.py|707)
[2] line 35 in 'defaulterrorhandler' in file '/usr/lib/pymodules/python2.6/MySQLdb/connections.py' (Logger.py|707)
[2] ==>>> (1146, "Table 'opsi.HOST' doesn't exist") (opsi-admin|1519)
Vielen Dank für die Unterstützung!
Schönen Gruß,
Bux
Re: Problem Aktualisierungen im opsi4.0 VMWare Image
Verfasst: 22 Sep 2010, 10:25
von wolfbardo
Hallo buxbunny,
nochmals versuchen:
Falls das nix hilft versuchen:
Code: Alles auswählen
wget http://download.opensuse.org/repositories/home:/uibmz:/opsi:/opsi40/xUbuntu_10.04/./all/opsi-configed_3.99.0.5-1_all.deb
MD5-Summe pruefen, sollte
Code: Alles auswählen
md5sum opsi-configed_3.99.0.5-1_all.deb
b8ae164cac2742c8c6ababd934992649 opsi-configed_3.99.0.5-1_all.deb
liefern und mit
installieren und wieder
Wegen
-
buxbunny hat geschrieben:
bitte pruefen/posten
und opsiconfd / opsipxeconfd neu starten.
Gruss
Bardo Wolf
Re: Problem Aktualisierungen im opsi4.0 VMWare Image
Verfasst: 22 Sep 2010, 10:49
von buxbunny
Hallo,
zunächst vielen dank für die superschnelle Antwort - hier auch prompt die Ausgabe von dpkg -l | grep opsi
Code: Alles auswählen
dpkg -l | grep opsi
ii opsi-atftpd 0.7.dfsg-1.4+svn22~lucid advanced TFTP server - opsi version with pcre, fifo and max-blks
ii opsi-configed 3.99.0.5-1 OPSI config editor
ii opsi-depotserver 3.99.3-1 opsi depotserver configuration package
ii opsi-linux-bootimage 20100901-1 Linux-Bootimage fuer das Softwareverteilungssystem OPSI
ii opsi-utils 3.99.1-1 opsi utils
ii opsiconfd 3.99.0.2-1 opsi configuration service
ii opsipxeconfd 3.99.2-1 opsi pxe configuration daemon
ii python-opsi 3.99.0.4-1 opsi python library
Und der opsiconfd läuft scheinbar auch nicht so richtig ...
Code: Alles auswählen
opsiconfd restart
[1] [Sep 22 12:41:51]
==================================================================
= opsi configuration service starting =
==================================================================
(Logger.py|774)
[5] [Sep 22 12:41:51] Starting opsiconfd main thread (opsiconfd.py|2242)
[5] [Sep 22 12:41:53] Modules file signature verified (customer: opsi community - opsi 4.0 rc evaluation - uib gmbh) (MySQL.py|406)
[5] [Sep 22 12:41:54] Added static content '/' which points to directory '/usr/share/opsiconfd/static' (opsiconfd.py|2115)
[2] [Sep 22 12:41:54] Traceback: (Logger.py|707)
[2] [Sep 22 12:41:54] line 2247 in 'run' in file '/usr/lib/pymodules/python2.6/opsiconfd/opsiconfd.py' (Logger.py|707)
[2] [Sep 22 12:41:54] line 2125 in '_createSite' in file '/usr/lib/pymodules/python2.6/opsiconfd/opsiconfd.py' (Logger.py|707)
[2] [Sep 22 12:41:54] line 1 in 'host_getObjects' in file '<string>' (Logger.py|707)
[2] [Sep 22 12:41:54] line 365 in '_executeMethod' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/Backend.py' (Logger.py|707)
[2] [Sep 22 12:41:54] line 1 in '<module>' in file '<string>' (Logger.py|707)
[2] [Sep 22 12:41:54] line 1 in 'host_getObjects' in file '<string>' (Logger.py|707)
[2] [Sep 22 12:41:54] line 365 in '_executeMethod' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/Backend.py' (Logger.py|707)
[2] [Sep 22 12:41:54] line 1 in '<module>' in file '<string>' (Logger.py|707)
[2] [Sep 22 12:41:54] line 1 in 'host_getObjects' in file '<string>' (Logger.py|707)
[2] [Sep 22 12:41:54] line 365 in '_executeMethod' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/Backend.py' (Logger.py|707)
[2] [Sep 22 12:41:54] line 1 in '<module>' in file '<string>' (Logger.py|707)
[2] [Sep 22 12:41:54] line 1 in 'host_getObjects' in file '<string>' (Logger.py|707)
[2] [Sep 22 12:41:54] line 309 in '_dispatchMethod' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/BackendManager.py' (Logger.py|707)
[2] [Sep 22 12:41:54] line 1 in '<module>' in file '<string>' (Logger.py|707)
[2] [Sep 22 12:41:54] line 1127 in 'host_getObjects' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/MySQL.py' (Logger.py|707)
[2] [Sep 22 12:41:54] line 203 in 'getSet' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/MySQL.py' (Logger.py|707)
[2] [Sep 22 12:41:54] line 343 in 'execute' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/MySQL.py' (Logger.py|707)
[2] [Sep 22 12:41:54] line 166 in 'execute' in file '/usr/lib/pymodules/python2.6/MySQLdb/cursors.py' (Logger.py|707)
[2] [Sep 22 12:41:54] line 35 in 'defaulterrorhandler' in file '/usr/lib/pymodules/python2.6/MySQLdb/connections.py' (Logger.py|707)
[2] [Sep 22 12:41:54] ==>>> (1146, "Table 'opsi.HOST' doesn't exist") (opsiconfd.py|2256)
Danke nochmals für die Hilfe!
Schönen Gruß,
Bux
Re: Problem Aktualisierungen im opsi4.0 VMWare Image
Verfasst: 22 Sep 2010, 10:57
von wolfbardo
Hallo,
buxbunny hat geschrieben:
das ist warum auch immer ein "altes" Paket.
Nochmals
durchfuehren, dann sollte
Code: Alles auswählen
dpkg -l | grep opsi-utils
ii opsi-utils 3.99.2-1 opsi utils
installiert sein.
Gruss
Bardo Wolf
Re: Problem Aktualisierungen im opsi4.0 VMWare Image
Verfasst: 22 Sep 2010, 11:01
von buxbunny
Hallo Bardo,
leider findet apt-get update und apt-get dist-upgrade keine neuen Pakete und installiert daher auch nichts neues.
Wie komm ich nun manuell zu diesem Update?
Schönen Gruß,
Bux
Re: Problem Aktualisierungen im opsi4.0 VMWare Image
Verfasst: 22 Sep 2010, 11:19
von wolfbardo
Hallo,
es wird wohl ein Proxy verwendet? Dann bitte eintragen(vgl. getting started: Proxy-Eintrag in apt-Konfiguration).
Ansonsten kann man sich die Pakete auch manuell ziehen: Fuer Ubuntu 10.04 siehe getting started:
http://download.opensuse.org/repositori ... untu_10.04 ./
Gruss
Bardo Wolf
Re: Problem Aktualisierungen im opsi4.0 VMWare Image
Verfasst: 22 Sep 2010, 13:07
von buxbunny
Hallo Bardo,
nein, es wird kein Proxy verwendet - das erste Update hat auch wunderbar geklappt, scheinbar aber nicht richtig/vollständig ...
Beim manuellen Update der opsi-utils fehlt nun das zsync Paket - aptitude install zsync hat nun einige Abhängigkeiten aufgelöst, so dass das System nun scheinbar zerschossen ist ...
Ich starte nochmals neu und kopiere die VM-Dateien in den Server neu rein. Vielleicht klappts dann besser ...
Danke auf jeden Fall bisher für die schnelle Hilfeversuche, sehr lobenswert!
Bux
Re: Problem Aktualisierungen im opsi4.0 VMWare Image
Verfasst: 22 Sep 2010, 13:29
von buxbunny
So, hier ist nun der erste Fehler, den ich beim aptitude safe-upgrade gesehen habe ... es war beim
Code: Alles auswählen
Richte opsi-depotserver ein (3.99.3-1) ...
[5] [Sep 22 15:21:54] Modules file signature verified (customer: opsi community - opsi 4.0 rc evaluation - uib gmbh) (MySQL.py|406)
[3] [Sep 22 15:21:54] (1146, "Table 'opsi.HOST' doesn't exist") (opsi-setup|426)
[5] [Sep 22 15:21:54] Setting rights on directory '/var/lib/opsi' (opsi-setup|464)
dpkg -l | grep opsi lieferte mir folgendes:
Code: Alles auswählen
dpkg -l|grep opsi
ii opsi-atftpd 0.7.dfsg-1.4+svn22~lucid advanced TFTP server - opsi version with pcre, fifo and max-blks
ii opsi-configed 3.99.0.5-1 OPSI config editor
ii opsi-depotserver 3.99.3-1 opsi depotserver configuration package
ii opsi-linux-bootimage 20100901-1 Linux-Bootimage fuer das Softwareverteilungssystem OPSI
ii opsi-utils 3.99.1-1 opsi utils
ii opsiconfd 3.99.0.2-1 opsi configuration service
ii opsipxeconfd 3.99.2-1 opsi pxe configuration daemon
ii python-opsi 3.99.0.4-1 opsi python library
Wenn ich nun versuche opsi utils zu aktualisieren, wird sich wieder das fehlende zsync Paket melden und alle Abhängigkeiten auflösen ...
Wie nun am besten vorgehen?
Vielen Dank!
Bux
Re: Problem Aktualisierungen im opsi4.0 VMWare Image
Verfasst: 22 Sep 2010, 13:42
von wolfbardo
Bitte 1.: pruefen/posten gemaess getting started
Wenn ok, dann
2.:
Code: Alles auswählen
apt-get install zsync
apt-get update
apt-get dist-upgrade
Gruss
Bardo Wo
Re: Problem Aktualisierungen im opsi4.0 VMWare Image
Verfasst: 22 Sep 2010, 21:17
von d.oertel
Hi,
sorry in der VM (RC) gab es noch ein paar Probleme:
In der /etc/apt/sources.list fehlten die Eintragungen für:
Code: Alles auswählen
deb http://de.archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://de.archive.ubuntu.com/ubuntu/ lucid universe
Ohne den Eintrag gibts kein zsync und ohne zsync keine neuen opsi-utils.
Weiterhin fehlen noch die Pakete:
smbfs, p7zip-full
Wir haben eine neue VM hoch geladen bei der das behoben ist. Bei der älteren muss das nachgetragen werden.
gruss
d.oertel