opsi-product-updater

Antworten
langerwo
Beiträge: 4
Registriert: 31 Jul 2013, 15:02

opsi-product-updater

Beitrag von langerwo »

Hallo miteinander

ich wollte meinen Opsi Server mit dem Befehl

opsi-product-updater -i -vv

auf stand halten, das hat wohl auch geklappt, ich hatte nur einige verbindungsfehler wegen unserem Proxy sodass einige Dateien erneut gezogen wurden

darauf hin habe ich den Befehl erneut ausgeführt und bekam das

Code: Alles auswählen

Zsync command found: /usr/bin/zsync
Reading config file '/etc/opsi/opsi-product-updater.conf'
Getting installed products
Getting info for local packages in '/var/lib/opsi/repository'
Getting package infos from repository 'http://download.uib.de'
config-win-base_4.0.1-1.opsi - installation not required: installed version '4.0.1-1' of product 'config-win-base' is up to date
hwaudit_4.0.5-1.opsi - installation not required: installed version '4.0.5-1' of product 'hwaudit' is up to date
javavm_1.6.0.33-2.opsi - installation not required: installed version '1.6.0.33-2' of product 'javavm' is up to date
jedit_5.0.0-3.opsi - installation not required: installed version '5.0.0-3' of product 'jedit' is up to date
opsi-adminutils_4.0.3-1.opsi - installation not required: installed version '4.0.3-1' of product 'opsi-adminutils' is up to date
opsi-client-agent_4.0.3.1-2.opsi - installation not required: installed version '4.0.3.1-2' of product 'opsi-client-agent' is up to date
opsi-template-with-admin_4.0.2-2.opsi - installation not required: installed version '4.0.2-2' of product 'opsi-template-with-admin' is up to date
opsi-template_4.0.2-2.opsi - installation not required: installed version '4.0.2-2' of product 'opsi-template' is up to date
opsi-winst-test_4.11.3.5-1.opsi - installation not required: installed version '4.11.3.5-1' of product 'opsi-winst-test' is up to date
opsi-winst_4.11.3.6-1.opsi - installation not required: installed version '4.11.3.6-1' of product 'opsi-winst' is up to date
shutdownwanted_1.0-4.opsi - installation not required: installed version '1.0-4' of product 'shutdownwanted' is up to date
swaudit_4.0.2-1.opsi - installation not required: installed version '4.0.2-1' of product 'swaudit' is up to date
hwinvent_4.0-1.opsi - installation not required: installed version '4.0-1' of product 'hwinvent' is up to date
memtest86_3.5b-1.opsi - installation not required: installed version '3.5b-1' of product 'memtest86' is up to date
ntfs-restore-image_4.0-1.opsi - installation not required: installed version '4.0-1' of product 'ntfs-restore-image' is up to date
ntfs-write-image_4.0-1.opsi - installation not required: installed version '4.0-1' of product 'ntfs-write-image' is up to date
win2k_4.0.3-1.opsi - installation not required: installed version '4.0.3-1' of product 'win2k' is up to date
win7-x64_4.0.3-2.opsi - installation not required: installed version '4.0.3-2' of product 'win7-x64' is up to date
win7_4.0.3-2.opsi - installation not required: installed version '4.0.3-2' of product 'win7' is up to date
win8-x64_4.0.3-2.opsi - installation not required: installed version '4.0.3-2' of product 'win8-x64' is up to date
win8_4.0.3-2.opsi - installation not required: installed version '4.0.3-2' of product 'win8' is up to date
win2003-r2-x64_4.0.3-1.opsi - installation not required: installed version '4.0.3-1' of product 'win2003-r2-x64' is up to date
win2003_4.0.3-1.opsi - installation not required: installed version '4.0.3-1' of product 'win2003' is up to date
win2008-r2_4.0.3-2.opsi - installation not required: installed version '4.0.3-2' of product 'win2008-r2' is up to date
win2008-x64_4.0.3-2.opsi - installation not required: installed version '4.0.3-2' of product 'win2008-x64' is up to date
win2008_4.0.3-2.opsi - installation not required: installed version '4.0.3-2' of product 'win2008' is up to date
win2012_4.0.3-2.opsi - installation not required: installed version '4.0.3-2' of product 'win2012' is up to date
winvista-x64-msdn_4.0.3-2.opsi - installation not required: installed version '4.0.3-2' of product 'winvista-x64-msdn' is up to date
winvista-x64_4.0.3-2.opsi - installation not required: installed version '4.0.3-2' of product 'winvista-x64' is up to date
winvista_4.0.3-2.opsi - installation not required: installed version '4.0.3-2' of product 'winvista' is up to date
winxppro-x64_4.0.3-1.opsi - installation not required: installed version '4.0.3-1' of product 'winxppro-x64' is up to date
winxppro_4.0.3-1.opsi - installation not required: installed version '4.0.3-1' of product 'winxppro' is up to date
wipedisk_1.0-2.opsi - installation not required: installed version '1.0-2' of product 'wipedisk' is up to date

