LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-17-2005, 08:57 PM   #1
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
rpm -e & yum -remove. Easy questions.


Noticed that up2date has an upraded version of evolution and evolution-data-server for me. Since I've switched to Thunderbird, I don't want 'em. Decided to remove them from the system. Getting rid of evolution was uneventful, but rpm -e evolution-data-server returns ... libebook.so.8 is needed by (installed) gaim-1.1.4-1.FC3.i386.

# 'locate' tells me that libebook.so.8 is located in /usr/lib/. That's a good place for it. Is there a way to get rpm -e to go ahead and remove evolution-data-server leaving libebook.so.8 alone so that Gaim can still use it?

Also ... when I (shortly) start using yum instead of rpm, will I still be able to use rpm to remove programs, or will I have to use whichever one I used to install it?
 
Old 03-18-2005, 01:39 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
It is likely that removing the data-server package will remove the libebook package. It automated and you will lose it. What you could do is go to the RPMFind site and download just that library, remove the Evolution package and reinstall the libebook rpm by hand.

And you can use manual rpms and YUM at the same time.
 
Old 03-18-2005, 03:11 PM   #3
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
Re: rpm -e & yum -remove. Easy questions.

Quote:
Also ... when I (shortly) start using yum instead of rpm, will I still be able to use rpm to remove programs, or will I have to use whichever one I used to install it?
Yum accesses the same single RPM database below /var/lib/rpm, so you can switch freely between yum, rpm and up2date. No problems. Just make sure, yum and up2date access the same remote repositories. That means, they fetch packages from the same sources.
 
Old 03-18-2005, 05:44 PM   #4
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Original Poster
Rep: Reputation: 62
<Just make sure, yum and up2date access the same remote repositories.>

Thanks. Don't think I want to hassle with coordinating yum and up2date. Even if I did, I might well have things I installed with rpm when it was getting things from a different repo. I'll start using yum sometime when I do a fresh Fedora install.

I'm more disappointed that I can't ignore shared files when I'm deleting an unwanted program. Even Windows lets me do that.
 
Old 03-18-2005, 06:25 PM   #5
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
Quote:
I'm more disappointed that I can't ignore shared files when I'm deleting an unwanted program. Even Windows lets me do that.
No, it doesn't. You want to delete a library, which is needed by an installed program. That's only possible if you break package dependencies by deleting the file manually or removing the package, ignoring dependencies. Be prepared to deal with a broken application then.
 
Old 03-18-2005, 06:48 PM   #6
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Original Poster
Rep: Reputation: 62
<< Even Windows lets me do that.>>
<No, it doesn't.>

I have often deleted programs from Windows and gotten a message that some related files may be shared by other programs; do I want to delete those as well? Of course, the answer to that is, 'No.' It doesn't even give me a clue what other programs may be affected. ... but it does delete the package, leaving the (possibly) shared files. Very clumsy and MS-like.

<You want to delete a library, which is needed by an installed program. That's only possible if you break package dependencies by deleting the file manually or removing the package, ignoring dependencies.>

Without understanding the internal intricacies of rpm -e; from external appearances, there is a simple step missing from rpm by which the problem could be handled nicely. Rather than simply collapsing at the discovery of a conficting dependency, perhaps rpm -e could say, 'usr/lib/libebook.so.8 is needed by (installed) gaim-1.1.4-1.FC3.i386, Delete anyway? (Y/N)'
 
Old 03-19-2005, 04:08 AM   #7
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
Quote:
I have often deleted programs from Windows and gotten a message that some related files may be shared by other programs; do I want to delete those as well? Of course, the answer to that is, 'No.' It doesn't even give me a clue what other programs may be affected. ... but it does delete the package, leaving the (possibly) shared files. Very clumsy and MS-like.
Is that desirable? I doubt that. Installation of the shared file already permitted to overwrite existing files and replace them with a different, probably messed up or incompatible version.

With RPM you would achieve the same by installing and upgrading packages with --replacefiles (an option implicitly included in the --force option). That would allow packages to overwrite already installed files, e.g. libraries shared with other packages, and then a file would belong to multiple packages.

But to ask for deletion of a shared file and leave broken packages in place, is an irrationale request.

Quote:
Without understanding the internal intricacies of rpm -e; from external appearances, there is a simple step missing from rpm by which the problem could be handled nicely. Rather than simply collapsing at the discovery of a conficting dependency, perhaps rpm -e could say, 'usr/lib/libebook.so.8 is needed by (installed) gaim-1.1.4-1.FC3.i386, Delete anyway? (Y/N)'
No. If you really want to delete a shared and hence required package, you are free to do that with e.g. "rpm --erase --nodeps packagename". This is an option for the experienced administrator, not something Joe User should be able to do with a click of the mouse button and answering "Yes" to a question.

RPM and package tools like Yum just prefer sane defaults.
 
Old 03-28-2005, 07:33 AM   #8
johnnydangerous
Member
 
Registered: Jan 2005
Location: Sofia, Bulgaria
Distribution: Fedora Core 4 Rawhide
Posts: 431

Rep: Reputation: 30
here comed the rpm -e --force which is highly not recommended in general
 
Old 12-25-2005, 12:29 PM   #9
alex2k4
LQ Newbie
 
Registered: Oct 2005
Distribution: Fedora Core 4
Posts: 3

Rep: Reputation: 0
On this subject...I have a FC4 box and when I try to install Gnomemeeting form source I get an error about libebook no being intaled. I checked and it isn't in usr/lib. I tried RPMFind but couldn't find it. Where do i get libebook from?
Thanks
 
Old 12-25-2005, 01:50 PM   #10
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
gnomemeeting is included with FC4.

But you can run yum install evolution-data-server-devel to install the package which contains the development pieces for libebook.

Also compare with: yum whatprovides /usr/lib/libebook-1.2.so
 
Old 12-26-2005, 10:46 AM   #11
Hirszu
Member
 
Registered: Mar 2005
Distribution: Ubuntu 7.10
Posts: 40

Rep: Reputation: 15
Don't know if that work, but if I search for RPMs, then only on rpm.pbone.net!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum remove daacosta Fedora 8 10-27-2005 10:37 AM
yum version yum-2.0.5-0.9.2.legacy.noarch.rpm master Red Hat 6 05-13-2005 03:03 PM
Newbie questions: about Apache & RPM tiger0516 Linux - Newbie 2 08-12-2004 06:35 PM
Yum & APT-Rpm Obie Linux - Security 8 08-05-2004 11:04 PM
What is an easy way to Remove Samba ikw38 Linux - Networking 7 07-08-2003 02:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration