How to install rpm's on Redhat with automatic dependency resolving

Go down

How to install rpm's on Redhat with automatic dependency resolving

Post by spanner on Tue Apr 15, 2008 4:42 pm


If you install the rpmdb-redhat rpm package before installing manually any additional packages from the Redhat distribution that have lots of dependencies, you can use the --aid option of the rpm command to resolve dependencies automatically, see this example:



# rpm -ivh rpmdb-redhat-4-0.20060803.i386.rpm
warning: rpmdb-redhat-4-0.20060803.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
1:rpmdb-redhat ########################################### [100%]


# rpm -ivh --aid gcc4-4.1.0-18.EL4.i386.rpm
warning: gcc4-4.1.0-18.EL4.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
1:glibc-kernheaders ########################################### [ 20%]
2:glibc-headers ########################################### [ 40%]
3:glibc-devel ########################################### [ 60%]
4:libgomp ########################################### [ 80%]
5:gcc4 ########################################### [100%]

spanner

Posts : 14
Join date : 2008-04-10
Location : Somewhere in Somerset - where there is a lot of mud - and sounds a bit "Horsey"

View user profile http://www.linkedin.com/in/sarbpanesar

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum