Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 1st September 2007, 06:24 AM
Wangberg's Avatar
Wangberg Offline
Registered User
 
Join Date: Dec 2006
Location: PRC
Posts: 427
VERY weird yum behavior

okay...why is yum removing all apps that use qt ? another app i'm trying to build requires qt 4.2, which i have installed, but is getting confused with qt 3.

but is this normal????

Code:
[wangberg@solo last.fm-1.3.1.0]$ rpm -qa | grep qt
qt-devel-3.3.8-6.fc7
avahi-qt3-0.6.17-1.fc7
qt4-4.3.1-3.fc7
qt-3.3.8-6.fc7
qt4-x11-4.3.1-3.fc7
dbus-qt-0.70-1.fc7
[wangberg@solo last.fm-1.3.1.0]$ sudo yum remove qt-3.3.8-6.fc7
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package qt.i386 1:3.3.8-6.fc7 set to be erased
--> Processing Dependency: qt for package: avahi-qt3
--> Processing Dependency: libqt-mt.so.3 for package: amarok
--> Processing Dependency: qt >= 1:3.3.8 for package: kdelibs
--> Processing Dependency: libqt-mt.so.3 for package: oprofile-gui
--> Processing Dependency: libqt-mt.so.3 for package: arts
--> Processing Dependency: libqt-mt.so.3 for package: k3b
--> Processing Dependency: libqt-mt.so.3 for package: kdelibs-devel
--> Processing Dependency: libqt-mt.so.3 for package: redhat-artwork-kde
--> Processing Dependency: libqui.so.1 for package: qt-devel
--> Processing Dependency: libqt-mt.so.3 for package: kdebase
--> Processing Dependency: libqt-mt.so.3 for package: ktorrent
--> Processing Dependency: libqui.so.1 for package: kdebindings
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package amarok.i386 0:1.4.6-2.fc7 set to be erased
---> Package oprofile-gui.i386 0:0.9.2-8.fc7 set to be erased
---> Package kdelibs.i386 6:3.5.7-20.fc7 set to be erased
---> Package arts.i386 8:1.5.7-1.fc7 set to be erased
---> Package qt-devel.i386 1:3.3.8-6.fc7 set to be erased
---> Package qt.i386 1:3.3.8-6.fc7 set to be erased
---> Package avahi-qt3.i386 0:0.6.17-1.fc7 set to be erased
---> Package kdebase.i386 6:3.5.7-13.fc7 set to be erased
---> Package k3b.i386 0:1.0.3-2.fc7 set to be erased
---> Package kdebindings.i386 0:3.5.7-1.fc7.1 set to be erased
---> Package ktorrent.i386 0:2.2.1-3.fc7 set to be erased
---> Package redhat-artwork-kde.i386 0:7.0.0-11.fc7 set to be erased
---> Package kdelibs-devel.i386 6:3.5.7-20.fc7 set to be erased
--> Processing Dependency: kdelibs3-devel for package: kdebase-devel
--> Processing Dependency: libtaskmanager.so.1 for package: kdebase-devel
--> Processing Dependency: kdelibs >= 3.5 for package: kde-settings
--> Processing Dependency: redhat-artwork-kde for package: kde-settings-kdm
--> Processing Dependency: kdebase-kdm >= 3.5 for package: kde-settings-kdm
--> Processing Dependency: libavahi-qt3.so.1 for package: kdnssd-avahi
--> Processing Dependency: libartsflow_idl.so.1 for package: arts-devel
--> Processing Dependency: libartsc.so.0 for package: timidity++
--> Processing Dependency: libkdecore.so.4 for package: kdnssd-avahi
--> Processing Dependency: libartsc.so.0 for package: vlc
--> Processing Dependency: qt-devel for package: arts-devel
--> Processing Dependency: kdelibs-devel for package: kdnssd-avahi-devel
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package kdnssd-avahi.i386 0:0.1.3-0.1.20060713svn.fc6 set to be erased
---> Package kdnssd-avahi-devel.i386 0:0.1.3-0.1.20060713svn.fc6 set to be erased
---> Package vlc.i386 0:0.8.6c-4.lvn7 set to be erased
---> Package kde-settings-kdm.noarch 0:3.5-30.fc7 set to be erased
---> Package kdelibs.i386 6:3.5.7-20.fc7 set to be erased
---> Package arts.i386 8:1.5.7-1.fc7 set to be erased
---> Package arts-devel.i386 8:1.5.7-1.fc7 set to be erased
---> Package timidity++.i386 0:2.13.2-1.2.2 set to be erased
---> Package qt-devel.i386 1:3.3.8-6.fc7 set to be erased
---> Package avahi-qt3.i386 0:0.6.17-1.fc7 set to be erased
---> Package kdebase.i386 6:3.5.7-13.fc7 set to be erased
---> Package kde-settings.noarch 0:3.5-30.fc7 set to be erased
---> Package redhat-artwork-kde.i386 0:7.0.0-11.fc7 set to be erased
---> Package kdelibs-devel.i386 6:3.5.7-20.fc7 set to be erased
---> Package kdebase-devel.i386 6:3.5.7-13.fc7 set to be erased
--> Processing Dependency: vlc = 0.8.6c-4.lvn7 for package: mozilla-vlc
--> Processing Dependency: timidity++ for package: SDL_mixer
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package mozilla-vlc.i386 0:0.8.6c-4.lvn7 set to be erased
---> Package vlc.i386 0:0.8.6c-4.lvn7 set to be erased
---> Package SDL_mixer.i386 0:1.2.7-3.fc7 set to be erased
---> Package timidity++.i386 0:2.13.2-1.2.2 set to be erased
--> Processing Dependency: libSDL_mixer-1.2.so.0 for package: freeciv
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package SDL_mixer.i386 0:1.2.7-3.fc7 set to be erased
---> Package freeciv.i386 0:2.0.9-1.fc7 set to be erased

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Removing:
 qt                      i386       1:3.3.8-6.fc7    installed         8.8 M
Removing for dependencies:
 SDL_mixer               i386       1.2.7-3.fc7      installed         336 k
 amarok                  i386       1.4.6-2.fc7      installed          27 M
 arts                    i386       8:1.5.7-1.fc7    installed         4.1 M
 arts-devel              i386       8:1.5.7-1.fc7    installed         948 k
 avahi-qt3               i386       0.6.17-1.fc7     installed          17 k
 freeciv                 i386       2.0.9-1.fc7      installed          12 M
 k3b                     i386       1.0.3-2.fc7      installed          27 M
 kde-settings            noarch     3.5-30.fc7       installed         8.9 k
 kde-settings-kdm        noarch     3.5-30.fc7       installed          22 k
 kdebase                 i386       6:3.5.7-13.fc7   installed          54 M
 kdebase-devel           i386       6:3.5.7-13.fc7   installed         6.7 M
 kdebindings             i386       3.5.7-1.fc7.1    installed          22 M
 kdelibs                 i386       6:3.5.7-20.fc7   installed          44 M
 kdelibs-devel           i386       6:3.5.7-20.fc7   installed          12 M
 kdnssd-avahi            i386       0.1.3-0.1.20060713svn.fc6  installed         114 k
 kdnssd-avahi-devel      i386       0.1.3-0.1.20060713svn.fc6  installed          27 k
 ktorrent                i386       2.2.1-3.fc7      installed         7.6 M
 mozilla-vlc             i386       0.8.6c-4.lvn7    installed         102 k
 oprofile-gui            i386       0.9.2-8.fc7      installed         199 k
 qt-devel                i386       1:3.3.8-6.fc7    installed          36 M
 redhat-artwork-kde      i386       7.0.0-11.fc7     installed         664 k
 timidity++              i386       2.13.2-1.2.2     installed          11 M
 vlc                     i386       0.8.6c-4.lvn7    installed          16 M

Transaction Summary
=============================================================================
Install      0 Package(s)         
Update       0 Package(s)         
Remove      24 Package(s)         

Is this ok [y/N]:
__________________
focus on everything...
Get Swiftfox
registered linux user #438335
Reply With Quote
  #2  
Old 1st September 2007, 09:05 AM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,076
You are removing qt, so yum will remove everything that depends on it. That's how it's supposed to work.
Point your QTDIR variable to the Qt4 installation directory to build Qt4 applications.
Reply With Quote
  #3  
Old 1st September 2007, 01:45 PM
Wangberg's Avatar
Wangberg Offline
Registered User
 
Join Date: Dec 2006
Location: PRC
Posts: 427
this is a first for me....every time i have ever installed any packages via yum, that also install dependencies, never uninstalls the dependencies when i yum remove the original package...never ever have i seen it do this.
__________________
focus on everything...
Get Swiftfox
registered linux user #438335
Reply With Quote
  #4  
Old 1st September 2007, 01:54 PM
Wangberg's Avatar
Wangberg Offline
Registered User
 
