Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] emerge --exclude. How to use it correctly?
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
gangstervano
n00b
n00b


Joined: 15 Aug 2016
Posts: 74

PostPosted: Sun Sep 16, 2018 10:27 am    Post subject: [SOLVED] emerge --exclude. How to use it correctly? Reply with quote

Hi!

I run:

Quote:
emerge --verbose-conflicts --exclude cryfs qtwebkit -auDN @world


and get the output:
Quote:

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild U ] dev-qt/qtwebkit-5.212.0_pre20180120 [5.9.1] USE="X%* gstreamer* hyphen%* -nsplugin%"

Would you like to merge these packages? [Yes/No]

The man emerge says:

Quote:
--exclude ATOMS
A space separated list of package names or slot atoms.


Why did the qtwebkit package remain?

I run:

Quote:
emerge --verbose-conflicts --exclude cryfs --exclude qtwebkit -auDN @world

These are the packages that would be merged, in order:

Calculating dependencies... done!

Nothing to merge; quitting.


everything is correct.

What am I doing wrong in the first example?


Last edited by gangstervano on Sun Sep 16, 2018 10:33 am; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sun Sep 16, 2018 10:29 am    Post subject: Reply with quote

Code:
emerge --verbose-conflicts --exclude 'cryfs qtwebkit' -auDN @world

_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8936

PostPosted: Sun Sep 16, 2018 10:31 am    Post subject: Reply with quote

You need to put them in apostrophes if you exclude multiple atoms, otherwise the everything after first atom will instead be interpreted as a package you want to merge.
Back to top
View user's profile Send private message
gangstervano
n00b
n00b


Joined: 15 Aug 2016
Posts: 74

PostPosted: Sun Sep 16, 2018 10:32 am    Post subject: Reply with quote

Thanks! :D
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