Discussion Locked

Package dependencies

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I'm new to Linux and have been running RH9 for a few weeks.Having gained confidence, I decided to install some of the additional packages from the CD only to be met with errors to the effect that the install was dependent on certain packages being present. Using rpm -q I can see that later versions of the required packages are installed. I've tried manually installing the packages with the --nodeps switch but receive errors to the effect that the new package conflicts with the old. How can I install additional packages from the CD?

5 replies

by briantruitt

Instead of nodeps, try just upgrading the packages with rpm -Uvh. Upgrading the packages should work a little better.

by spidererrol

If you have an internet connection, I suggest you download apt from http://ayo.freshrpms.net/
Basic usage is:
"apt-get update" - This updates it's internal databases, run at least once a day if you can.
"apt-get install " - To install a package.
It will then install and fix all dependancies for you.
It will install packages from the internet in it's default configuration, but it can be reconfigured to use the cds using the "apt-cdrom" utility which comes with the package if you have limited or costly internet access.
You can also use "apt-get upgrade" to simply update your system to the latest versions of everything.
Also see http://freshrpms.net/apt/ for more information on apt.

This discussion is closed to new replies.