Join Date: Dec 2006
Location: PRC
Posts: 427
markkuk: You were right in the sense of pointing to the proper directory, however i'm not 100% clear as to how the commandline syntax should be executed.

Code:
[wangberg@solo last.fm-1.3.1.0]$ ./configure
Last.fm-1.1.3 Configure
Checking for qmake...
Checking the installed version of Qt is correct...
Qmake version: 1.07a (Qt 3.3.8)
Qmake is free software from Trolltech ASA.

Your version of Qt seems to be too old, we require Qt 4.2 or above.

It is possible you have Qt3 and Qt4 both installed. Locate your qt4 installation
and ensure it is placed first in the path, eg:

        PATH=/opt/qt4/bin:$PATH ./configure

However this configure script is very basic, perhaps we got it wrong..
Try typing the following, perhaps it will build for you :)

        qmake -config release && make
I tried this:

Code:
[wangberg@solo ~]$ whereis qt4
qt4: /usr/lib/qt4 /usr/share/qt4
[wangberg@solo ~]$ cd Desktop/
[wangberg@solo Desktop]$ cd last.fm-1.3.1.0
[wangberg@solo last.fm-1.3.1.0]$ PATH=/opt/qt4/bin:/usr/share/qt4 ./configure
Last.fm-1.1.3 Configure
Checking for qmake...

Sorry, qmake was not found, is Qt4 installed? You will want to install your 
distribution's packages of qt4 _and_ qt4-devel.
[wangberg@solo last.fm-1.3.1.0]$ PATH=/opt/qt4/bin:/usr/lib/qt4 ./configure
Last.fm-1.1.3 Configure
Checking for qmake...

Sorry, qmake was not found, is Qt4 installed? You will want to install your 
distribution's packages of qt4 _and_ qt4-devel.
[wangberg@solo last.fm-1.3.1.0]$ sudo yum install qt4-devel
Setting up Install Process
Parsing package install arguments
livna                     100% |=========================| 2.1 kB    00:00     
fedora                    100% |=========================| 2.1 kB    00:00     
adobe-linux-i386          100% |=========================|  951 B    00:00     
updates                   100% |=========================| 1.9 kB    00:00     
primary.sqlite.bz2        100% |=========================| 1.4 MB    00:16     
Resolving Dependencies
--> Running transaction check
---> Package qt4-devel.i386 0:4.3.1-3.fc7 set to be updated

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Installing:
 qt4-devel               i386       4.3.1-3.fc7      updates           6.1 M

Transaction Summary
=============================================================================
Install      1 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 6.1 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): qt4-devel-4.3.1-3. 100% |=========================| 6.1 MB    01:11     
Running rpm_check_debug
--> Populating transaction set with selected packages. Please wait.
---> Package qt4-devel.i386 0:4.3.1-3.fc7 set to be updated
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: qt4-devel                    ######################### [1/1] 

Installed: qt4-devel.i386 0:4.3.1-3.fc7
Complete!
[wangberg@solo last.fm-1.3.1.0]$ PATH=/opt/qt4/bin:/usr/lib/qt4 ./configure
Last.fm-1.1.3 Configure
Checking for qmake...

Sorry, qmake was not found, is Qt4 installed? You will want to install your 
distribution's packages of qt4 _and_ qt4-devel.
[wangberg@solo last.fm-1.3.1.0]$
what am i doing wrong, and how can i execute this string?

PATH=/opt/qt4/bin:$PATH ./configure

Thanks in advance!
__________________
focus on everything...
Get Swiftfox
registered linux user #438335
Reply With Quote
  #5  
Old 1st September 2007, 02:18 PM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
Hello:
Try either
qmake-qt4 -config --enable-static && make
or
qmake-qt4 -config release && make

There is a similar thread on last.fm here : http://forums.fedoraforum.org/forum/...ight=qmake-qt4

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #6  
Old 1st September 2007, 02:28 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Quote:
Originally Posted by Wangberg
markkuk: You were right in the sense of pointing to the proper directory, however i'm not 100% clear as to how the commandline syntax should be executed.

Code:
[wangberg@solo last.fm-1.3.1.0]$ ./configure
Last.fm-1.1.3 Configure
Checking for qmake...
Checking the installed version of Qt is correct...
Qmake version: 1.07a (Qt 3.3.8)
Qmake is free software from Trolltech ASA.

Your version of Qt seems to be too old, we require Qt 4.2 or above.

It is possible you have Qt3 and Qt4 both installed. Locate your qt4 installation
and ensure it is placed first in the path, eg:

        PATH=/opt/qt4/bin:$PATH ./configure

