LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-06-2004, 11:23 AM   #1
atnan
LQ Newbie
 
Registered: Jan 2004
Location: sydney.au
Distribution: Gentoo
Posts: 23

Rep: Reputation: 15
Installing QT 3.2.3 on RH9


Okies, here we go. I have been trying to install a number of rpms (one of which is kopete) from a RH9 apt repository, and I seem to be running into trouble with my version of QT.

I have my sources.list file for apt pointed to the apt.kde-redhat.org/apt/kde-redhat/9/RPMS.stable/ repository, and it is picking up qt-3.2.3 in Synaptic (a GUI frontend for apt-get). Now, when I select to upgrade my current version of QT (3.1.1-6), I get told that I need to upgrade redhat-artwork and install themer. Ok fair enough.

Now, when the whole lot downloads and attempts to install, I get the following error message:

Code:
While preparing for installation:
file /usr/share/themes/Default from the install of redhat-artwork-0.85-0.fdr.1.rh90 conflicts with file from package gtk+-1.2.10-25
file /usr/share/themes/Default from the install of redhat-artwork-0.85-0.fdr.1.rh90 conflicts with file from package gtk2-2.2.1-4
This is the exact output when I use apt-get without Synaptic...
Code:
[root@MIMIR titan]# apt-get install qt
The following extra packages will be installed:
  redhat-artwork themer
The following packages will be upgraded
  qt redhat-artwork
The following NEW packages will be installed:
  themer
2 packages upgraded, 1 newly installed, 0 removed and 75 not upgraded.
Executing RPM (-Uvh)...
warning: /var/cache/apt/archives/themer_0%3a1.20-0.fdr.0_noarch.rpm: V3 DSA signature: NOKEY, key ID ff6382fa
        file /usr/share/themes/Default from install of redhat-artwork-0.85-0.fdr.1.rh90 conflicts with file from package gtk+-1.2.10-25
        file /usr/share/themes/Default from install of redhat-artwork-0.85-0.fdr.1.rh90 conflicts with file from package gtk2-2.2.1-4
E: Sub-process /bin/rpm returned an error code (5)
Can someone give me a hint on how to install QT 3.2.3 (either by this or an alternate method), keeping in mind that I am still in the process of learning Linux?

Much appreciated.
 
Old 01-06-2004, 04:50 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"Can someone give me a hint on how to install QT 3.2.3 (either by this or an alternate method)"

The problem is that the same file is included in three different packages. You can solve this problem by using the CLI rpm command.

First of all copy /usr/share/themes/Default and save it someplace safe. You may want to go back to the old copy of /usr/share/themes/Default when the dust settles.

I am going to suggest that you remove gtk+ and gtk2, install the whole works like you have already tried to do, then install gtk+ and gtk2 again. So make sure that you have the rpms for gtk+ and gtk2 handy.

Read man rpm as a reference.
Issue the commands:
rpm --nodeps -e gtk+
rpm --nodeps -e gtk2
which will remove the two packages.

Then try installing the whole kaboodle with apt-get as you were doing before.

Then reinstall gtk+ and gtk2 again with:
rpm --force -i /handyplace/gtk*
or you can use two separate rpm commands giving the full package names.

Then you possibly want to restore /usr/share/themes/Default back to its original value.

If my suggested method screws up due to unforeseen problems then you could end up with both KDE and Gnome inoperable. So you need to back up everything before you try this.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 01-06-2004, 07:52 PM   #3
atnan
LQ Newbie
 
Registered: Jan 2004
Location: sydney.au
Distribution: Gentoo
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks very much. I will give that a go when I get home from work tonight.
 
Old 01-07-2004, 08:07 AM   #4
atnan
LQ Newbie
 
Registered: Jan 2004
Location: sydney.au
Distribution: Gentoo
Posts: 23

Original Poster
Rep: Reputation: 15
Code:
Preparing...                ########################################### [100%]
   1:alsa-lib               ########################################### [  8%]
   2:themer                 ########################################### [ 17%]
   3:gtk+                   ########################################### [ 25%]
   4:gtk2                   ########################################### [ 33%]
   5:openmotif              ########################################### [ 42%]
   6:openssh-clients        ########################################### [ 50%]
   7:openssh-askpass-gnome  ########################################### [ 58%]
   8:openssh-askpass        ########################################### [ 67%]
   9:openssh                ########################################### [ 75%]
  10:openssh-server         ########################################### [ 83%]
  11:qt                     ########################################### [ 92%]
  12:redhat-artwork         ########################################### [100%]
Good yes? Strange about the percetage values but it appears to have worked. Just testing everything now.
 
Old 01-07-2004, 09:00 AM   #5
atnan
LQ Newbie
 
Registered: Jan 2004
Location: sydney.au
Distribution: Gentoo
Posts: 23