an sich sieht das alle schon gut aus

ich wollte dann einen neuen client mit dem opsi client agent bespielen

also ab ins /opt/pcbin/install/opsi-client-agent#

jedoch fehlen mir wichtige dateien .... ein ls -la zeigt folgendes

Code: Alles auswählen

/opt/pcbin/install/opsi-client-agent# ls -la
total 8608
drwxrws---  3 opsiconfd pcpatch    4096 Jul 31 12:50 .
drwxrws--- 44 opsiconfd pcpatch    4096 Jul 31 12:52 ..
-rw-r--r--  1 root      pcpatch       0 Oct 22  2012 ???
-rw-r--r--  1 root      pcpatch     136 Jul 25 18:03 adminpc
-rw-rw----  1 opsiconfd pcpatch   76854 Aug 26  2010 opsi.bmp
-rw-rw----  1 opsiconfd pcpatch   50533 Oct 22  2012 opsi-client-agent.files
drwxrws---  2 opsiconfd pcpatch    4096 Oct 22  2012 utils
-rwxrwxrwx  1 root      pcpatch 8640942 Nov 22  2010 winexe


Mir fehlt also des deploy client ... ich glaube dass das Update nicht ganz geklapp hat , wie kann ich das gerade ziehen ? gibt es für den Updater einen "force" Befehl??
ich möchte ungern neu aufsetzen, da mein Opsi server bis zu dem Update richtig gut lief

Gruß

Wolfgang

soeben habe ich versucht

opsi-package-manager -r -f opsi-client-agent

und bekam als antwort

Code: Alles auswählen

Errors occured:
   Failure while processing Uninstall of package(s) opsi-client-agent on depot 'o2vopsi1.aoslw.site':
      Backend error: Failed to uninstall product 'opsi-client-agent' on depot 'o2vopsi1.aoslw.site': 'ascii' codec can't decode byte 0xa8 in position 3: ordinal not in range(128) (error on server)
Oh Mann :?
Benutzeravatar
Thomas_H
Beiträge: 525
Registriert: 09 Jun 2010, 11:57
Wohnort: Havelland

Re: opsi-product-updater

Beitrag von Thomas_H »

Moinsens,

indeed, da fehlt einiges:
minhas-tirith:~ # ls -la /opt/pcbin/install/opsi-client-agent/
insgesamt 4432
drwxrws--- 5 opsiconfd pcpatch 4096 12. Jul 10:54 .
drwxrws--- 56 opsiconfd pcpatch 4096 23. Jul 15:21 ..
drwxrws--- 2 opsiconfd pcpatch 4096 12. Jul 10:54 extended-scripts
drwxrws--- 3 opsiconfd pcpatch 4096 12. Jul 10:54 files
-rw-rw---- 1 opsiconfd pcpatch 76854 16. Jan 2013 opsi.bmp
-rw-rw---- 1 opsiconfd pcpatch 37118 12. Jul 10:54 opsi-client-agent.files
-rwxrwx--- 1 opsiconfd pcpatch 14588 16. Jan 2013 opsi-deploy-client-agent
-rwxrwx--- 1 opsiconfd pcpatch 16937 16. Jan 2013 opsi-deploy-client-agent-old
-rw-rw---- 1 opsiconfd pcpatch 2737 16. Jan 2013 service_setup.cmd
-rw-rw---- 1 opsiconfd pcpatch 38 16. Jan 2013 silent_setup.cmd
drwxrws--- 2 opsiconfd pcpatch 4096 12. Jul 10:54 utils
-rwxrwx--- 1 opsiconfd pcpatch 4351062 22. Nov 2010 winexe
Am besten mal auf dem opsi-server direkt mittels

Code: Alles auswählen

wget http://download.uib.de/opsi_stable/products/localboot/opsi-client-agent_4.0.3.1-2.opsi
das Paket ziehen und dann mittels

Code: Alles auswählen

opsi-package-manager -i opsi-client-agent_4.0.3.1-2.opsi
neu installieren. Dann kannst Du Dir vielleicht die Deinstallation sparen.

Gruß

Thomas_H
Kennst Du schon die WIKI für OPSI-Scripte? Fertige Installationsscripte bekommen und ablegen unter OPSI-Wiki
Aus dem Glashaus :) : UIB bietet auch Schulungen und Supportverträge für Opsi an.
Bild
Antworten