LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-27-2006, 10:11 AM   #1
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Rep: Reputation: 68
Rpm ??


Is there a rpm command that will check for duplicates of the same
packages.
I have problems of getting old and new version of the same rpm packages.

Jim
 
Old 10-27-2006, 10:20 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Yes, rpm can do this, for example;

rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}\n" 'foo*' | sort
 
Old 10-27-2006, 10:59 AM   #3
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Original Poster
Rep: Reputation: 68
That is good as far as seeing if there is two versions of foo,
But I want rpm to let me know if there are duplicates of unknown
packages.
I'm finding during Yum updates that I'm getting conflicts between
packages that are to be updated and packages installed, and it's always
duplicate packages of the same packages, but different versions

Last edited by mickeyboa; 10-27-2006 at 11:04 AM.
 
Old 10-27-2006, 12:37 PM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
You replace the foo part with whatever package your having a problem with;

$ rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}\n" 'device*' | sort
device-mapper-1.02.09-1.0.RHEL5.i386
device-mapper-1.02.09-1.0.RHEL5.x86_64
device-mapper-multipath-0.4.7-5.x86_64


FYI: mixing to many different repos can cause problems like what your describing. Also if your running a mixed mode environment (32 and 64 bit apps and libs) then yum at times can be a problem.

It might help if you could show an actual problem instead of describing what you see.
 
  


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
counter part of "rpm -ivh --force kernel....rpm in slackware b0nd Slackware 2 01-28-2006 07:46 PM
rpm -Uvh does not work with header & rpm files in /var/spool/up2date jd_no7 Linux - Software 1 05-17-2004 05:24 PM
How do I force an older rpm to install over a newer rpm of wine onyx Linux - Software 4 02-20-2004 12:44 AM
rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions" dlrsims Linux - Newbie 2 11-14-2003 09:22 PM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 07:19 AM

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

All times are GMT -5. The time now is 07:33 PM.

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