View Full Version : New Install on RHEL 4.0 ES
matt.simpson
1st April 2006, 03:52 PM
I'm trying to install Plesk on a fresh RHEL 4.0 ES box using Autoinstaller 3 and it checks to see what RPM's may be missing that Plesk requires.
The problem is that my box is up2date and Plesk's autoinstaller is looking for an old version of the selinux-policy-targeted rpm, because it can't install the old version over the new version, the installation is failing:
Install package selinux-policy-targeted
package selinux-policy-targeted-1.17.30-2.126 (which is newer than selinux-policy-targeted-1.17.30-2.110) is already installed
Error while execute command rpm -U /root/psa/PSA_8.0.0/update-rpm-RedHat-el4-i386/selinux-policy-targeted-1.17.30-2.110.noarch.rpm
ERROR: error while executing RPM
ERROR: Installation failed
Any ideas?
~Matt Simpson
vahiker
1st April 2006, 08:44 PM
I had a smiliar problem on a new Centos4.3 install. I had to remove the newest rpm and re-ran the autoinstaller which than installed fine. I than updated back to the newest rpm after the install.
eilko
2nd April 2006, 01:26 AM
or install manually the selinux-policy-targeted-sources rpm that match your selinux-policy-targeted rpm version.
matt.simpson
2nd April 2006, 12:00 PM
Actually what I ended up doing was:
1. Start the autoinstaller and go to the screen which asked me to choose what options I wanted to install.
2. Opened up a new terminal window and opened up /root/psa/PSA_8.0.0/plesk-8.0.0-rhel4-i386.inf3 in vi. Changed:
<package file="selinux-policy-targeted-1.17.30-2.110.noarch.rpm" name="selinux-policy-targeted" version="1.17.30" release="2.110" arch="noarch" md5="81c7227d156e53bdc8b1e1afc626f854" buildtime="1126546011" size="110685" />
and
<package file="selinux-policy-targeted-sources-1.17.30-2.110.noarch.rpm" name="selinux-policy-targeted-sources" version="1.17.30" release="2.110" arch="noarch" md5="2fceb485f863b57fb6a546528bc7c16d" buildtime="1126546011" size="168114" />
TO:
<package file="selinux-policy-targeted-1.17.30-2.126.noarch.rpm" name="selinux-policy-targeted" version="1.17.30" release="2.126" arch="noarch" md5="81c7227d156e53bdc8b1e1afc626f854" buildtime="1126546011" size="110685" />
and
<package file="selinux-policy-targeted-sources-1.17.30-2.126.noarch.rpm" name="selinux-policy-targeted-sources" version="1.17.30" release="2.126" arch="noarch" md5="2fceb485f863b57fb6a546528bc7c16d" buildtime="1126546011" size="168114" />
Basically, just replaced 2.110 with 2.126, saved the file and continued within the auto installer.
~Matt
jchost
2nd April 2006, 12:11 PM
Its awfully upsetting that simple bugs like that are getting past SWSoft.
matt.simpson
2nd April 2006, 12:16 PM
I don't think it's a bug really... if you think about it, it sort of makes sense. They're putting the latest version they've tested with into their autoinstaller utility.
I think it's more of an design issue really... they should either ensure that their repository is updated daily with RedHat's latest updates or they should simply add a check to not only make sure the package is installed, but also check that if it is installed the version is greater than or equal to the version they're saying should be installed.
~Matt
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.