Yum not installing 7zip

An issue I had with yum not installing 7zip on a CentOS machine

Earlier I had an issue with yum not installing 7zip (or indeed anything) on a CentOS machine. I was trying to run;

sudo yum install p7zip

The fix (provided by @braziel) was to run the following 4 lines of code, which seem to update yum effectively.

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
rpm -K rpmforge-release-0.5.2-2.el5.rf.*.rpm
rpm -i rpmforge-release-0.5.2-2.el5.rf.*.rpm

Recent posts View all


How to ignore Bullet in RSpec tests

Using Bullet during a test can pick up mistakes but also has false negatives; here is an easy way to ignore them


How we used Nokogiri to fix a sizing issue in YouTube's oEmbed

At some point, one of our calls to YouTube's oEmbed endpoint was returning videos way too small; we fixed in in our Rails application by using Nokogiri