Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
When trying to install from an NFS mounted file share with the RHEL Packages, running both "rpm -Uvh --aid httpd...." and "yum localinstall httpd..." fails, even though the dependencies are in the same direcotry.
Version-Release number of selected component (if applicable):
RHEL 6.1 x86-64
How reproducible:
Run commands on a minimal install machine.
Steps to Reproduce:
1.
2.
3.
Actual results:
rpm -Uvh --aid ./httpd-2.2.15-7.el6.x86_64.rpm
warning: ./httpd-2.2.15-7.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f21541eb: NOKEY
error: Failed dependencies:
/etc/mime.types is needed by httpd-2.2.15-7.el6.x86_64
apr-util-ldap is needed by httpd-2.2.15-7.el6.x86_64
httpd-tools = 2.2.15-7.el6 is needed by httpd-2.2.15-7.el6.x86_64
libapr-1.so.0()(64bit) is needed by httpd-2.2.15-7.el6.x86_64
libaprutil-1.so.0()(64bit) is needed by httpd-2.2.15-7.el6.x86_64
yum localinstall httpd-2.2.15-7.el6.x86_64.rpm
Loaded plugins: product-id, subscription-manager
Updating Red Hat repositories.
INFO:rhsm-app.repolib:repos updated: 0
Setting up Local Package Process
Examining httpd-2.2.15-7.el6.x86_64.rpm: httpd-2.2.15-7.el6.x86_64
Marking httpd-2.2.15-7.el6.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package httpd.x86_64 0:2.2.15-7.el6 will be installed
--> Processing Dependency: httpd-tools = 2.2.15-7.el6 for package: httpd-2.2.15-7.el6.x86_64
--> Processing Dependency: /etc/mime.types for package: httpd-2.2.15-7.el6.x86_64
--> Processing Dependency: apr-util-ldap for package: httpd-2.2.15-7.el6.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.2.15-7.el6.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.2.15-7.el6.x86_64
--> Processing Dependency: /etc/mime.types for package: httpd-2.2.15-7.el6.x86_64
--> Finished Dependency Resolution
Error: Package: httpd-2.2.15-7.el6.x86_64 (/httpd-2.2.15-7.el6.x86_64)
Requires: apr-util-ldap
Error: Package: httpd-2.2.15-7.el6.x86_64 (/httpd-2.2.15-7.el6.x86_64)
Requires: httpd-tools = 2.2.15-7.el6
Error: Package: httpd-2.2.15-7.el6.x86_64 (/httpd-2.2.15-7.el6.x86_64)
Requires: libaprutil-1.so.0()(64bit)
Error: Package: httpd-2.2.15-7.el6.x86_64 (/httpd-2.2.15-7.el6.x86_64)
Requires: /etc/mime.types
Error: Package: httpd-2.2.15-7.el6.x86_64 (/httpd-2.2.15-7.el6.x86_64)
Requires: libapr-1.so.0()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Expected results:
Install the package and the dependencies.
Additional info:
This is a minimal install of RHEL 6.1.
Addendum...all the required packages were in the directory and I was able to install manually with no issue. Well, I had to go find out what provides /etc/mime.types, but that wasn't a problem. Not sure if yum or rpm would handle it though. Hope so...
Try:
yum --tmprepo=. install httpd
...after installing the yum-plugin-tmprepo.
If you want an RFE for something that will automatically look in certain directories, I'm inclined to say no without a really good reason.
Comment 4RHEL Program Management
2011-04-22 06:00:29 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.
Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.
This is a blocker for anyone trying to do a local install. The command in Comment #3 has the same issue:
rpm -Uvh yum-plugin-tmprepo-1.1.30-4.el6.noarch.rpm
error: Failed dependencies:
createrepo is needed by yum-plugin-tmprepo-1.1.30-4.el6.noarch
rpm -Uvh yum-plugin-tmprepo-1.1.30-4.el6.noarch.rpm createrepo-0.9.8-4.el6.noarch.rpm
error: Failed dependencies:
deltarpm is needed by createrepo-0.9.8-4.el6.noarch
python-deltarpm is needed by createrepo-0.9.8-4.el6.noarch
The basic functionality of "rpmdb" and "rpm --aid" needs to be retained so that the install process at least can be told to search in the current directory. The current process assumes a significant pre-established deployment of RH services as well as DNS, DHCP, (NFS|HTTP), a yum repository, and network connectivity. For installations that have to build a server off-line, and I have worked at several, the inability to use rpmdb and "--aid" is incredibly problematic.
Was given good instructions my my beloved Red Hat TAM. :)
The issue was in setting up the /etc/yum.repos.d/my_repo file correctly, and then just using "yum install <package>" vice any other options. For example, my config file looks like this:
[RHEL_6_Repository]
baseurl=file:///tmp/testrepo/repos/rhel6
enabled=1
Leam
Description of problem: When trying to install from an NFS mounted file share with the RHEL Packages, running both "rpm -Uvh --aid httpd...." and "yum localinstall httpd..." fails, even though the dependencies are in the same direcotry. Version-Release number of selected component (if applicable): RHEL 6.1 x86-64 How reproducible: Run commands on a minimal install machine. Steps to Reproduce: 1. 2. 3. Actual results: rpm -Uvh --aid ./httpd-2.2.15-7.el6.x86_64.rpm warning: ./httpd-2.2.15-7.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f21541eb: NOKEY error: Failed dependencies: /etc/mime.types is needed by httpd-2.2.15-7.el6.x86_64 apr-util-ldap is needed by httpd-2.2.15-7.el6.x86_64 httpd-tools = 2.2.15-7.el6 is needed by httpd-2.2.15-7.el6.x86_64 libapr-1.so.0()(64bit) is needed by httpd-2.2.15-7.el6.x86_64 libaprutil-1.so.0()(64bit) is needed by httpd-2.2.15-7.el6.x86_64 yum localinstall httpd-2.2.15-7.el6.x86_64.rpm Loaded plugins: product-id, subscription-manager Updating Red Hat repositories. INFO:rhsm-app.repolib:repos updated: 0 Setting up Local Package Process Examining httpd-2.2.15-7.el6.x86_64.rpm: httpd-2.2.15-7.el6.x86_64 Marking httpd-2.2.15-7.el6.x86_64.rpm to be installed Resolving Dependencies --> Running transaction check ---> Package httpd.x86_64 0:2.2.15-7.el6 will be installed --> Processing Dependency: httpd-tools = 2.2.15-7.el6 for package: httpd-2.2.15-7.el6.x86_64 --> Processing Dependency: /etc/mime.types for package: httpd-2.2.15-7.el6.x86_64 --> Processing Dependency: apr-util-ldap for package: httpd-2.2.15-7.el6.x86_64 --> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.2.15-7.el6.x86_64 --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.2.15-7.el6.x86_64 --> Processing Dependency: /etc/mime.types for package: httpd-2.2.15-7.el6.x86_64 --> Finished Dependency Resolution Error: Package: httpd-2.2.15-7.el6.x86_64 (/httpd-2.2.15-7.el6.x86_64) Requires: apr-util-ldap Error: Package: httpd-2.2.15-7.el6.x86_64 (/httpd-2.2.15-7.el6.x86_64) Requires: httpd-tools = 2.2.15-7.el6 Error: Package: httpd-2.2.15-7.el6.x86_64 (/httpd-2.2.15-7.el6.x86_64) Requires: libaprutil-1.so.0()(64bit) Error: Package: httpd-2.2.15-7.el6.x86_64 (/httpd-2.2.15-7.el6.x86_64) Requires: /etc/mime.types Error: Package: httpd-2.2.15-7.el6.x86_64 (/httpd-2.2.15-7.el6.x86_64) Requires: libapr-1.so.0()(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest Expected results: Install the package and the dependencies. Additional info: This is a minimal install of RHEL 6.1.