Original Poster
Rep: Reputation: 15
Right...slight problem. I just installed Kopete using apt-get and it installed correctly (as it did before, but it used to crash when I started configuring the plugins). When I ran Kopete from either the K-Menu and Terminal it would just sit there and do nothing. So I uninstalled the rpm and downloaded / manually installed it again from the repository. This time when I run it, I get this error message.

Code:
[root@MIMIR titan]# kopete
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
Conflict in /usr/lib/kde3/plugins/styles/dotnet.so:
  Plugin uses incompatible Qt library!
  expected build key "i686 Linux g++-3.* full-config", got "i686 Linux gcc full-config".
Conflict in /usr/lib/kde3/plugins/styles/highcolor.so:
  Plugin uses incompatible Qt library!
  expected build key "i686 Linux g++-3.* full-config", got "i686 Linux gcc full-config".
Conflict in /usr/lib/kde3/plugins/styles/kthemestyle.so:
  Plugin uses incompatible Qt library!
  expected build key "i686 Linux g++-3.* full-config", got "i686 Linux gcc full-config".
Conflict in /usr/lib/kde3/plugins/styles/keramik.so:
  Plugin uses incompatible Qt library!
  expected build key "i686 Linux g++-3.* full-config", got "i686 Linux gcc full-config".
Conflict in /usr/lib/kde3/plugins/styles/light.so:
  Plugin uses incompatible Qt library!
  expected build key "i686 Linux g++-3.* full-config", got "i686 Linux gcc full-config".
Related to what I just fiddled with?
 
Old 01-07-2004, 09:46 AM   #6
atnan
LQ Newbie
 
Registered: Jan 2004
Location: sydney.au
Distribution: Gentoo
Posts: 23

Original Poster
Rep: Reputation: 15
I just logged out and to my suprise I am now running Fedora! Is that why you suggested I backed up /usr/share/themes/Default?
 
Old 01-07-2004, 10:35 AM   #7
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"Conflict in /usr/lib/kde3/plugins/styles/dotnet.so:
Plugin uses incompatible Qt library!
Related to what I just fiddled with?"

I think that you had version incompatibility problems with Kopete before you made this massive upgrade and now you have a different version incompatibility problem with Kopete. Perhaps you need a later version of Kopete or a later version of the plugins. Or perhaps something did not get updated that should have.

"I just logged out and to my suprise I am now running Fedora! Is that why you suggested I backed up /usr/share/themes/Default?"

I suggested saving /usr/share/themes/Default because installing a new one might radically alter the appearance of your desktop and you might want to keep the old appearance.

I think Fedora falls into the catagory of unforeseen problems. Fedora is the bleeding edge version of Red Hat so I guess one of the updates changed the version name also.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 01-08-2004, 08:10 AM   #8
atnan
LQ Newbie
 
Registered: Jan 2004
Location: sydney.au
Distribution: Gentoo
Posts: 23

Original Poster
Rep: Reputation: 15
Not to mention that it won't load past the login screen anymore :S.
 
Old 01-08-2004, 10:22 AM   #9
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Items number 3 and 4 in your install list are gtk+ and gtk2. I think that in my suggested procedure it was a mistake to add the old gtk+ and gtk2 back into the system.

When you get to the login screen see if you can get a CLI by using the three finger command:
<Ctrl> <Alt> <F3>
If you can then try logging in as root and using rpm to upgrade gtk+ and gtk2 to the versions that apt-get installed.

Otherwise all I can recommend is to restore everything.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 01-08-2004, 10:35 AM   #10
atnan
LQ Newbie
 
Registered: Jan 2004
Location: sydney.au
Distribution: Gentoo
Posts: 23

Original Poster
Rep: Reputation: 15
GTK2 and GTK+ are both the latest versions - 2.2.1-4 and 1.2.10-25 respectively. I can get CLI access...it's just that I can't get X to load past the login screen.
 
Old 01-08-2004, 11:23 AM   #11
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
You probably need to upgrade to KDE 3.1.4 from that repository, which is compiled against qt3.2.3
 
Old 01-08-2004, 01:32 PM   #12
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"it's just that I can't get X to load past the login screen."

What type of error message or error indications are you getting? Check /root/.xsession-errors to see if there are any meaningful error messages.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 01-09-2004, 08:01 AM   #13
atnan
LQ Newbie
 
Registered: Jan 2004
Location: sydney.au
Distribution: Gentoo
Posts: 23

Original Poster
Rep: Reputation: 15
There's nothing in .xsession-errors other than klipper errors which come from me trying to get rid of the bastard.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help installing mm on RH9 xianzai Linux - Software 3 01-16-2004 08:34 AM
Installing RH9 AceTech747 Red Hat 4 12-02-2003 10:55 AM
Installing XP over 2k and rh9 beckett1 Linux - Newbie 7 11-04-2003 01:52 PM
Installing KD 3.1.4 on RH9 XavierP Linux - Software 6 09-29-2003 02:52 AM
installing RH9.0 ashesh Linux - General 13 07-14-2003 11:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:56 AM.

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
Open Source Consulting | Domain Registration