Seite 1 von 1

What is the correct way to remove a product

Verfasst: 21 Jan 2013, 12:51
von bobzbobz
Hi

What is the correct way to remove a product/package completly?

First i use the command:

Code: Alles auswählen

opsi-package-manager -r <package>
But then what? Do i just delete the package-folder or is there some other way i should do that?

Re: What is the correct way to remove a product

Verfasst: 21 Jan 2013, 15:12
von ueluekmen
Hi,

this command deletes the product from backend. With all entries for the depotserver, the client-states and property settings and the folder in depot-Share. But not the opsi-File and nothing from opsi-Workbench.

If you have installed these package on other depotservers too, this package will not be deleted from complete backend.

Re: What is the correct way to remove a product

Verfasst: 12 Feb 2013, 13:58
von mmullenders
Hi BobzBobz,

What I do is:
From the terminal.
- first list all installed packages: # opsi-package-manager -l
Product ID Version Name
==============================================================
config-win-base 4.0.1-1 Windows Customizing
hwaudit 4.0.5-1 Client Hardwareinventarisierung
hwinvent 4.0-1 Hardware Inventarisierung
javavm 1.6.0.33-2 Oracle Java Runtime Environment
opsi-winst 4.11.3.3-1 winst
opsi-winst-test 4.11.3-3 opsi-winst test
shutdownwanted 1.0-4 shutdown wanted
sophos-winxp 1.0-1 Sophos-WinXP
etc etc etc

- then look for the right Product ID name of the package you want to remove.
- execute # opsi-package-manager -r sophos-winxp
Message appears that it's successful removed
In the OPSI Config Editor hit the reload button and your package will disappear from the list.
- at last remove the files from the workbench directory.

Kind regards,

Maurice