[Installer] RPM Uninstall Experiment
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > [Installer] RPM Uninstall Experiment




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [Installer] RPM Uninstall Experiment  
Ole Ersoy


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-15-07 12:11 AM

Well - I still need to do the actual experiment,
but here's how I would set it up, and I suspect
that just looking at this might be enough to figure
out why the current RPM only uninstalls the /etc/init.d/apacheds file,
in case this helps with the release process.

OK - First I would create a bogus spec file...

Then I would put something like this in it:
%files
%defattr(-,root,root)
/usr/local/bin/indent
%doc /usr/local/info/indent.info
%doc %attr(0444,root,root) /usr/local/man/man1/indent.1
%doc COPYING AUTHORS README NEWS

These are the files that I want to RPM to install.

Now RPM officially knows about the files to be installed, since I listed
them in them under the %files macro.

So since it knows about them, I would think it it would
remove them when I do

rpm -e bogus-package

I'm guessing that the ADS rpm
just copies the files to the file
system without officially declaring
them in the %files macro.

Hence they all have root permissions
and no uninstallee.

Cheers,
- Ole







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:32 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register