View previous topic :: View next topic |
Author |
Message |
fbleagh Tux's lil' helper
Joined: 13 Jun 2002 Posts: 98
|
Posted: Mon Jan 13, 2003 3:57 am Post subject: tracking unstable pacakages during emerge world |
|
|
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 |
|
|
slartibartfasz Veteran
Joined: 29 Oct 2002 Posts: 1462 Location: Vienna, Austria
|
Posted: Mon Jan 13, 2003 11:59 am Post subject: |
|
|
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 |
|
|
doug-x07 Tux's lil' helper
Joined: 16 Nov 2002 Posts: 122 Location: Paris, France
|
Posted: Mon Jan 13, 2003 12:17 pm Post subject: |
|
|
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 |
|
|
|