Package Location
- ftp internet
- anonymous@updates.redhat.com
- bin
- cd 8.0
- cd en
- cd os
- cd i386
- # rpm –q –a
- # rpm –q –f filename
- # rpm –Fvh package-name [package-name package-name…]
- one additional note here, I discovered 2 options for packages, SRPMS, and i386. I believe SRPMS are the source code packages and i386 is precompiled for the intel platform. I chose to use the i386 and it worked fine for my first upgrade.
- # rpm –i package-name
Package update
- To list all the packages installed on the system
- To list a package associated with a specific file
- To upgrade a package
- To install a package
Resolving a hung RPM session
- RPM hangs will occur in the event of a corrupt database, or the existence of stale lock files as a result of performing a kill –9 on an rpm session
- To attempt to resolve this
- Login to the server as root
- Kill off any existing rpm sessions
- # cd /var/lib/rpm
- # rm *db.00*
- # rpm –rebuilddb
- be patient, the rebuild may take some time, so let it run. Once the rebuild completes rpm –qa should run successfully