Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Any way to delete just one RPM if multiple architectures e..

 
   Soft32 Home -> Linux -> Partner Relationship Management RSS
Next:  Installing Netscape  
Author Message
John Caruso

External


Since: Jul 19, 2005
Posts: 2



(Msg. 1) Posted: Mon Jul 18, 2005 11:32 pm
Post subject: Any way to delete just one RPM if multiple architectures exist?
Archived from groups: linux>redhat>rpm (more info?)

With 64-bit machines, it's often the case that there are two versions of
a given RPM--i386 and x86_64. But although rpm -e allows you to specify
"--allmatches" to remove all RPMs with a given name, there doesn't appear
to be any way to selectively delete just the RPM for one of the two
architectures while leaving the other one intact. This is as of RHEL4.

Am I missing some option that will let me do this?

- John
Back to top
Login to vote
Michal Jaegermann

External


Since: Jul 20, 2003
Posts: 70



(Msg. 2) Posted: Tue Jul 19, 2005 11:08 am
Post subject: Re: Any way to delete just one RPM if multiple architectures exist? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

John Caruso <johnSPAMcarAWAYuso.DeleteThis@myprivacy.ca> wrote:
> With 64-bit machines, it's often the case that there are two versions of
> a given RPM--i386 and x86_64. But although rpm -e allows you to specify
> "--allmatches" to remove all RPMs with a given name, there doesn't appear
> to be any way to selectively delete just the RPM for one of the two
> architectures while leaving the other one intact. This is as of RHEL4.

I do not have RHEL4 to check that there but try

rpm -e this_package.i386

or

rpm -e this_package.x86_64

You most likely have 'yum'. Although yum will eventually use rpm
to perform actual delete operations something like

yum remove this_package.i386

will likely do, in general, a better job.

Michal
Back to top
Login to vote
John Caruso

External


Since: Jul 19, 2005
Posts: 2



(Msg. 3) Posted: Tue Jul 19, 2005 1:40 pm
Post subject: Re: Any way to delete just one RPM if multiple architectures exist? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2005-07-19, Michal Jaegermann <michal.DeleteThis@gortel.phys.ualberta.ca> wrote:
> John Caruso <johnSPAMcarAWAYuso.DeleteThis@myprivacy.ca> wrote:
>> With 64-bit machines, it's often the case that there are two versions of
>> a given RPM--i386 and x86_64. But although rpm -e allows you to specify
>> "--allmatches" to remove all RPMs with a given name, there doesn't appear
>> to be any way to selectively delete just the RPM for one of the two
>> architectures while leaving the other one intact. This is as of RHEL4.
>
> I do not have RHEL4 to check that there but try
>
> rpm -e this_package.i386

Yep, this works--thanks. In looking at the rpm man page, I don't see a
word about this, which is surprising.

- John
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Multiple packages question - Hi all, I have a problem that's beyond my limited RPM knowledge and need some advice. I have a source tree for..

multiple versions parallel possible? - Hello Group Is it possible to install (e.g.) 2 differnt version of one rpm-package? I have krb5-libs-1.3.4-5 installed...

Multiple RPMs in one RPM archive - Hi there, Is is possible to embed multiple RPMs in one RPM archive? The reason is that we need to upgrade multiple..

multiple entries in RPM database - Hi, I've installed a package during test multiple times using --force. The package is now listed more then once in the...

RPM : Is it possible to relocate a RPM package to multiple.. - Hi Everyone, I am new to Linux and working on creating RPM Packages. The software prerequisite..

Where to find php-4.3.0 or above for RH 8.0? - I have been searching for the referenced php rpm for RH 8 and the latest I could find was 4.2.2.17 which is a long way....
       Soft32 Home -> Linux -> Partner Relationship Management All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]