View Single Post
Old 29th January 2007, 20:23
Bailx Bailx is offline
Junior Member
Join Date: Dec 2005
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts

are you by any chance running the 32-bit version of centos?

if i were you... at this point, here is what i would do....

run all of these lines (just to be sure everything is removed)(you will most definatly see errors here, but they should be along the lines of... package does not exist)

rpm -e --nodeps redhat-logos-1.1.26-1.centos4.4
rpm -e --nodeps redhat-artwork-0.120.1-1.2E.centos4.4.x86_64
rpm -e --nodeps redhat-artwork-0.120.1-1.2E.centos4.4.i386
rpm -e --nodeps firstboot-1.3.39-5.centos4.noarch
rpm -e --nodeps redhat-logos-1.1.26-1.src.rpm
rpm -e --nodeps redhat-artwork-0.120.1-1.2E.src.rpm
rpm -e --nodeps firstboot-1.3.39-5.src.rpm

then edit your yum.conf

remove the following line (assuming it is present)

exclude=redhat-artwork* redhat-logos* firstboot*

then run

yum update -y

that should restore all of the original centos artwork.... which would be a good place to get back to, seeing as your having a lot of problems.

if you attempt the redhat artwork again i would not use my script, but run through each command seperatly and check for errors

as another precaution, i would browse to the folder /usr/src/redhat...

do not delete any of the folders: BUILD, RPMS, SOURCES, SPECS, SRPMS.... but you should make sure all of those folders are empty to avoid any conflicts...

make sure you have all the deps:

yum install gtk+-devel gdk-pixbuf-devel gtk2-devel qt-devel kdebase-devel icon-slicer arts-devel -y

cd /tmp

Really watch for errors on the following 3 lines... if it doesn't finish, cancel and be sure to delete the unfinished file, or the new one will be named differently with a .1 or something on the end... just be sure they are named the same as my lines indicate, or edit the lines to match your filename....


once you know those files are downloaded properly.... then extract them

rpm -i --force --nosignature redhat-logos-1.1.26-1.src.rpm
rpm -i --force --nosignature redhat-artwork-0.120.1-1.2E.src.rpm
rpm -i --force --nosignature firstboot-1.3.39-5.src.rpm

then we build the rpms

cd /usr/src/redhat
rpmbuild -ba SPECS/redhat-logos.spec
rpmbuild -ba --nodeps SPECS/redhat-artwork.spec
rpmbuild -ba SPECS/firstboot.spec

rpm -i RPMS/noarch/redhat-logos-1.1.26-1.noarch.rpm
rpm -i RPMS/x86_64/redhat-artwork-0.120.1-1.2E.x86_64.rpm

hopefully you are in fact running the 64-bit version, but if not use the following line (sans #)

# rpm -i RPMS/i386/redhat-artwork-0.120.1-1.2E.i386.rpm

rpm -i RPMS/noarch/firstboot-1.3.39-5.noarch.rpm

the rest of these lines just clean up the files leftover from the above... i would not run these until you are sure your artwork is working correctly...

rm -f /tmp/redhat-logos-1.1.26-1.src.rpm
rm -f /tmp/redhat-artwork-0.120.1-1.2E.src.rpm
rm -f /tmp/firstboot-1.3.39-5.src.rpm
rm -fdr /usr/src/redhat/BUILD/firstboot*
rm -fdr /usr/src/redhat/BUILD/redhat*
rm -fdr /usr/src/redhat/RPMS/noarch
rm -fdr /usr/src/redhat/RPMS/x86_64
rm -fdr /usr/src/redhat/RPMS/i386
rm -f /usr/src/redhat/SOURCES/*
rm -f /usr/src/redhat/SPECS/*
rm -f /usr/src/redhat/SRPMS/*

this next few lines, imports a yum.conf with the following line added (which we removed above)
exclude=redhat-artwork* redhat-logos* firstboot*

otherwise... every time yum is run, your artwork would default to the centos.

rm -f /etc/yum.conf
cd /etc
dos2unix yum.conf
chmod 644 /etc/yum.conf
chown root:root /etc/yum.conf

i hope that works for you....

Last edited by Bailx; 29th January 2007 at 20:27.
Reply With Quote