Bug 152023 - Install-everywhere rpms
Install-everywhere rpms
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Paul Nasrat
Mike McLean
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2005-03-24 09:33 EST by Magnus Fromreide
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-03-24 10:26:20 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Magnus Fromreide 2005-03-24 09:33:36 EST
Description of problem:

It is not possible to create an rpm that is agnostic to the OS that it is to run on.

Version-Release number of selected component (if applicable):

How reproducible:

Create a noarch rpm on linux:

$ rpmbuild --target noarch-- shell-script.spec

Try to install it on a non-linux system:

AIX-host$ rpm -ivh shell-script.noarch.rpm
package shell-script is for a different operating system

Actual results:

Error message

Expected results:

Installed package

Additional info:

This could be worked around by adding a magic OS(noos, in accordance with
noarch?) in rpmrc that is compatible with all other ones but it seems like it is
a feature that could be generally useful so I propose that it is done in the

(The sensitive part of this report is my email address, I would rather not get
it public as it is wounderfully spared from spam right now)
Comment 1 Paul Nasrat 2005-03-24 10:26:20 EST
You can use   --ignoreos at install time to install cross os.  This is a very
niche use for rpm, and you could end up with os based dependencies for even
noarch packages (paths to common tools, accepted flags etc).  As such I don't
think that this feature really is necessary. 

If you disagree probably rpm-devel-list best place to bring up for upstream rpm

Please don't use sensitive for non security issues in future.  Removing security
team and sensitive flag as we by default do not display emails unless you are
logged in.

Note You need to log in before you can comment on or make changes to this bug.