RPM Community Forums

Mailing List Message of <rpm-users>

Single RPM database, multiple platforms

From: Jeff Putsch <putsch@mxim.com>
Date: Tue 03 Mar 2009 - 22:57:21 CET
Message-Id: <F13E0EF8-7FF8-4692-8A97-AA1B97EE7495@mxim.com>
Howdy,

I'm installing custom built rpm packages for multiple platforms (CPU- 
any-OS) on a single NFS shared filesystem. The platforms for the  
packages are defined by CPU and OS as in the following example:

    amd64-any-rhel3
    amd64-any-rhel4
    sparc64-any-solaris8

etc.

Installation is working quite well. With my initial test packages I  
can have the following packages simultaneously installed:

   foo-1.0-1.amd64-rhel4.rpm
   foo-1.0-1.amd64-rhel3.rpm
   foo-1.0-1.sparc64-solaris8.rpm

I'm hitting a snag when it comes to removing the packages:

  rpm -e foo

yields an error: "foo-1.0-1.amd64 specifies multiple packages.

I know I can use "--allmatches" to remove all the "foo" packages, but  
let's assume I want to remove ONLY the amd64-rhel3 package. How do I  
do that?

Thanks in advance for any guidance you can provide,

Jeff.

--
Jeff Putsch
Email: putsch@mxim.com
Office: 503.267.5480
Horse ... Water ... Drink.
Received on Tue Mar 3 23:42:47 2009
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.