LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 09-01-2004, 07:55 PM   #1
kougar
LQ Newbie
 
Registered: Jun 2004
Distribution: Mandrake 10 Official
Posts: 8

Rep: Reputation: 0
RPM Conflicting Package Error


When attempting to install things using RPMs, I occasionally run into errors saying that a package I'm installing conflicts with an existing one, and it aborts. When this happens, is there anything I can do to bypass, or do I need to remove the conflicting package?
 
Old 09-01-2004, 09:21 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,593

Rep: Reputation: 188Reputation: 188
"When attempting to install things using RPMs, I occasionally run into errors saying that a package I'm installing conflicts with an existing one, and it aborts. When this happens, is there anything I can do to bypass, or do I need to remove the conflicting package?"

What this error message usually means is that the two packages have one or more files in common. You can list the files in the installed package with:

rpm -ql ipackagename | less

You can list the files in the second package that you are trying to install with:

rpm -qpl /pathname/spackagename | less

Check the two lists for duplicate file names. If there are duplicate file names you can replace the existing files with the new files with:

rpm --force -i /pathname/spackagename

Whether the new files will work OK with the rest of the old package is anybody's guess.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
error: conflicting types for `IPPROTO_IP' Anastasia Linux - Software 0 07-14-2005 07:12 AM
conflicting types error in parser.c snecklifter Programming 6 04-08-2005 07:59 PM
Error message trying to rebuild a rpm package JonyKyte Linux - Newbie 4 02-25-2004 06:48 PM
can reinstall the rpm package without delete the rpm package eye Red Hat 1 10-20-2003 08:53 AM
RPM Package Conflict Error Wicksy Linux - General 5 09-09-2003 12:26 PM


All times are GMT -5. The time now is 03:59 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration