Alan Dayley wrote: > > I have RH 7.1. I need to update my KDE desktop to 2.2.1. I did it once by > installing the RPMs using the --force option but things got wierd. Apps not > starting completely, odd errors, other stuff. > > Anyway, I went back to the original KDE 2.1.1 but now my KMail archive, of > which I made a backup, is not compatible with this previous version of KMail > (DOH!). So, I need to move forward. But this time, I want to do it without > the --force option on RPM so I am confident all the dependencies, etc. are > correct. > > Anyone out there have some advice or know of a good HowTo? > ---- Seawolf list - Craig ---- Subject: Upgrading to KDE2.2 on Seawolf [was: Re: KDE2.2 built on RH 7.1?] Date: Sun, 26 Aug 2001 22:55:45 -0400 From: Devon Reply-To: seawolf-list@redhat.com To: redhat-list@redhat.com CC: Seawolf List References: 1 , 2 , 3 On Sunday 26 August 2001 12:41 pm, Devon wrote: > Hi John, > I'm working on compiling them on a RH 7.1 machine right now. > If I get them built and installed without wiping out the machine, > I'll make them available. I have a PIII-800 with 392 Megs of RAM, > we'll see how well it does. ;) OK, I now appreciate why Bero hasn't done this ;) Trying to rebuild the source rpms is an exercise in futility. Many of the kde*.src.rpms require other new kde rpms to be installed in order for the build to complete. Catch 22, since the required rpms won't install cleanly. I did however manage to upgrade without destroying the system in the process. Note, attempt the following at your own risk, this procedure is less supported than rawhide. ;) Here's what I did, in order: I obtained the following rpms from ftp.kde.org: All the KDE apps, except kdeadmin and kdebindings-python, plus: SDL-1.2.2-2.i386.rpm fam-2.6.4-10.i386.rpm fam-devel-2.6.4-10.i386.rpm kdoc-2.2-1.noarch.rpm libogg-1.0rc2-1.i386.rpm libogg-devel-1.0rc2-1.i386.rpm libvorbis-1.0rc2-1.i386.rpm libvorbis-devel-1.0rc2-1.i386.rpm libxml2-2.4.1-2.i386.rpm libxml2-devel-2.4.1-2.i386.rpm libxslt-1.0.1-3.i386.rpm libxslt-devel-1.0.1-3.i386.rpm openssl096-0.9.6-6.i386.rpm openssl-0.9.6b-4.i386.rpm openssl-devel-0.9.6b-4.i386.rpm openssl-perl-0.9.6b-4.i386.rpm pcre-3.4-2.i386.rpm pcre-devel-3.4-2.i386.rpm popt-1.6.3-0.91.i386.rpm popt was an error, it wasn't a requirement, and got upgraded by mistake. [root@tuxfan kderpms]# rpm -ivh SDL-1.2.2-2.i386.rpm [root@tuxfan kderpms]# rpm -ivh fam-2.6.4-10.i386.rpm fam-devel-2.6.4-10.i386.rpm moved SDL-1.2.2-2.i386.rpm and fam*.rpm out of the way. [root@tuxfan kderpms]# rpm -e kdeadmin [root@tuxfan kderpms]# rpm -e vorbis-devel [root@tuxfan kderpms]# rpm -e --nodeps vorbis (the libvorbis packages appear to solve the deps your ignoring here.) Here's the upgrade output. Note that I didn't install/upgrade kdebindings-python to avoid dependency problems, and the I held off on kdeadmin, because of other deps (rpm which then requires glibc, etc.) I'm hoping to avoid by rebuilding from source. More on that later. [root@tuxfan kderpms]# rpm -Uvh *.rpm 1:arts ########################################### 2:kdeartwork-locolor ########################################### 3:kdemultimedia-devel ########################################### 4:kdesdk-devel ########################################### 5:kdoc ########################################### 6:libogg ########################################### 7:libogg-devel ########################################### 8:libvorbis ########################################### 9:libvorbis-devel ########################################### 10:libxml2 ########################################### 11:libxml2-devel ########################################### 12:libxslt ########################################### 13:libxslt-devel ########################################### 14:openssl ########################################### 15:openssl-devel ########################################### 16:openssl-perl ########################################### 17:openssl096 ########################################### 18:pcre ########################################### 19:kdelibs ########################################### 20:kdeartwork ########################################### 21:kdebindings-perl ########################################### 22:kdegraphics ########################################### error: cannot remove /usr/share/icons/hicolor/48x48/apps - directory not empty error: cannot remove /usr/share/icons/hicolor/32x32/apps - directory not empty error: cannot remove /usr/share/applnk/Graphics - directory not empty 23:kdegraphics-devel ########################################### 24:kdelibs-sound ########################################### 25:kdebase ########################################### error: cannot remove /usr/include/kde - directory not empty error: removal of /etc/skel/Desktop/Autostart failed: No such file or directory error: cannot remove /etc/skel/Desktop - directory not empty 26:kdeaddons-kate ########################################### 27:kdeaddons-kicker ########################################### 28:kdeaddons-konqueror ########################################### 29:kdebase-devel ########################################### 30:kdebindings ########################################### 31:kdebindings-devel ########################################### 32:kdebindings-kmozilla ########################################### 33:kdegames ########################################### 34:kdemultimedia ########################################### 35:kdeaddons-noatun ########################################### 36:kdenetwork ########################################### 37:kdeaddons-knewsticker ########################################### 38:kdenetwork-ppp ########################################### 39:kdepim ########################################### 40:kdepim-cellphone ########################################### 41:kdepim-devel ########################################### 42:kdepim-pilot ########################################### 43:kdesdk ########################################### 44:kdetoys ########################################### 45:kdeutils ########################################### 46:pcre-devel ########################################### 47:kdelibs-devel ########################################### 48:kdelibs-sound-devel ########################################### 49:kdevelop ########################################### 50:popt ########################################### Lastly, I tried to rebuild kdeadmin from the source rpm. It failed at the very end with the following error. (Trying to rebuild it before installing the above .rpms resulted in a failed build due to missing headers) I did rpm -rebuild kdeadmin-2.2-3.src.rpm After compiling, just prior to the point it should have written the new .rpm to disk, I get: RPM build errors: File listed twice: /usr/share/apps/kdesktop/DesktopLinks/kontrol-panel.desktop Anyone with any ideas on that, the help would be appreciated. So far, the system seems stable, and KDE works fine. The apps that were listed as needing vorbis when I tried to 'rpm -e vorbis' seem to work fine. There are 2 entries in the logs that need looking into: tuxfan xinetd[2025]: pmap_set failed. service=sgi_fam program=391002 version=2 (solved for now with chkconfig sgi_fam off) tuxfan modprobe: modprobe: Can't locate module char-major-13 which would seem to be /dev/xda. Again, needs looking into, I haven't a clue what that is. Hope this helps someone. :) -D