LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Linux Answers > Applications / GUI / Multimedia
User Name
Password

Notices

By hari_seldon99 at 2005-07-23 04:38
Install KDE 3.4 in Fedora Core 3 without Applications Crashing


If you are running Fedora Core 3, and want to upgrade the default KDE 3.3 to the current KDE 3.4, you can. Problem is that the Fedora KDE packagers have screwed up and misnamed the qt RPMS, so if you install the listed qt dependency, it will be incompatible & cause KDE applications to crash at random. This HOWTO details how to solve this problem.

1. You need the following version of the qt packages:

qt-3.3.4-10.0.3.kde
qt-designer-3.3.4-10.0.3.kde (optional)
qt-config-3.3.4-10.0.3.kde

2. Get them by wgetting (wget "url") the following urls, then store them somewhere:
ftp://ftp.pbone.net/mirror/apt.kde-redhat.org/kde-redhat/fedora/3/RPMS.s...
ftp://ftp.pbone.net/mirror/apt.kde-redhat.org/kde-redhat/fedora/3/RPMS.s...
ftp://ftp.pbone.net/mirror/apt.kde-redhat.org/kde-redhat/fedora/3/RPMS.s...

3. As usual, update to kde 3.4 by using apt-get or yum:
Do this by adding the following lines to /etc/apt/sources.list
Code:
# kde-redhat
# Fedora Core 3 - i386 - kde-redhat
# There are also testing and unstable repos
# testing requires stable, and unstable requires testing

rpm http://kde-redhat.atrpms.net/apt/kde-redhat/ 3 stable
rpm ftp://apt.kde-redhat.org/apt/kde-redhat/ 3 stable
rpm-src ftp://apt.kde-redhat.org/apt/kde-redhat/ 3 stable

# kde-redhat-all
# Fedora Core 3 - i386 - kde-redhat distribution independent
# There are also testing and unstable repos
# testing requires stable, and unstable requires testing

rpm http://kde-redhat.atrpms.net/apt/kde-redhat/ all stable
rpm ftp://apt.kde-redhat.org/apt/kde-redhat/ all stable
rpm-src ftp://apt.kde-redhat.org/apt/kde-redhat/ all stable
4. If you are using yum, then add the following lines to /etc/yum.conf

Code:
[kde-redhat-stable]
name=kde-redhat-stable
mirrorlist=http://apt.kde-redhat.org/apt/kde-redhat/fedora/$releasever/$basearch/stable/mirrors
gpgcheck=1
gpgkey=http://apt.kde-redhat.org/apt/kde-redhat/kde-redhat.RPM-GPG-KEY
enabled=1

[kde-redhat-stable-all]
name=kde-redhat-stable-all
mirrorlist=http://apt.kde-redhat.org/apt/kde-redhat/all/stable/mirrors
gpgcheck=1
gpgkey=http://apt.kde-redhat.org/apt/kde-redhat/kde-redhat.RPM-GPG-KEY
enabled=1
5. Refresh your local repo copies (apt-get update OR yum update)

6. It's probably a good idea to exit KDE at this time. Log off & log in again into GNOME or any other desktop environment other than KDE, or do ctrl-alt-F2 & goto terminal mode after logging off and login as root from there.

7. Upgrade KDE (apt-get upgrade kde OR yum upgrade KDE)

8. The bad qt packages I mentioned above will be auto-installed

9. Now, install the packages from Step 1-2 by force. Use the command: rpm -Uvh --force qt-3.3.4-10.0.3.kde qt-designer-3.3.4-10.0.3.kde qt-config-3.3.4-10.0.3.kde

10. Now login to KDE and you should be fine!

11. Bear in mind that if you try to upgrade your distro thru apt, it will try to install the bad qt rpms again. To disable this. Add the following lines to /etc/apt/apt.conf:
Code:
RPM {
          Ignore { };
          Hold {"qt";
               };
             };
Note: If the "RPM" section already exists in your apt.conf, then just append 'qt' to that as above

12. That's it! There should be no problems from now on. If the developers fix the qt package naming, then you can remove the "ignore qt" step above and install/upgrade qt normally

13. Errors? Typos above? Did your computer just explode? Email me at hariseldon99@gmail.com and I'll try not to ignore it.

by hari_seldon99 on Mon, 2005-08-08 13:32
The above is now outdated as the Fedora Guys have fixed their qt packages. Just upgrade to KDE 3.4.2 AND the latest qt pkg from their kde-redhat repo normally (using apt or yum) and there should be no problems ( I just did).


AR

by Kropotkin on Thu, 2005-08-11 10:29
I am having these problems under Core 4. Are you using Core 3 or 4? If the latter can you post the versions of KDE base and qt you have installed? Thanks

by hari_seldon99 on Sat, 2005-08-13 21:43
I'm still on fc3. The versions #'s of the packages I use (you might still find them useful) are:
qt-3.3.4-17.0.fc3.kde
kdebase-3.4.2-1.2.fc3.kde


Might work out for you if you just downloaded the same versions for fedora 4.

by Kropotkin on Mon, 2005-08-15 17:02
Quote:
Originally posted by hari_seldon99
I'm still on fc3. The versions #'s of the packages I use (you might still find them useful) are:
qt-3.3.4-17.0.fc3.kde
kdebase-3.4.2-1.2.fc3.kde
Hmmm, the versions look the same:
qt-3.3.4-17.0.fc4.kde
kdebase-3.4.2-1.1.fc4.kde

What I find so exasperating is that I have FC4 installed on a laptop, virtually the same configuration, and I have no problems at all with KDE apps. But on my desktop system they continually crash. I even did a clean reinstall of FC4 on my desktop box hoping to solve the problem to no avail. Grrrr...

by hari_seldon99 on Tue, 2005-08-16 03:52
What is the cause of the crashes? Is it an error in libkdeui.so? Run a gdb trace & see.

by Kropotkin on Wed, 2005-08-17 17:38
I ran "yum update" tonight and it installed a bunch of new packages, including:

qt.i386 1:3.3.4-17.1.fc4.kde
kdebase.i386 6:3.4.2-1.3.fc4.kde
kdelibs.i386 6:3.4.2-1.2.fc4.kde

as well as two of the KDE programs I was having the most problems with:

k3b.i386 0.12.3-1.0.fc4.kde
kaffeine.i386 0.7-0.lvn.1.4

and my initial impression is the stability problems appear to be solved (my fingers are crossed). So, gdb goes back in the cupboard for the time being.

Thanks in any case for your suggestions.


P.S. I hope FC4 --> FC5 is a little less traumatic.


  



All times are GMT -5. The time now is 12:31 PM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration