Sponsored Content
Full Discussion: RPM failed dependencies
Operating Systems Linux Red Hat RPM failed dependencies Post 302894689 by asc123321 on Wednesday 26th of March 2014 06:12:44 PM
Old 03-26-2014
RPM failed dependencies

I'm trying to package the latest Oracle JDK (1.7.0_51) into an RPM. Packaging works fine but when i try to install via rpm -Uvh xxx.rpm, i get the following:
Code:
#sudo rpm -ivh Sun_JDK7-1.7.0-51.x86_64.rpm 
error: Failed dependencies:
libavcodec.so.52()(64bit) is needed by Sun_JDK7-1.7.0-51.x86_64
libavcodec.so.52(LIBAVCODEC_52)(64bit) is needed by Sun_JDK7-1.7.0-51.x86_64
libavcodec.so.53()(64bit) is needed by Sun_JDK7-1.7.0-51.x86_64
libavcodec.so.53(LIBAVCODEC_53)(64bit) is needed by Sun_JDK7-1.7.0-51.x86_64
libavformat.so.52()(64bit) is needed by Sun_JDK7-1.7.0-51.x86_64
libavformat.so.52(LIBAVFORMAT_52)(64bit) is needed by Sun_JDK7-1.7.0-51.x86_64
libavformat.so.53()(64bit) is needed by Sun_JDK7-1.7.0-51.x86_64
libavformat.so.53(LIBAVFORMAT_53)(64bit) is needed by Sun_JDK7-1.7.0-51.x86_64
libc.so.6(GLIBC_2.11)(64bit) is needed by Sun_JDK7-1.7.0-51.x86_64
libc.so.6(GLIBC_2.7)(64bit) is needed by Sun_JDK7-1.7.0-51.x86_64
libc.so.6(GLIBC_2.8)(64bit) is needed by Sun_JDK7-1.7.0-51.x86_64
libgio-2.0.so.0()(64bit) is needed by Sun_JDK7-1.7.0-51.x86_64
libstdc++.so.6(GLIBCXX_3.4.11)(64bit) is needed by Sun_JDK7-1.7.0-51.x86_64
libstdc++.so.6(GLIBCXX_3.4.9)(64bit) is needed by Sun_JDK7-1.7.0-51.x86_64
libxml2.so.2(LIBXML2_2.4.30)(64bit) is needed by Sun_JDK7-1.7.0-51.x86_64
libxml2.so.2(LIBXML2_2.6.0)(64bit) is needed by Sun_JDK7-1.7.0-51.x86_64
libxml2.so.2(LIBXML2_2.6.6)(64bit) is needed by Sun_JDK7-1.7.0-51.x86_64
libxslt.so.1(LIBXML2_1.0.11)(64bit) is needed by Sun_JDK7-1.7.0-51.x86_64
libxslt.so.1(LIBXML2_1.0.22)(64bit) is needed by Sun_JDK7-1.7.0-51.x86_64
libxslt.so.1(LIBXML2_1.0.24)(64bit) is needed by Sun_JDK7-1.7.0-51.x86_64
libxslt.so.1(LIBXML2_1.1.9)(64bit) is needed by Sun_JDK7-1.7.0-51.x86_64

now if i include AuthReqProv:no in my spec file, i don't run into this issue when installing. the other workaround is that i just install with the --nodeps option.

not sure why this is happening or if it is an issue. how does a package build properly but not install properly? is it worse to set AuthReqProv:no during the rpm build or not to set it and install the rpm with --nodeps?

any ideas on how to resolve these dependencies?

thanks in advance

Last edited by Scott; 03-26-2014 at 07:49 PM.. Reason: Please use code tags. Thanks.
 

10 More Discussions You Might Find Interesting

1. Linux

Failed dependencies of rpm / how does RPM check for ?

Hey, I've a problem installing a package. rpm -ivh brings the errors: libjvm.so is needed by libverify.so is needed by But I have installed the Java SDK like requested and the files are on the disk. But I have no idea how to find out, why rpm cann't find them. I have also... (2 Replies)
Discussion started by: mod
2 Replies

2. Red Hat

RPM and dependencies OPENSSH

Hello Sorry, I am not to well versed in RHE and I am having some issues. I have doen a cursury look around and could not find an answer. I have 2 RHE4 servers. Both have old versions of OPENSSH along with , server, askpass, askpass-gnome, etc. I cannot upgrade to our new pkg release of... (8 Replies)
Discussion started by: mhenryj
8 Replies

3. Red Hat

RPM dependencies fail

Hello, I am trying to install krb5-libs-1.4-4.pp-rh73.i386.rpm on my Red Hat 7.X server, however while installing/upgrading it fails due to dependencies. I checked for these dependencies and i already found them on the server. I wonder why it is giving these errors. I tried copying these... (1 Reply)
Discussion started by: sunny_a_j
1 Replies

4. Shell Programming and Scripting

How to make RPM not write to RPM database if RPM fails to deploy?

How to make RPM not write to RPM database if RPM fails to deploy? IE I create an rpm spec file that contains the following if then exit 1 fi My rpm will fail at deployment, but if I do rpm -qa , I can see the rpm in the rpm db (3 Replies)
Discussion started by: 3junior
3 Replies

