KDE3 won't Upgrade to KDE4

I have openSUSE 12.1 running KDE version 3.5.10. I’m trying to “upgrade” to KDE4 and I’ve tried several times with a couple different walkthroughs.

This one: SDB:KDE install - openSUSE

This one: Install KDE 4.8 in openSUSE - anl4u

This one: openSUSE 12.1 Tips And Tricks » TweakHound

And a couple more I can’t find to pull up. I don’t understand. I’ve disabled KDE3 repositories. Added the “required” repositories. Ran the update. Downloaded a LOT of files which “installed” (or so YaST says), log out and log back in and it still doesn’t work. I’ve even rebooted a few times.

Ideas? Please help…

you do not install openSUSE 4.8 in 12.1 from a 3.5 install. It is the wrong path.
Post the result of the following (in code tags!) here.

zypper repos

What you have to do:
install all the regular KDE4.72 environment.
Boot into the session as KDE4 (you have to select in the kdm login screen the plasma desktop session).
If it boots up and KDE4 results viable, you will then do the upgrade path for KDE4.81 from the repos.
KDE3 is a totally other desktop then KDE4. So you have to choose plasma as a Desktop in order to change the environment. KDE3 does not upgrade or update. It has been a generational change and is comparable to the change from NT to WindowsXP if you want to use a popular experience at the time (although the technicalities related have nothing to do with it, just to make the point clear, the two environments are clearly delimited.

Results:

#  | Alias                           | Name                                    | Enabled | Refresh
---+---------------------------------+-----------------------------------------+---------+--------
 1 | KDE_4.7                         | KDE 4                                   | Yes     | Yes    
 2 | KDE_4.7_Extras                  | KDE 4 Extras                            | Yes     | Yes    
 3 | KDS                             | KDS                                     | No      | No     
 4 | KDS-extra                       | KDS-extra                               | No      | No     
 5 | download.opensuse.org-Apps      | openSUSE BuildService - GNOME:Apps      | No      | No     
 6 | download.opensuse.org-Education | openSUSE BuildService - Education       | No      | No     
 7 | download.opensuse.org-Extra     | openSUSE BuildService - KDE:Extra       | No      | No     
 8 | download.opensuse.org-KDE3      | openSUSE BuildService - KDE:KDE3        | No      | No     
 9 | download.opensuse.org-Stable    | openSUSE BuildService - LibreOffice     | Yes     | Yes    
10 | download.opensuse.org-Wine      | openSUSE BuildService - Wine CVS Builds | No      | No     
11 | download.opensuse.org-games     | openSUSE BuildService - Games           | Yes     | Yes    
12 | download.opensuse.org-mozilla   | openSUSE BuildService - Mozilla         | Yes     | Yes    
13 | download.opensuse.org-oss       | Main Repository (OSS)                   | Yes     | Yes    
14 | download.opensuse.org-update    | Main Update Repository                  | Yes     | Yes    
15 | opensuse-guide.org-repo         | libdvdcss repository                    | Yes     | Yes    
16 | packman                         | packman                                 | Yes     | Yes    
17 | repo-non-oss                    | openSUSE-12.1-Non-Oss                   | No      | No     
18 | repo-oss                        | openSUSE-12.1-Oss                       | No      | No     
19 | repo-update                     | repo-update                             | No      | No 

When I log out and log back in I see two options for “Plasma” in sessions. Both lead to the same desktop environment though.

My session options are:
-Default
-GNOME (I didn’t install GNOME…)
-IceWM
-KDE Plasma Workspace (Previous)
-KDE Plasma Workspace
-KDE Plasma Workspace (failsafe)
-Metacity
-TWM
-Failsafe

I don’t know why IceWM, TWM, GNOME, or Metacity are there and why there are three options for plasma… but I suppose that’d be a different thread.

I do understand what you mean by KDE3 and KDE4 being completely different. So it’s not an “Update” it’s a whole new environment. So what should I do from here?

This makes no sense since 12.1 doesn’t ship with a kde3 option at install

So how did you install kde3 only in the first place?

If it were me, I’d be doing a clean install. What I see looks messy…

I just installed it with the 64-bit live KDE iso I got from the openSUSE website…

Try this
Disable all repos but Oss, Non-Oss, Updates

Open Yast software management
Install the kde4 pattern
http://dl.dropbox.com/u/10573557/Add%20Patterns/add-patters-fromQT.png

Then make sure you have the kde4 settings here
http://dl.dropbox.com/u/10573557/Display_window_Manager/windowmanager_12.1_options.png
http://dl.dropbox.com/u/10573557/Display_window_Manager/displaymanager_12.1_options.png

Reboot

Once that’s done we can look at upgrading kde4

Ok, one moment…

ok, the only thing that wasn’t selected correctly was the second link.

But after reboot it still looks the same and when I type kded --version in the terminal I receive this:

kded --version
Qt: 3.3.8c
KDE: 3.5.10 "release 52" 
KDE Daemon: $Id: kded.cpp 711061 2007-09-11 09:42:51Z tpatzig $

In a user terminal report result of

kde4-config -v

Please open konqueror and in the address bar type: sysinfo:/

Post the info from the section ‘OS Information’

Sorry for the delay. Results of kde4-config -v

Qt: 4.8.0
KDE Development Platform: 4.8.1 (4.8.1) "release 483"
kde4-config: 1.0

info from OS information

OS:  Linux 3.1.9-1.4-desktop x86_64
  Current user:  ---------
  System:  openSUSE 12.1 (x86_64)
  KDE:  4.8.1 (4.8.1) "release 483"

So am I running KDE 4.8 already?.. I’m confused…

Obviously too
You need to choose kde4-plasma-workspace at the login session screen
http://dl.dropbox.com/u/10573557/Session%20Login/12.1_session_select.jpg

That looks correct

Post a screen shot

What exactly is so confusing ?

The confusing part is the output of “kded --version”. I’m new to KDE but it’s proven this past week to be a more reliable workspace for my work purposes than GNOME3 and Unity (Unity…ewww…). Some packages I wanted to install were KDE4 dependent so I typed “How to check KDE version” in google and they told me to open a terminal and type “kded --version”. Then came back “3.5.10”.

That’s the confusing part.

Screenshot:
http://i461.photobucket.com/albums/qq337/InteractiveEnv/snapshot1.png

That’s kde4

kded is different to what I gave you
kde4-config -v

Relax

You better post the result of this (So I can check your repos)

zypper lr -d

Thanks for helping, I really appreciate it a lot. So I am running KDE 4.8.1. Good to know.

Output of zypper lr -d:


#  | Alias                           | Name                                    | Enabled | Refresh | Priority | Type   | URI                                                                                | Service
---+---------------------------------+-----------------------------------------+---------+---------+----------+--------+------------------------------------------------------------------------------------+--------
 1 | KDE_4.7                         | KDE 4                                   | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Release:/48/openSUSE_12.1/          |        
 2 | KDE_4.7_Extras                  | KDE 4 Extras                            | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Extra/KDE_Release_48_openSUSE_12.1/ |        
 3 | KDS                             | KDS                                     | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Distro:/Stable/openSUSE_12.1/       |        
 4 | KDS-extra                       | KDS-extra                               | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_12.1/                |        
 5 | download.opensuse.org-Apps      | openSUSE BuildService - GNOME:Apps      | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/GNOME:/Apps/openSUSE_12.1/               |        
 6 | download.opensuse.org-Education | openSUSE BuildService - Education       | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/Education/openSUSE_12.1/                 |        
 7 | download.opensuse.org-Extra     | openSUSE BuildService - KDE:Extra       | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_12.1/                |        
 8 | download.opensuse.org-KDE3      | openSUSE BuildService - KDE:KDE3        | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/KDE3/openSUSE_12.1/                 |        
 9 | download.opensuse.org-Stable    | openSUSE BuildService - LibreOffice     | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/LibreOffice:/Stable/openSUSE_12.1/       |        
10 | download.opensuse.org-Wine      | openSUSE BuildService - Wine CVS Builds | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_12.1/           |        
11 | download.opensuse.org-games     | openSUSE BuildService - Games           | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/games/openSUSE_12.1/                     |        
12 | download.opensuse.org-mozilla   | openSUSE BuildService - Mozilla         | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_12.1/                   |        
13 | opensuse-guide.org-repo         | libdvdcss repository                    | No      | No      |   99     | rpm-md | http://opensuse-guide.org/repo/12.1/                                               |        
14 | packman                         | packman                                 | No      | No      |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_12.1                                         |        
15 | repo-non-oss                    | openSUSE-12.1-Non-Oss                   | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/12.1/repo/non-oss/                       |        
16 | repo-oss                        | openSUSE-12.1-Oss                       | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/12.1/repo/oss/                           |        
17 | repo-update                     | repo-update                             | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/12.1/                                          |    

The repos are a bit that I’m not sure of. What do I “need” and what should I add, delete, disable, etc?

You’re still starting KDE3’s version of kdm, kdm3. Set it to kdm4 in Yast - System - Sysconfigeditor. That’s one.
Next, in the login screen you would have to choose “KDE Plasma Workspace”.

But, my 2 cents: Perform a clean 12.1 install with KDE4.

Carefully:
Remove repos: 3,4,7

Set enable and refresh on 1 and 2 and 12,14

That should keep you OK

On the repos: remove 3, 4, 5, 7, 8.
Then do this


su -
(enter rootpassword)
zypper ref
zypper dup --from KDE\ 4

and yep, the “” needs to be there to escape the space character in the repo name

Sorry to interfere Carl, hadn’t seen it.

Ok thank you. Now this is the output of zypper lr -d:

#  | Alias                           | Name                                    | Enabled | Refresh | Priority | Type   | URI                                                                                | Service
---+---------------------------------+-----------------------------------------+---------+---------+----------+--------+------------------------------------------------------------------------------------+--------
 1 | KDE_4.7                         | KDE 4                                   | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Release:/48/openSUSE_12.1/          |        
 2 | KDE_4.7_Extras                  | KDE 4 Extras                            | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Extra/KDE_Release_48_openSUSE_12.1/ |        
 3 | download.opensuse.org-Apps      | openSUSE BuildService - GNOME:Apps      | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/GNOME:/Apps/openSUSE_12.1/               |        
 4 | download.opensuse.org-Education | openSUSE BuildService - Education       | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/Education/openSUSE_12.1/                 |        
 5 | download.opensuse.org-KDE3      | openSUSE BuildService - KDE:KDE3        | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/KDE3/openSUSE_12.1/                 |        
 6 | download.opensuse.org-Stable    | openSUSE BuildService - LibreOffice     | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/LibreOffice:/Stable/openSUSE_12.1/       |        
 7 | download.opensuse.org-Wine      | openSUSE BuildService - Wine CVS Builds | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_12.1/           |        
 8 | download.opensuse.org-games     | openSUSE BuildService - Games           | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/games/openSUSE_12.1/                     |        
 9 | download.opensuse.org-mozilla   | openSUSE BuildService - Mozilla         | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_12.1/                   |        
10 | opensuse-guide.org-repo         | libdvdcss repository                    | No      | No      |   99     | rpm-md | http://opensuse-guide.org/repo/12.1/                                               |        
11 | packman                         | packman                                 | Yes     | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_12.1                                         |        
12 | repo-non-oss                    | openSUSE-12.1-Non-Oss                   | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/12.1/repo/non-oss/                       |        
13 | repo-oss                        | openSUSE-12.1-Oss                       | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/12.1/repo/oss/                           |        
14 | repo-update                     | repo-update                             | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/12.1/                                          |        

Does that look right now?