Link to home
Start Free TrialLog in
Avatar of techvillage
techvillage

asked on

Problems upgrading to KDE 3.2.1 from 3.1 in SUSE 9 Pro

I have SUSE 9 pro installed with the default install of KDE 3.1  I am trying to upgrade it to the current release of 3.2.1

I thought getting  the package version from the SUSE site the safest way of upgrading without hassle (i'm a noobie and don't know any better).

I downloaded the following packages from the Suse web site with Konqueror:-

arts.rpm
kdelibs3.rpm
kdebase3.rpm

I read the KDE FAQ and as I understood it, said that before you install kdebase3.rpm, the dependencies arts.rpm and kdelib3.rpm needed to be installed in that order first.

Because I don't know any better, the way I use to initate an install of an RPM package is to launch Konqueror, go to the location where I saved the downloaded packages and double click on the RPM that I want to install - when I double click on the RPM YAST launches and kicks off the install process of that package.

I installed arts.rpm first - no conflict warning appeard - all went OK.
Second, I installed kdelibs3.rpm and that installed without nay conflict warnings.

Problem.  When, I now double click on the kdebase3.rpm package, within Konqueror to initiate the instalation, YAST does not launch, but pretty much immediately I get an error message generated by Konqueror saying the follwoing:-

"There appears to be a configuration error. You have assocaited Konqueror with application/x-rpm, but it can't handle this file type."

All I can do is click the OK button in the error message.

It appears that the last package I installed, kdelibs3.rpm has changed configuration. So my questions are:-

1. What files do I need to manually change to correct this?
2. What have I done wrong? The order I upgraded?
3. Is Konqueror the only gui way of launching the x-rpm software?(I'm assuming that is the software?)   Could I launch from the shell? (I told you I was a reall noobie!) I would prefer a gui way though.

You help to this noobie would be very much appreciated  :) - I have re-installed Suse 9 twice now after the above error and decided it it was time to ask for advice!

Many thanks - Richard.

Avatar of Karl Heinz Kremer
Karl Heinz Kremer
Flag of United States of America image

You need to stop X (or KDE) before you update KDE. Otherwise you will create a big mess...
You can stop X by running the following command in a terminal window as root user:
init 3

This will stop all processes that are associated with runlevel 5 (which starts X11 and KDE).

Once you are at the terminal level, you need to run the following command in the directory where all your new RPM files are:

rpm -Uvh *.rpm

Did you get the new RPMs from SuSE's server? If not, you may run into problems with some of the SuSE specific packages.
Avatar of Alf666
Alf666

There's a chance that your download is corrupted. But, if it's not, you can do the following from the shell :

rpm -Uvh kdebase3.rpm

I'm afraid though that you might need more packages for a full upgrade.

You should download all of the rpms in :

/pub/suse/i386/supplementary/KDE/update_for_9.0/base

and maybe in :

/pub/suse/i386/supplementary/KDE/update_for_9.0/applications
Do you only have the three packages you listed? You need more than that. Go to
 ftp://ftp.suse.com/pub/suse/i386/supplementary/KDE/update_for_9.0 and look around. The "base" directory contains 19 packages. You need all of these. After that you should also update your KDE applications (the old ones may no longer run correctly with the new KDE).
Avatar of techvillage

ASKER

Many thanks for your replies khkremer and Alf666 - this is the first question I have asked and never imagined such a fast response! :)

To answer some of your questions - I was downloading from the UK Suse webiste http://www.suse.co.uk/uk/private/download/linuks/i386/update_for_9_0/base.html

I only downloaded the three packages I listed - I should downlaod and install them all?  Should they be installed in a particular order?

Richard
You need all of them, and if you use the command line I suggested, the order does not matter.
Thanks khkremer - your command line here:  rpm -Uvh *.rpm     So, as to make sure I have understoo you correctly, I download all the packages into a directory and run your command line from within that directory,  that command line will auto install all the packages in that directory?

I'm currently out side of KDE having used your init 3 command - what command do I use to launch KDE again?
init 5

and yes, your description of the process is correct.
Thx   init 5   I have started a text file where I'm jotting doen all these commands.

I'm currently as I'm typing this re-installing SUSE9 for the 3rd time (3rd time luckky...) to get KDE 3.2.1 installed - with all the help I'm getting here I now feel very confident about getting it done - thank you all so much. I will let you know how I get in the next few hours.
Good luck :-)
I've done this update on my 8.2 system (which I really should upgrade to something newer, but it runs as stable as a rock, and I hate to touch it... I'll probably upgrade to 9.1), and I upgraded both the base and the application packages. If you run into any problems after updating just base, this should be your next step (and the process is the same - just download everything into one directory and use the same rpm command).
Khkremer : Tough to upgrade a working system :-)

My box@home is still 7.3... Did not have the courage to upgrade to 9.0. yet. Though I have the DVD...

The thing is that so many packages now require much more recent versions of glib and others :-(

OK just installed SUSE 9 again. Didn't do any Online updates, just created a download folder and copied all the packages from the kde 321 base folder into this folder, exited kde and then ran the rpm -Uvh *.rpm command and pretty much immedaitely came across a conflict message.

I then ran  rpm -Uvh arts.rpm   That installed OK

I then tried  rpm -Uvh kdelibs3.rpm   that ran into conflicts. It said it qt3 was needed. So I ran the qt3 package which went ok.

Then tried the kdelibs3 package again - it got a bit further than last time and then stalled with another conflict saying it was conflicting with a file form another package.

From my experinces so far it does eem to suggest an oder of some kind, but nobody else seems to be having this problem, so a specific order isn't required...hmmm

Any more thoughts on this - after the fresh instal of SUSE should I have done an online update?  I'm a Windows guy and I have to say all this is so frustrating as I just don't have the knowledge, that I do with Windows, I feel I have to persever though - I know I put years into my Windows knowledge, I can't expect to pick up Linux in an afternoon, but no less frustrating knowing this all the same.

What is a bit silly is that I don'tr need anything in 3.1 - so why do I want to upgrade to 3.2.1?  Because I need to start getting knowledge on how to update and I fel the hands on "try it out" methos is the best way of learning, and more importantly sticking in my mind.

Right now I'm just going to try each package in the base folder and then go back to the ones that didn't work earlier and see if I can do it that way.
I'm sorry, but I gave you the wrong command. It's not rpm -Uvh, it's
rpm -Fvh

... and of course, you need to add the *.rpm at the end of the command:
rpm -Fvh *.rpm
Hi  khkremer :) - thanks for the correction - just tried  rpm -Fvh *.rpm   out now - and it stalled with a conflict error, but feel that becuas I have installed the packages out of order that my be the cause - going to do a quick re-install of Suse9 again (i'm getting quick at doing that :) and try out the rpm -Fvh *rpm command.
ASKER CERTIFIED SOLUTION
Avatar of Karl Heinz Kremer
Karl Heinz Kremer
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Started installing it before I saw your post khkrmer, but have got  the OS install down to a fine art now :)

After taking a bit of time off this afternoon/early  I picked up from where we left off and tried the rpm -Fvh --nodeps *.rpm  command but still stalling on replacing files by another package error.

I then thogutht I would google to get a list of the rpm package command switches and found the www.rpm.org site and browsed that and collated some commands that seemd to do what I wanted - I tried this and I'm now a proud owner of a KDE 3.2.1 desktop :) the command that got me there in the end was :-

rpm -Uvh --nodeps --replacefiles *.rpm

I felt failry safe by using the nodeps and replacefiles becuase the package was form SUSE own site and so would have been fully tested.

Anyway,  without the hand holding by khkremer I would have given up, so thank you very much indeed khkremer :)
I came up on this post through google after trying to do an upgrade of kde. khkremer even though I have executed the init 5 command, when suse 9 boots up it doesn't bring back up the login screen that it used to. If I press F2 then I see a login prompt in text mode, any help would be much appreciated. Thanks.
fleemos, please don't ask new questions in already closed questions. A new question will reach more experts than posting in this question.
My apologies for posting in this question. I realised by posting a new question how it works with the points and all. Again very sorry for posting a question in here.