Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USE error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
raincoat
n00b
n00b


Joined: 27 May 2003
Posts: 33

PostPosted: Thu Sep 11, 2003 7:23 pm    Post subject: USE error Reply with quote

A friend and my self have started using Gentoo, I have been using has been using if for 3 days. For some reason its not ignoring packages that we have subtracted in the use varible.

For example USE = "X gtk gnome -kde -qt" and when we did an emerge -p gnome it wanted to load qt

in another instance on a different computer we had emerge -Up world with a -gnome in the use variable and it still wanted to upgrade gnome.

This is happening on 3 computers can you please tell us how we can fix this problem, thanks :)
_________________
That statement below is true
The statement above is false
Back to top
View user's profile Send private message
Brandy
Bodhisattva
Bodhisattva


Joined: 08 Jun 2003
Posts: 820
Location: New Zealand

PostPosted: Thu Sep 11, 2003 8:16 pm    Post subject: Reply with quote

Hi raincoat.

Often portage can try to emerge packages that you don't want or expect to be installed. This is often caused by a USE flag pulling in something unwanted; in your case it may be a USE flag like arts that is causing qt to be installed. You can see what the offending USE flags are with the following command:
Code:

# emerge -pv package_name

The -v option allows you to see what USE flags are associated with each package about to be installed. You can then re-run the command without the suspicious USE flags to see what changes would be made. eg:
Code:

# USE="-arts" emerge -pv package_name

Ciao, Brandy.
_________________
Faber est suae quisque fortunae.
Back to top
View user's profile Send private message
raincoat
n00b
n00b


Joined: 27 May 2003
Posts: 33

PostPosted: Fri Sep 12, 2003 5:08 pm    Post subject: Reply with quote

I don't think thats my problem:
Check out this example

Code:

[100% root@saturn LOTR]$ USE="-gnome -alsa -kde -qt" emerge -Upv world
>>> --upgradeonly implies --update... adding --update to options.
 
These are the packages that I would merge, in order:
 
Calculating world dependencies ...done!
[ebuild     UD] net-www/opera-6.12 [7.11] -gnome -kde
[ebuild     U ] x11-themes/gnome-icon-theme-1.0.6 [1.0.5]
[ebuild     U ] sys-apps/portage-2.0.49-r3 [2.0.49-r2] -build
*** Portage will stop merging at this point and reload itself,
    recalculate dependencies, and complete the merge.
 
[ebuild     U ] sys-devel/binutils-2.14.90.0.6-r2 [2.14.90.0.2] +nls -bootstrap -build
[ebuild     U ] net-libs/linc-1.0.3 [1.0.2] -doc +ssl
[ebuild     U ] gnome-base/ORBit2-2.6.3 [2.6.2]
[ebuild     U ] gnome-base/bonobo-activation-2.2.4 [2.2.3] -doc
[ebuild     U ] media-libs/fontconfig-2.2.1 [2.2.0-r2]
[ebuild     U ] x11-libs/pango-1.2.3 [1.2.1-r1] -doc
[ebuild     U ] dev-libs/atk-1.2.4 [1.2.3] -doc
[ebuild     U ] x11-libs/gtk+-2.2.1-r1 [2.2.1] -tiff -doc +jpeg -debug
[ebuild     U ] gnome-base/gconf-2.2.1 [2.2.0] -doc
[ebuild     U ] gnome-base/libbonobo-2.2.3 [2.2.2] -doc
[ebuild     U ] gnome-base/libgnomecanvas-2.2.1 [2.2.0.2] -doc
[ebuild     U ] gnome-base/gnome-mime-data-2.2.1 [2.2.0]
[ebuild     U ] gnome-base/gnome-vfs-2.2.5 [2.2.4] -doc +ssl
[ebuild     U ] gnome-base/libgnome-2.2.3 [2.2.2] -doc
[ebuild     U ] gnome-base/libbonoboui-2.2.4 [2.2.2] -doc
[ebuild     U ] gnome-base/libgnomeui-2.2.2 [2.2.1] -doc
[ebuild  N    ] x11-themes/gtk-engines-2.2.0
[ebuild     U ] x11-themes/gnome-themes-2.2.2-r1 [2.2.1]
[ebuild     U ] x11-libs/libwnck-2.2.2 [2.2.1]
[ebuild     U ] gnome-base/gnome-desktop-2.2.2 [2.2.1-r1]
[ebuild     U ] gnome-base/gnome-panel-2.2.2.2 [2.2.2.1] -doc
[ebuild     U ] app-arch/file-roller-2.2.5 [2.2.4]
[ebuild     U ] gnome-extra/yelp-2.2.3 [2.2.2]
[ebuild     U ] gnome-base/libgtop-2.0.3 [2.0.2-r1]
[ebuild     U ] gnome-base/eel-2.2.4 [2.2.3]
[ebuild     U ] gnome-base/libgnomeprint-2.2.1.3 [2.2.1.2] +cups -doc
[ebuild     U ] gnome-base/libgnomeprintui-2.2.1.3 [2.2.1.2] -doc
[ebuild     U ] app-editors/gedit-2.2.2 [2.2.1] +spell
[ebuild     U ] x11-wm/metacity-2.4.55 [2.4.34]
[ebuild     U ] x11-terms/gnome-terminal-2.2.2 [2.2.1]
[ebuild     U ] gnome-base/gnome-session-2.2.2 [2.2.1]
[ebuild     U ] gnome-extra/gnome-system-monitor-2.0.5 [2.0.4-r1]
[ebuild     U ] gnome-base/nautilus-2.2.4 [2.2.3] +oggvorbis
[ebuild     U ] media-libs/libmpeg2-0.3.2_pre20030625 [0.3.1] +sdl -X
[ebuild  N    ] media-libs/libdvdnav-0.1.9
[ebuild     U ] media-libs/gstreamer-0.6.2 [0.6.1-r1]
[ebuild     U ] media-libs/gst-plugins-0.6.2-r1 [0.6.1] +encode +quicktime +mpeg +jpeg +esd -gnome +mikmod +sdl +png -alsa +arts +dvd -aalib +oggvorbis +mmx
[ebuild     U ] gnome-base/gdm-2.4.1.6 [2.4.1.4]
[ebuild     U ] gnome-base/gnome-applets-2.2.2 [2.2.1] -doc
[ebuild     U ] gnome-extra/acme-2.0.6 [2.0.4]
[ebuild     U ] gnome-extra/gnome-media-2.2.2 [2.2.1.1]
[ebuild     U ] media-gfx/eog-2.2.2 [2.2.1] +jpeg +png
[ebuild     U ] gnome-base/gnome-2.2.2-r1 [2.2.1]


and in my /etc/make.conf the USE variable looks like this:
USE="-X gtk -gnome -alsa dvd quicktime -kde -qt"

why would gnome still be loaded with a -gnome I don't see any reason why that would be loaded. I know its probably a simple problem but I just don't know how to fix it, any help is welcome. Thanks
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9530
Location: beyond the rim

PostPosted: Fri Sep 12, 2003 7:17 pm    Post subject: Reply with quote

If gnome is in your world file it will be upgraded, if you don't want gnome
Code:
emerge unmerge gnome

and gnome shouldn't be updated after that unless something has a required dependency on it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum