Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Making portage leave a package alone
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
MacMasta
Guru
Guru


Joined: 18 Apr 2002
Posts: 545
Location: Anchorage, AK

PostPosted: Sun Oct 27, 2002 11:09 pm    Post subject: Making portage leave a package alone Reply with quote

I haven't done an rsync and emerge -up world on my laptop recently, and I noticed that among the stuff that I probably want to upgrade is xfree-4.2.1. However, the laptop uses a proprietary X-server that takes the place of all the xfree binaries - if I build xfree-4.2.1, I'll have to re-install it, and that's a very ugly process indeed. Is there a way I can tell portage "just ignore this indefinetly" and still do the rest?

Perhaps the inject command - IE "you've already got this one"?

Thanks!

~Mac~
Back to top
View user's profile Send private message
MacMasta
Guru
Guru


Joined: 18 Apr 2002
Posts: 545
Location: Anchorage, AK

PostPosted: Sun Oct 27, 2002 11:24 pm    Post subject: Reply with quote

Fixed it!

For the curious:

emerge -i x11-base/xfree-4.2.1

did the trick.

~Mac~
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Sun Oct 27, 2002 11:25 pm    Post subject: Re: Making portage leave a package alone Reply with quote

MacMasta wrote:
Is there a way I can tell portage "just ignore this indefinetly" and still do the rest?


Either mask it in /usr/portage/profiles/package.mask or create a Portage profile that excludes it. Explanations for how to do both are in the gentoo.org documentation section.

Of course, anything that you emerge which depends on (rather than just suggests) XFree86 is likely to have problems. You can try injecting it to fool Portage into thining that XFree86 is installed, but then other programs are going to expect those libraries, pathnames, etc. all to be there, so I imagine you'll run into problems with other packages.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
MacMasta
Guru
Guru


Joined: 18 Apr 2002
Posts: 545
Location: Anchorage, AK

PostPosted: Mon Oct 28, 2002 7:28 am    Post subject: Reply with quote

Not a problem in this case - the proprietary x-server just replaces all the X binaries with ones that work in an identical manner, as far as the system is concerned (think postfix emulating sendmail).

So it all works peachy.


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