Re: [gentoo-user] Re: How to instruct emerge to leave certain stuff alone

2005-08-29 Thread Neil Bothwick
On Mon, 29 Aug 2005 04:39:12 -0500, Harry Putnam wrote:

> > According to the portage man-page you must include the version of
> > the package
> 
> Yes I saw that too,  But that wasn't necessary before.  So maybe new?
> But it also raises another question.  The emacs I wanted to keep is an
> older version than the newest in portage.   So do I enter that version?

Put the version you have installed in package.provided and
">category/package-version" in /etc/portage/package.mask.

This will tell portage that you have the version you have installed,
but not to try to update to a newer version. If you ever try to install a
package that requires a later version of emacs than you have, you'll get
an error and can deal with it manually, whereas putting later versions
in package.provided means you'll see no error until the dependent
package breaks.


-- 
Neil Bothwick

I do not like this dumb machine
I really ought to sell it.
It never does just what I want
But only what I tell it.


pgpSF4R32Hkr7.pgp
Description: PGP signature


Re: [gentoo-user] Re: How to instruct emerge to leave certain stuff alone

2005-08-29 Thread Alex
On Monday 29 August 2005 09:53, Nagatoro wrote:
> In my mind that means just that; as long as someother package doesn't
> _need_ a newer version portage will ignore all versions of the
> provided package.

Yup, so you would only need to change the version of the package in 
packages.provided to a newer one only if you see it pulled as a dependency.
Just enter the latest version available in portage and you should be ok for a 
long time :)
-- 
Cheers, Alex.


pgpIO3m3MtbGm.pgp
Description: PGP signature


Re: [gentoo-user] Re: How to instruct emerge to leave certain stuff alone

2005-08-29 Thread Nagatoro

Harry Putnam wrote:

Alex <[EMAIL PROTECTED]> writes:
Yes I saw that too,  But that wasn't necessary before.  So maybe new?
But it also raises another question.  The emacs I wanted to keep is an
older version than the newest in portage.   So do I enter that version?

That is, will portage just ignore the fact that there is a newer
version.  Or does it mean I need to put the newest version number in
 /etc/portage/profile/package.provided
even though that isn't what I have?


From Harry Putnam's post:
Portage will not  attempt to update a package that is listed here 
unless another package explicitly requires a version that is newer 
than what has been listed.


In my mind that means just that; as long as someother package doesn't 
_need_ a newer version portage will ignore all versions of the 
provided package.


--
Naga
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: How to instruct emerge to leave certain stuff alone

2005-08-29 Thread Harry Putnam
Alex <[EMAIL PROTECTED]> writes:

> On Monday 29 August 2005 02:18, Harry Putnam wrote:
>> It contained
>> dev-util/cvs
>> app-editors/emacs-cvs
>
> According to the portage man-page you must include the version of
> the package

Yes I saw that too,  But that wasn't necessary before.  So maybe new?
But it also raises another question.  The emacs I wanted to keep is an
older version than the newest in portage.   So do I enter that version?

That is, will portage just ignore the fact that there is a newer
version.  Or does it mean I need to put the newest version number in
 /etc/portage/profile/package.provided
even though that isn't what I have?

-- 
gentoo-user@gentoo.org mailing list