Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

"rpm -e" do not remove the program and symbolic link

 
   Soft32 Home -> Linux -> Partner Relationship Management RSS
Next:  [PATCH -rt 1/8] introduce PICK_FUNCTION  
Author Message
wong_powah

External


Since: Jul 09, 2007
Posts: 18



(Msg. 1) Posted: Tue Aug 28, 2007 9:58 am
Post subject: "rpm -e" do not remove the program and symbolic link
Archived from groups: linux>redhat>rpm (more info?)

I created a rpm (.spec file) to install a program and create a
symbolic link to it. After I do "rpm -e" to remove the package, the
program and symbolic link still exist, how to fix this problem?
Back to top
Login to vote
Michal Jaegermann

External


Since: Jul 20, 2003
Posts: 70



(Msg. 2) Posted: Wed Aug 29, 2007 12:36 pm
Post subject: Re: "rpm -e" do not remove the program and symbolic link [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

wong_powah.TakeThisOut@yahoo.ca wrote:
> I created a rpm (.spec file) to install a program and create a
> symbolic link to it. After I do "rpm -e" to remove the package, the
> program and symbolic link still exist, how to fix this problem?

If that program and symbolic link are listed in %files section, _and_
they are not owned by some other package, then 'rpm -e ...' should
remove those things. You can try 'rpm -e -vvv ...' to watch what
happens and that may give you clues.

If you created elements above in %post scripts then you have to remove
those in %preun or %postun. You have to be careful then not to clobber
what should be left if you are updating.

One possibility for a file to end up in multiple installed packages is
when you have duplicates and that is the easiest to get by updating
packages with broken package scripts.

Michal
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Symbolic link to java problem - I did a fresh install of RH 9 without mozilla. I used Galeon to get Mozilla 1.5 and installed this ok into..

rpm -e does not remove the package...? - Hi all! When I type: rpm -e gcc-gnat I get the following output: /usr/share/info/dir: could not read (No such..

How to remove i686 pkg without touch x86_64 one? - Hi, I've got an RHEL4 x86_64 system that I installed a while ago. I was doing some maintenance on it, and noticed..

Please help me to remove/Update the Openssl default RPM pa.. - Please help me to remove the RPM Openssl default package with Linux 4 Red Hat Enterprise Server. [root@nethsm logs]#..

Where to find php-4.3.0 or above for RH 8.0? - I have been searching for the referenced php rpm for RH 8 and the latest I could find was 4.2.2.17 which is a long way....

cd & dvd nero burning for RedHat8.0 - Hello, Is there an alternative burning programm available for rh8.0 which is looking and working the same as the well....
       Soft32 Home -> Linux -> Partner Relationship Management All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]