5. SuSE

RPM implicit dependencies

Hi, I'm having issues with implicit dependencies for my RPM package. This is the error I'm getting: error: Failed dependencies: libclntsh.so.11.1()(64bit) is needed by geomatica-10.4-0.x86_64 Our software has a dynamically loaded library which links to the Oracle's libclntsh.so.11.1... (2 Replies)
Discussion started by: pneveu
2 Replies

6. SuSE

How to get RPM Dependencies/libs

Hi All, I wanted to install an rpm package on two suse 10 systems. It installed successfully on one system but on the other it throws an error like error: Failed dependencies: rpmlib(PayloadIsLzma) <= 4.4.2-1 is needed by linuxProj-1-1.noarch Now this means that rpnm... (4 Replies)
Discussion started by: dirshah
4 Replies

7. Red Hat

Failed dependencies loop forever

Hello All, I was trying to install one rpm and it failed due to missing dependencies, when I try to look at the dependencies and try to install them it is asking for 100+ dependencies, did any one ever face this problem? how can we fix this? rpm -ivh /var/tmp/erlang-R15B-02.1.el6.x86_64.rpm... (0 Replies)
Discussion started by: lovesaikrishna
0 Replies

8. Linux

Failed dependencies

Hi all, i'm trying to upgrade pandorafms to the new version 4.0.3-130118, actually i have installed on my machine the version 3.0.0-8.1.el5, the error i'm getting when trying to update its the following rpm -Uvh pandorafms_agent_unix-4.0.3-130118.noarch.rpm error: Failed dependencies: ... (1 Reply)
Discussion started by: charli1
1 Replies

9. AIX

Rpm issue with autoconf-2.63-1.AIX6.1.noarch.rpm

dears i am trying to install the autoconf-2.63-1.aix6.1.noarch.rpm but its shows the below error message . P700_dev/svn/dependencies>rpm -i autoconf-2.63-1.aix6.1.noarch.rpm error: failed dependencies: m4 is needed by autoconf-2.63-1 P700_dev/svn/dependencies> (6 Replies)
Discussion started by: thecobra151
6 Replies

10. AIX

Cpio: copy failed - No space left on device when I use rpm

Hello, I want to install GCC gcc-4.8.1-2.src.rpm for AIX 6.1 when I lance my command rpm -i gcc-4.8.1-2.src.rpm I have this error unpacking of archive failed on file gcc-4.8.1.tar.bz2: cpio: copy failed - No space left on device I checked the free space and I am surpise becouse I have... (7 Replies)
Discussion started by: tatab355
7 Replies
PMDARPM(1)						      General Commands Manual							PMDARPM(1)

NAME
pmdarpm - RPM packages performance metrics domain agent (PMDA) SYNOPSIS
$PCP_PMDAS_DIR/rpm/pmdarpm [-C] [-d domain] [-l logfile] [-r path] [-U username] DESCRIPTION
pmdarpm is a Performance Metrics Domain Agent (PMDA) which extracts performance metrics reflecting the state of the RPM package database managed by rpm(1). The rpm PMDA exports metrics that describe each package installed on a system, as well as some cumulative totals. When the RPM database changes the PMDA automatically detects this and uses a background thread to asynchronously refresh its values. A brief description of the pmdarpm command line options follows: -C Verify the package iteration code by scanning the RPM database once, then exiting. Only useful for problem diagnosis and testing. -d It is absolutely crucial that the performance metrics domain number specified here is unique and consistent. That is, domain should be different for every PMDA on the one host, and the same domain number should be used for the same PMDA on all hosts. -l Location of the log file. By default, a log file named rpm.log is written in the current directory of pmcd(1) when pmdarpm is started, i.e. $PCP_LOG_DIR/pmcd. If the log file cannot be created or is not writable, output is written to the standard error instead. -r Specify an alternate path to the RPM database (default is /var/lib/rpm/Packages). -U User account under which to run the agent. The default is the unprivileged "pcp" account. INSTALLATION
If you want access to the names, help text and values for the rpm performance metrics, do the following as root: # cd $PCP_PMDAS_DIR/rpm # ./Install If you want to undo the installation, do the following as root: # cd $PCP_PMDAS_DIR/rpm # ./Remove pmdarpm is launched by pmcd(1) and should never be executed directly. The Install and Remove scripts notify pmcd(1) when the agent is installed or removed. FILES
$PCP_PMCDCONF_PATH command line options used to launch pmdarpm $PCP_PMDAS_DIR/rpm/help default help text file for the rpm metrics $PCP_PMDAS_DIR/rpm/Install installation script for the pmdarpm agent $PCP_PMDAS_DIR/rpm/Remove undo installation script for the pmdarpm agent $PCP_LOG_DIR/pmcd/rpm.log default log file for error messages and other information from pmdarpm PCP ENVIRONMENT
Environment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP. On each installation, the file /etc/pcp.conf contains the local values for these variables. The $PCP_CONF variable may be used to specify an alternative configura- tion file, as described in pcp.conf(5). SEE ALSO
PCPIntro(1), pmcd(1), pcp.conf(5) and pcp.env(5). Performance Co-Pilot PCP PMDARPM(1)
All times are GMT -4. The time now is 12:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy