Technology Insights

Error: Missing Dependency: cvsps is needed by package git-cvs-1.7.2.2-1.el5.rf.i386

During an attempt to update Git on a CentOS Linux server via the Yum Package manager this evening I ran into a dependency error. The newer Git package has a dependency of Git-CVS package which also has a dependency of CVSPS package. ┬áSo initially when I installed Git it didn’t require these packages so I never ran into an error. Below I show the error displayed when attempting to upgrade git via yum followed by how I resolved the issue installing the EPEL repository.

Technology Insights

Use Yum To List Available Packages In A Specific Repository On CentOS Linux

The Yum, or Yellowdog Updater Modified, is a great package manager if you are familiar with how to use it. If you have a bunch of repositories activated it can be useful to know what packages are available via a specific repository. It is possible to install RPM packages via a specific repository which if another package you are installing requires a specific version of a package this can be useful. Below are a couple examples of using the “yum list” command.

Technology Insights

Install Or Upgrade One Application From coreutils Package On CentOS Linux

Yesterday I needed to upgrade a single application on CentOS Linux. First I figured out that the application was part of the coreutils RPM package which is currently only available up to version coreutils 5.97-23 on CentOS. The current coreutils package is already up to coreutils 8.5 and upgrading coreutils is near impossible on CentOS because of other package requirements that it needs. Below are instructions on how to download the coreutils source, build the coreutils applications in a new directory, and then upgrade one application.

Technology Insights

Find Out What Applications Are Installed From An RPM Package On Linux

Earlier today I was upgrading some packages on a CentOS Linux server and was curious what applications were actually installed with the coreutils RPM package. I knew that this was one of the main RPM packages that had a ton of various applications installed with it however I was not sure specifically which ones. Below are some examples of how to use RPM to find out exactly what is installed with a specific RPM package.

Technology Insights

What Linux RPM Package Installs Sort

Earlier today I ran into an issue where I needed an updated version of “sort” on a server running CentOS 5.4. Since sort is not a package available via yum I needed to first find out what Linux RPM package includes sort to see if there was an upgrade available. To find this out you can use yum as shown in the example below.