Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-03-2002, 06:33 PM
|
#1
|
Member
Registered: Nov 2002
Posts: 35
Rep:
|
Help with Removing an RPM
I am trying to upgrade from perl-5.6.0 to perl-5.6.1. When I try to install the new RPM, it says it conflicts with a bunch of files from the older version. If I try to remove the old version by the command:
rpm -e perl-5.6.0, it comes up with a laundry list of packages that depend on perl. How can I upgrade? Is there a way to force the deletion or force the installation?
Thanks
Robert
|
|
|
12-03-2002, 06:36 PM
|
#2
|
Senior Member
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368
Rep:
|
Have you tried using rpm with the switches 'nodeps' or even 'force' if you're feeling brave?
|
|
|
12-03-2002, 06:51 PM
|
#3
|
Member
Registered: Nov 2002
Posts: 35
Original Poster
Rep:
|
Thanks, but you are going to have to tell me how exactly I can use these switches? I am a newbie and my linux manual sucks. I know that the -f switch is force, but I tried
rpm -ef packagename but I only got an error.
Thanks
|
|
|
12-03-2002, 07:30 PM
|
#4
|
Member
Registered: Nov 2002
Location: Rio Rancho, NM
Distribution: RHEL, CentOS & Ubuntu
Posts: 90
Rep:
|
Try instead to upgrade the package "rpm -Uvh package name"....If you want to force it, then "rpm -ivh --force --nodeps packagename"....Good luck
|
|
|
12-03-2002, 07:46 PM
|
#5
|
Member
Registered: Apr 2002
Location: Greenville, SC
Distribution: Debian, antiX, MX Linux
Posts: 639
Rep: 
|
Re: Help with Removing an RPM
Quote:
Originally posted by robgo777
I am trying to upgrade from perl-5.6.0 to perl-5.6.1. When I try to install the new RPM, it says it conflicts with a bunch of files from the older version. If I try to remove the old version by the command:
rpm -e perl-5.6.0, it comes up with a laundry list of packages that depend on perl. How can I upgrade? Is there a way to force the deletion or force the installation?
Thanks
Robert
|
I'd recommend running rpm -Uvh followed by the name of the package, any time you want to change or upgrade software. If you find dependency problems, note the libraries that are affected (jot em on paper or cut and paste them into a text file so you can keep them handy). Then go out to a site like http://rpmfind.net/ and see if you can find those packages. If so, bring them in and install them, also using the U flag to upgrade.
|
|
|
12-03-2002, 08:11 PM
|
#6
|
Member
Registered: Nov 2002
Posts: 35
Original Poster
Rep:
|
Thanks everyone, that is what I needed.
rob
|
|
|
12-03-2002, 08:48 PM
|
#7
|
Member
Registered: Sep 2002
Location: lahore pakistan
Distribution: slackware,redhat, FreeBSD,openbsd
Posts: 219
Rep:
|
here is a tip for you
rpm -e --nodeps `rpm -qa |grep perl`
and do
rpm -e --nodeps `rpm -qa|grep X`
if you wan to get rid off all the X.
|
|
|
All times are GMT -5. The time now is 03:26 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|