Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/etc/portage/package.mask trouble [SOLVED]
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
d99ma
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2003
Posts: 148
Location: Lund, Sweden

PostPosted: Mon Jun 14, 2004 12:28 pm    Post subject: /etc/portage/package.mask trouble [SOLVED] Reply with quote

Hi

I use nvidias drivers and want to use version 1.0.5336-r2.

To achive this I added the following to /etc/portage/package.mask

Code:

<media-video/nvidia-kernel-1.0.5336-r2
<media-video/nvidia-glx-1.0.5336-r2


When I try to emerge nvidia-kernel it does the right thing but nvidia-glx wants to downgrade to version 1.0.4496.

Why is this?

/Martin


Last edited by d99ma on Mon Jun 14, 2004 12:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
furkan
Guru
Guru


Joined: 11 Dec 2003
Posts: 520
Location: Montreal CA

PostPosted: Mon Jun 14, 2004 12:31 pm    Post subject: Reply with quote

try
Code:
emerge /usr/portage/medi-video/nvidia-glx/nvidia-glx-1.0.5336-r2.ebuild

and look if it will install
Back to top
View user's profile Send private message
d99ma
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2003
Posts: 148
Location: Lund, Sweden

PostPosted: Mon Jun 14, 2004 12:35 pm    Post subject: Reply with quote

Yea that would work, but that would leave me with my problem, running emerge -uDpv world will downgrade again, and I'm not keen on using -U (don't ask me why)

/Martin
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4975
Location: Gothenburg, Sweden

PostPosted: Mon Jun 14, 2004 12:43 pm    Post subject: Reply with quote

If you're on stable there is no need to use package.mask. Setting up package.keywords should be enough.
Code:
echo "media-video/nvidia-kernel ~x86" >> /etc/portage/package.keywords
echo "media-video/nvidia-glx ~x86" >> /etc/portage/package.keywords

Use versioning as you find appropriate.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
Back to top
View user's profile Send private message
d99ma
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2003
Posts: 148
Location: Lund, Sweden

PostPosted: Mon Jun 14, 2004 12:50 pm    Post subject: Reply with quote

Aha!
Found the problem, I thought I had the correct entries in /etc/portage/package.keywords but instead of ~x86 I had !x86...

Thanks!
/Martin
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