Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge all but one package
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
Johnyp
Guru
Guru


Joined: 23 Mar 2005
Posts: 301

PostPosted: Sun Mar 04, 2007 5:26 am    Post subject: Emerge all but one package Reply with quote

Hi all,
I want to "emerge -uDv world" my system, but i don't want to update one of the packages that is scheduled for an update. How can i exclude just that one package and still upgrade the rest in one shot?

Thanks all!
_________________
Gentoo Unanswered Questions- Give it a try!
Back to top
View user's profile Send private message
desultory
Administrator
Administrator


Joined: 04 Nov 2005
Posts: 9085

PostPosted: Sun Mar 04, 2007 6:44 am    Post subject: Reply with quote

Mask the package.

Excerpted from man 5 portage, the file described is placed in /etc/portage:
Quote:
package.mask
A list of package atoms to mask. Useful if specific versions of packages do not work well for you. For example, you swear by the Nvidia drivers, but only versions earlier than 1.0.4496. No problem!

Format:

- comments begin with # - one DEPEND atom per line

Example:

# mask out versions 1.0.4496 of the nvidia # drivers and later >=media-video/nvidia-kernel-1.0.4496 >=media-video/nvidia-glx-1.0.4496
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