What is the correct way to remove a product

Antworten
bobzbobz
Beiträge: 169
Registriert: 30 Nov 2012, 10:41
Wohnort: Denmark

What is the correct way to remove a product

Beitrag 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?
Benutzeravatar
ueluekmen
uib-Team
Beiträge: 1939
Registriert: 28 Mai 2008, 10:53

Re: What is the correct way to remove a product

Beitrag 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.
opsi support - uib gmbh
For productive opsi installations we recommend support contracts.
http://www.uib.de
mmullenders
Beiträge: 6
Registriert: 27 Dez 2012, 22:26
Wohnort: Roermond, The Netherlands

Re: What is the correct way to remove a product

Beitrag 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
Antworten