Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
tracking unstable pacakages during emerge world
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
fbleagh
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jun 2002
Posts: 98

PostPosted: Mon Jan 13, 2003 3:57 am    Post subject: tracking unstable pacakages during emerge world Reply with quote

hi guys,

I run gento on my desktop machine and I like to have most packages jsut running the latest stable version but some things like mplayer i like to have the latest version.

So when i want to compile something non-stable i just do
Code:
env ACCEPT_KEYWORDS="~x86" emerge blahhh


and thats all fine except for when i goto do emerge -u world
it wants to downgrade all my masked packages :(
and i dont want to do
Code:
env ACCEPT_KEYWORDS="~x86" emerge -u world

Any ideas on how this can be managed automatically ?
Back to top
View user's profile Send private message
slartibartfasz
Veteran
Veteran


Joined: 29 Oct 2002
Posts: 1462
Location: Vienna, Austria

PostPosted: Mon Jan 13, 2003 11:59 am    Post subject: Reply with quote

this may require some work but u could try the following:

disable ACCEPT_KEYWORDS in your make.conf

run emerge rsync

then (here comes the working part): write a script (shell, perl, whatever) that parses through the file /usr/portage/profile/package.mask and deletes every line that matches one of your must-have-packages

a following emerge -u world should now update all stable versions of normal packages plus the unstable packages u want to have, because now they are not masked any longer...
_________________
To an engineer the glass is neither half full, nor half empty - it is just twice as big as it needs to be.
Back to top
View user's profile Send private message
doug-x07
Tux's lil' helper
Tux's lil' helper


Joined: 16 Nov 2002
Posts: 122
Location: Paris, France

PostPosted: Mon Jan 13, 2003 12:17 pm    Post subject: Reply with quote

See here for how to pin package versions. Another way of getting round the downgrade problem.
_________________
#! /usr/bin/perl
if( @first != $succeed ) {
post { $question->forum && eval '$answers' };
try { $again } catch { $problem && $resolve };
bless $posters; }
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