However this configure script is very basic, perhaps we got it wrong..
Try typing the following, perhaps it will build for you :)

        qmake -config release && make
I tried this:

Code:
[wangberg@solo ~]$ whereis qt4
qt4: /usr/lib/qt4 /usr/share/qt4
[wangberg@solo ~]$ cd Desktop/
[wangberg@solo Desktop]$ cd last.fm-1.3.1.0
[wangberg@solo last.fm-1.3.1.0]$ PATH=/opt/qt4/bin:/usr/share/qt4 ./configure
Last.fm-1.1.3 Configure
Checking for qmake...

Sorry, qmake was not found, is Qt4 installed? You will want to install your 
distribution's packages of qt4 _and_ qt4-devel.
[wangberg@solo last.fm-1.3.1.0]$ PATH=/opt/qt4/bin:/usr/lib/qt4 ./configure
Last.fm-1.1.3 Configure
Checking for qmake...

Sorry, qmake was not found, is Qt4 installed? You will want to install your 
distribution's packages of qt4 _and_ qt4-devel.
[wangberg@solo last.fm-1.3.1.0]$ sudo yum install qt4-devel
Setting up Install Process
Parsing package install arguments
livna                     100% |=========================| 2.1 kB    00:00     
fedora                    100% |=========================| 2.1 kB    00:00     
adobe-linux-i386          100% |=========================|  951 B    00:00     
updates                   100% |=========================| 1.9 kB    00:00     
primary.sqlite.bz2        100% |=========================| 1.4 MB    00:16     
Resolving Dependencies
--> Running transaction check
---> Package qt4-devel.i386 0:4.3.1-3.fc7 set to be updated

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Installing:
 qt4-devel               i386       4.3.1-3.fc7      updates           6.1 M

Transaction Summary
=============================================================================
Install      1 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 6.1 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): qt4-devel-4.3.1-3. 100% |=========================| 6.1 MB    01:11     
Running rpm_check_debug
--> Populating transaction set with selected packages. Please wait.
---> Package qt4-devel.i386 0:4.3.1-3.fc7 set to be updated
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: qt4-devel                    ######################### [1/1] 

Installed: qt4-devel.i386 0:4.3.1-3.fc7
Complete!
[wangberg@solo last.fm-1.3.1.0]$ PATH=/opt/qt4/bin:/usr/lib/qt4 ./configure
Last.fm-1.1.3 Configure
Checking for qmake...

Sorry, qmake was not found, is Qt4 installed? You will want to install your 
distribution's packages of qt4 _and_ qt4-devel.
[wangberg@solo last.fm-1.3.1.0]$
what am i doing wrong, and how can i execute this string?

PATH=/opt/qt4/bin:$PATH ./configure

Thanks in advance!
Have you tried closing the terminal to reset the qt path ?
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
  #7  
Old 2nd September 2007, 02:58 AM
Wangberg's Avatar
Wangberg Offline
Registered User
 
Join Date: Dec 2006
Location: PRC
Posts: 427
seve:

qmake-qt4 -config --enable-static && make worked!

thanks!
__________________
focus on everything...
Get Swiftfox
registered linux user #438335
Reply With Quote
  #8  
Old 2nd September 2007, 06:03 AM
robatino Offline
Registered User
 
Join Date: Feb 2004
Posts: 845
Quote:
Originally Posted by Wangberg
this is a first for me....every time i have ever installed any packages via yum, that also install dependencies, never uninstalls the dependencies when i yum remove the original package...never ever have i seen it do this.
That's not what's happening here. Suppose you install package A that pulls in package B as a dependency, and later decide to remove package A. It won't try to remove package B since A depends on B, but B doesn't depend on A (usually). There is some work going on in having yum remember which packages were installed as dependencies of other ones, and offering to remove them automatically. But there's no way to be sure those packages aren't being used independently. If one does a clean install when new versions come out, the unused packages go away anyway, and HD space is cheap.
Reply With Quote
Reply

Tags
behavior, weird, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird behavior in KDE 4 lotek Using Fedora 1 28th July 2008 02:13 AM
Weird Nautilus behavior in FC5 PeteDude Using Fedora 0 7th April 2007 05:43 PM
really weird yum behavior marko Using Fedora 1 19th January 2007 01:52 AM
Weird cifs behavior in FC6 usernamenumber Servers & Networking 1 29th October 2006 07:10 AM
Weird system behavior epiieq1 Using Fedora 7 29th August 2005 04:56 AM


Current GMT-time: 13:44 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat