LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 12-03-2002, 06:33 PM   #1
robgo777
Member
 
Registered: Nov 2002
Posts: 35

Rep: Reputation: 15
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
 
Old 12-03-2002, 06:36 PM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Have you tried using rpm with the switches 'nodeps' or even 'force' if you're feeling brave?
 
Old 12-03-2002, 06:51 PM   #3
robgo777
Member
 
Registered: Nov 2002
Posts: 35

Original Poster
Rep: Reputation: 15
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
 
Old 12-03-2002, 07:30 PM   #4
shelby
Member
 
Registered: Nov 2002
Location: Rio Rancho, NM
Distribution: RHEL, CentOS & Ubuntu
Posts: 90

Rep: Reputation: 15
Try instead to upgrade the package "rpm -Uvh package name"....If you want to force it, then "rpm -ivh --force --nodeps packagename"....Good luck
 
Old 12-03-2002, 07:46 PM   #5
masinick
Member
 
Registered: Apr 2002
Location: Greenville, SC
Distribution: Debian, antiX, MX Linux
Posts: 639
Blog Entries: 16

Rep: Reputation: 104Reputation: 104
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.
 
Old 12-03-2002, 08:11 PM   #6
robgo777
Member
 
Registered: Nov 2002
Posts: 35

Original Poster
Rep: Reputation: 15
Thanks everyone, that is what I needed.

rob
 
Old 12-03-2002, 08:48 PM   #7
newpenguin
Member
 
Registered: Sep 2002
Location: lahore pakistan
Distribution: slackware,redhat, FreeBSD,openbsd
Posts: 219

Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help removing .rpm SuSe 9.2 Pro Lleb_KCir Linux - Software 3 07-29-2005 11:48 AM
Removing rpm program leonidg Linux - Software 2 12-26-2004 01:25 AM
Rpm removing???? jiggywiggy Linux - Software 13 09-28-2003 07:19 PM
removing an rpm thelight1 Linux - Newbie 3 08-02-2003 07:49 PM
can RPM removing all packages I have install? Embeder Linux - General 4 06-13-2003 10:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:26 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