Subject: | |
From: | |
Reply To: | |
Date: | Fri, 13 Jul 2007 09:40:42 +0100 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
vivek chal wrote:
> hi all!
>
> i am not able to uninstall a rpm package in SL3.0.6 .i have used commands
> rpm -e packagename
> rpm -evv packagename
> rpm -e --nodeps packagename
> rpm -e --noscripts packagename
>
> i think i have deleted the package directory by mistake .now what should
> i do to remove the package completely,so that i can reinstall a fresh copy
Please give us the error messages - you might be able to rebuild your
RPM database for instance.
However, if all you want to do is "reinstall a fresh copy" this is easy:
rpm --install --replace-pkgs packagename.rpm
This will do exactly what you want - replace the existing RPM with the
files from packagename.rpm and also run the post install script.
--
John Hearns
Senior HPC Engineer
Streamline Computing,
The Innovation Centre, Warwick Technology Park,
Gallows Hill, Warwick CV34 6UW
Office: 01926 623130 Mobile: 07841 231235
|
|
|