View previous topic :: View next topic |
Author |
Message |
Iron_DragonLord Apprentice
Joined: 04 Nov 2004 Posts: 273
|
Posted: Mon Nov 08, 2004 10:43 pm Post subject: emerge --update world adds a ton of crap I don't want? |
|
|
Why in the world is portage trying to add in stuff I explocitaly said NOT to with my use flag?
For example, I'm trying to run a command line only server, so I have -X in my USE flag, yet here is portage having a great time moving into my system with his buddies.
Code: | # emerge --pretend --update --deep --newuse --newuse world
These are the packages that I would merge, in order:
Calculating world dependencies ...done!
[ebuild N ] x11-base/xorg-x11-6.8.0-r1
[ebuild N ] x11-libs/qt-3.3.3
[ebuild N ] media-libs/pdflib-5.0.2
[ebuild R ] media-libs/freetype-1.3.1-r4
[ebuild N ] sys-libs/gpm-1.20.1
[ebuild N ] app-text/aspell-0.50.5-r4
[ebuild R ] dev-php/php-4.3.9
[ebuild N ] dev-util/yacc-1.9.1-r2
[ebuild NS ] net-www/apache-2.0.52-r1
[ebuild R ] dev-php/mod_php-4.3.9 |
I had it running while I left for a few hours, who the hell knows what else I got on I don't want.
Shouldn't emerge --update world be RESTRICTED from having any ebuilds marked with "N" to be emerged? |
|
Back to top |
|
|
TrueDFX Retired Dev
Joined: 02 Jun 2004 Posts: 1348
|
Posted: Mon Nov 08, 2004 10:55 pm Post subject: Re: emerge --update world adds a ton of crap I don't want? |
|
|
Iron_DragonLord wrote: | Why in the world is portage trying to add in stuff I explocitaly said NOT to with my use flag? |
USE flags affect optional dependencies only.
Quote: | For example, I'm trying to run a command line only server, so I have -X in my USE flag, yet here is portage having a great time moving into my system with his buddies.
Code: | # emerge --pretend --update --deep --newuse --newuse world
These are the packages that I would merge, in order:
Calculating world dependencies ...done!
[ebuild N ] x11-base/xorg-x11-6.8.0-r1
[ebuild N ] x11-libs/qt-3.3.3
[ebuild N ] media-libs/pdflib-5.0.2
[ebuild R ] media-libs/freetype-1.3.1-r4
[ebuild N ] sys-libs/gpm-1.20.1
[ebuild N ] app-text/aspell-0.50.5-r4
[ebuild R ] dev-php/php-4.3.9
[ebuild N ] dev-util/yacc-1.9.1-r2
[ebuild NS ] net-www/apache-2.0.52-r1
[ebuild R ] dev-php/mod_php-4.3.9 |
I had it running while I left for a few hours, who the hell knows what else I got on I don't want. |
It's impossible to install qt without installing X. php 4.3.9 has an optional dependency on qt. Disable this with the -qt USE flag.
Quote: | Shouldn't emerge --update world be RESTRICTED from having any ebuilds marked with "N" to be emerged? |
No, because newer versions of packages you do want can depend on other packages you don't yet have.
(PS: Add --tree and --verbose to your command. This way, you can figure out very easily why portage wants to install X.) |
|
Back to top |
|
|
Iron_DragonLord Apprentice
Joined: 04 Nov 2004 Posts: 273
|
Posted: Mon Nov 08, 2004 11:04 pm Post subject: |
|
|
Ah, I see, that helps a lot, thanks.
Although I still don't understand why qt was trying to be emerged in the first place....
Edit: I check "man emerge" and I don't have to world favorites that it lists in the related files section (/var/cache/edb/world). I do, however, have /var/lib/portage/world.
Maybe that is why it decided to add all this N stuff which I don't need? |
|
Back to top |
|
|
TrueDFX Retired Dev
Joined: 02 Jun 2004 Posts: 1348
|
Posted: Mon Nov 08, 2004 11:18 pm Post subject: |
|
|
Iron_DragonLord wrote: | Ah, I see, that helps a lot, thanks.
Although I still don't understand why qt was trying to be emerged in the first place.... |
Because the qt USE flag is on by default, and you have php on your system. With that flag, you enable qt support.
Quote: | Edit: I check "man emerge" and I don't have to world favorites that it lists in the related files section (/var/cache/edb/world). I do, however, have /var/lib/portage/world.
Maybe that is why it decided to add all this N stuff which I don't need? |
No, the man page could apparently use an update. /var/cache/edb/world was used by portage 2.0.50 and earlier. 2.0.51 uses /var/lib/portage/world.
(Edit: Possible problem: Do you use ufed, and did you recently change your /etc/make.profile link?) |
|
Back to top |
|
|
Iron_DragonLord Apprentice
Joined: 04 Nov 2004 Posts: 273
|
Posted: Mon Nov 08, 2004 11:38 pm Post subject: |
|
|
I didn't do either. All I did was think I should try updating my system... |
|
Back to top |
|
|
TrueDFX Retired Dev
Joined: 02 Jun 2004 Posts: 1348
|
Posted: Mon Nov 08, 2004 11:57 pm Post subject: |
|
|
Okay, then I have no idea why you didn't run into this problem when you first installed php. I hope knowing why you do now is good enough. |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
|
Back to top |
|
|
|