Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
update world and install package X with one command
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
Haubentaucher
n00b
n00b


Joined: 28 Feb 2011
Posts: 60

PostPosted: Fri Sep 21, 2012 1:55 pm    Post subject: update world and install package X with one command Reply with quote

Is there a possibility to update world and install another package in one command?
I tried something like:
Code:
emerge -auv world =media-tv/xbmc-9999

but it does not work because portage thinks: xmbc-9999 is already the newest version.
Back to top
View user's profile Send private message
dol-sen
Retired Dev
Retired Dev


Joined: 30 Jun 2002
Posts: 2805
Location: Richmond, BC, Canada

PostPosted: Fri Sep 21, 2012 2:12 pm    Post subject: Reply with quote

No, you need to do that in 2 operations, but you can chain them into one line

Code:
emerge -auvD world && emerge =media-tv/xbmc-9999

_________________
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Back to top
View user's profile Send private message
Haubentaucher
n00b
n00b


Joined: 28 Feb 2011
Posts: 60

PostPosted: Fri Sep 21, 2012 2:16 pm    Post subject: Reply with quote

Hmm, ok, thanks for your answer.
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