RHEL - RimuHosting Enterprise Linux 4 notes
Switch To Centos4
RimuHosting build the RPMs for the RimuHosting EL4 distro (based on RedHat's source RPMs).
Due to the number of pending packages and the amount of testing that would be required to ensure there were no 'breakages' it has been a while since we have pushed up new RPMs to the RHEL4 repository.
We recommend that RHEL4 users switch to the Centos4 apt repository instead. This repository is compatible with ours. A number of users have made this change and it is working well. Minimal (just the extra/new/updated) package updates will be required after an apt-get update; apt-get upgrade.
To change the sources.list:
# add a centos4 line (includes centosplus with PHP 5.1 and MySQL 5
if ! grep -qai '^rpm "http://mirror.centos.org/centos"' /etc/apt/sources.list ; then
echo 'rpm "http://mirror.centos.org/centos" /4/apt/i386 os updates addons centosplus' >> /etc/apt/sources.list
# comment out the RHEL4 lines
sed --in-place 's%^rpm http://apt.rimuhosting.com rhel/4%#rpm http://apt.rimuhosting.com rhel/4%' /etc/apt/sources.list
sed --in-place 's%^rpm-src http://apt.rimuhosting.com rhel/4%#rpm-src http://apt.rimuhosting.com rhel/4%' /etc/apt/sources.list
strange " error: Macro % has illegal name (%define) " messages
If you are getting this message ("error: Macro % has illegal name (%define)") when using RPM or apt-get/apt-cache, this is what we've done to fix it. Any of these would do:
- Comment out the last line in /etc/rpm/macros.solve, or;
- Remove the package rpmdb-rhel would also do the job, if you don't need that.
Note: the last line in /etc/rpm/macros.solve is: