[csw-users] how to remove a package installed by pkg-get

Alex S Moore asmoore at blastwave.org
Wed Oct 5 20:00:24 CEST 2005


Henk SMETS wrote:
> Hi,
> 
> I'm having trouble with my exisiting mysql instance and would like to  
> get rid of it and install a new version. I cannot install a second  
> instance trough pkg-get get. How do I remove the first package of mysql?

For mysql4, run `pkgrm CSWmysql4 CSWmysql4rt`.  This will remove the
programs, but not the database files, my.cnf or log files.

Since you want to start over and assuming that you do not want to keep
any mysql databases, my.cnf or log files, you could also run `rm -Rf
/opt/csw/mysql4`.

Please be sure to read the notes for mysql4 installation by clicking the
'View news and info' button at http:www.blastwave.org/packages/CSWmysql4

Alex





More information about the users mailing list