View previous topic :: View next topic |
Author |
Message |
basvdijk n00b
Joined: 07 Apr 2003 Posts: 48 Location: Netherlands
|
Posted: Mon Apr 07, 2003 7:40 am Post subject: unselect packages for emerge -u world |
|
|
Does anyone know the attribute for excluding packages from the $emerge -u world command? I've got a stable version of Gentoo and installed Mozilla (unstable). When I run the command $emerge -u world portage wants to downgrade Mozilla. I hope there is an attribute which can exclude Mozilla. Something like $emerge -u world -exclude Mozilla or something...
Thanks! |
|
Back to top |
|
|
avendesora Veteran
Joined: 16 Aug 2002 Posts: 1739 Location: Betelgeuse vicinity
|
Posted: Mon Apr 07, 2003 11:01 am Post subject: |
|
|
Have you tried the -U (capital u) option? It's supposed to ignore downgrades (but doesn't always work perfectly). |
|
Back to top |
|
|
basvdijk n00b
Joined: 07 Apr 2003 Posts: 48 Location: Netherlands
|
Posted: Tue Apr 08, 2003 11:29 am Post subject: THANKS! |
|
|
Tanks for the command I'll try this one... |
|
Back to top |
|
|
optilude Apprentice
Joined: 29 May 2002 Posts: 248 Location: England
|
Posted: Tue Apr 08, 2003 6:00 pm Post subject: Re: unselect packages for emerge -u world |
|
|
basvdijk wrote: | Does anyone know the attribute for excluding packages from the $emerge -u world command? |
Hehe, you're in luck mate. I had similar problems, and wrote a program called pfilter and an emerge wrapper called femerge. Get them from:
https://forums.gentoo.org/viewtopic.php?t=45827
Currently versions 0.9 - work well for me. To exclude mozilla, do:
And then deselect the ebuild(s) you don't want to install in the dialogue box that comes up. Let me know how it works for you - I'm still looking for feedback to be sure it works as advertised!
Cheers,
Martin _________________ --
"Life is both a major and a minor key" -- Travis |
|
Back to top |
|
|
basvdijk n00b
Joined: 07 Apr 2003 Posts: 48 Location: Netherlands
|
Posted: Wed Apr 09, 2003 7:30 am Post subject: THANKS! |
|
|
Thanks, I'll certenly try your script. If it works I will also show it to friends |
|
Back to top |
|
|
ARC2300 Apprentice
Joined: 30 Mar 2003 Posts: 265
|
Posted: Wed Apr 09, 2003 3:29 pm Post subject: |
|
|
emerge -U worked just fine for me.
I have a masked version of Blackdown, Alsa, and gtk-gnutella, and emerge -U skipped right over them.
If you want to make sure, you can just do a pretend emerge, and it will tell you what it wants to upgrade.
I'll have to check out that script, though. Might come in much handier. |
|
Back to top |
|
|
optilude Apprentice
Joined: 29 May 2002 Posts: 248 Location: England
|
Posted: Wed Apr 09, 2003 4:08 pm Post subject: |
|
|
ARC2300 wrote: | emerge -U worked just fine for me.
I'll have to check out that script, though. Might come in much handier. |
Well, yeah - emerge -U world will let you install all packages from the world profile that are newer (i.e. higher version numbers), and not downgrade anything. However, femerge/pfilter will let you do much more than that - you can avoid installing packages that emerge -u (or -U) world suggests and leave them till later, without having to mangle your worldfile. I find this very useful, for instance, in postponing an upgrade to KDE 3.1.1, but still have emerge -up world recommend I upgrade to remind me. You can of course use -U with femerge: just run "femerge -U world".
Martin _________________ --
"Life is both a major and a minor key" -- Travis |
|
Back to top |
|
|
|