Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
unselect packages for emerge -u 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
basvdijk
n00b
n00b


Joined: 07 Apr 2003
Posts: 48
Location: Netherlands

PostPosted: Mon Apr 07, 2003 7:40 am    Post subject: unselect packages for emerge -u world Reply with quote

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
View user's profile Send private message
avendesora
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1739
Location: Betelgeuse vicinity

PostPosted: Mon Apr 07, 2003 11:01 am    Post subject: Reply with quote

Have you tried the -U (capital u) option? It's supposed to ignore downgrades (but doesn't always work perfectly).
Back to top
View user's profile Send private message
basvdijk
n00b
n00b


Joined: 07 Apr 2003
Posts: 48
Location: Netherlands

PostPosted: Tue Apr 08, 2003 11:29 am    Post subject: THANKS! Reply with quote

Tanks for the command I'll try this one...
Back to top
View user's profile Send private message
optilude
Apprentice
Apprentice


Joined: 29 May 2002
Posts: 248
Location: England

PostPosted: Tue Apr 08, 2003 6:00 pm    Post subject: Re: unselect packages for emerge -u world Reply with quote

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:

Code:

femerge -u world


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
View user's profile Send private message
basvdijk
n00b
n00b


Joined: 07 Apr 2003
Posts: 48
Location: Netherlands

PostPosted: Wed Apr 09, 2003 7:30 am    Post subject: THANKS! Reply with quote

Thanks, I'll certenly try your script. If it works I will also show it to friends :wink:
Back to top
View user's profile Send private message
ARC2300
Apprentice
Apprentice


Joined: 30 Mar 2003
Posts: 265

PostPosted: Wed Apr 09, 2003 3:29 pm    Post subject: Reply with quote

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. :-D
Back to top
View user's profile Send private message
optilude
Apprentice
Apprentice


Joined: 29 May 2002
Posts: 248
Location: England

PostPosted: Wed Apr 09, 2003 4:08 pm    Post subject: Reply with quote

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
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