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

CentOS Linux: sort: invalid option — R, Try sort –help for more information

I was working on an article a couple days ago with a friend and he had sent over some commands for me to reference in the article which included the “sort -R” command. The sort -R switch will randomly sort the contents of a file which is very useful in certain situations. The problem is that the sort command which is installed by the coreutils RPM package on CentOS does not include the -R switch because it is to old. Below I describe the issue in more detail and provide references on how you could upgrade sort on CentOS Linux.

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.