View previous topic :: View next topic |
Author |
Message |
MacMasta Guru


Joined: 18 Apr 2002 Posts: 545 Location: Anchorage, AK
|
Posted: Sun Oct 27, 2002 11:09 pm Post subject: Making portage leave a package alone |
|
|
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 |
|
 |
MacMasta Guru


Joined: 18 Apr 2002 Posts: 545 Location: Anchorage, AK
|
Posted: Sun Oct 27, 2002 11:24 pm Post subject: |
|
|
Fixed it!
For the curious:
emerge -i x11-base/xfree-4.2.1
did the trick.
~Mac~ |
|
Back to top |
|
 |
klieber Bodhisattva


Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Sun Oct 27, 2002 11:25 pm Post subject: Re: Making portage leave a package alone |
|
|
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 |
|
 |
MacMasta Guru


Joined: 18 Apr 2002 Posts: 545 Location: Anchorage, AK
|
Posted: Mon Oct 28, 2002 7:28 am Post subject: |
|
|
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 |
|
 |
|