* [gentoo-user] How to instruct emerge to leave certain stuff alone
@ 2005-08-29 2:18 Harry Putnam
2005-08-29 12:06 ` Alex
0 siblings, 1 reply; 6+ messages in thread
From: Harry Putnam @ 2005-08-29 2:18 UTC (permalink / raw
To: gentoo-user
I just ran an emerge world -u and at the beginning there were some
errors/warnings about my lines in
/etc/portage/profile/package.provided
I didn't save the error but it indicate my file would be ignored.
It contained
dev-util/cvs
app-editors/emacs-cvs
I didn't want the emerge to mess with emacs. I build my own for yrs
now. However rather than investigate and fix, I just commented the
line out and proceeded.
Emerge installed the latest emacs and even overwrote my .emacs-custom
file. (Which seems it should not have, if it found one)
But what I want here now is to know how to handle this in the future.
That is, how to tell emerge that I want certain packages ignored or
left to me.
Last time around those lines in package.provided were sufficient but
apparantly something has changed.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: How to instruct emerge to leave certain stuff alone
2005-08-29 12:06 ` Alex
@ 2005-08-29 9:39 ` Harry Putnam
2005-08-29 9:53 ` Nagatoro
2005-08-29 18:22 ` Neil Bothwick
0 siblings, 2 replies; 6+ messages in thread
From: Harry Putnam @ 2005-08-29 9:39 UTC (permalink / raw
To: gentoo-user
Alex <alex.tsr@gmail.com> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Re: How to instruct emerge to leave certain stuff alone
2005-08-29 9:39 ` [gentoo-user] " Harry Putnam
@ 2005-08-29 9:53 ` Nagatoro
2005-08-29 13:17 ` Alex
2005-08-29 18:22 ` Neil Bothwick
1 sibling, 1 reply; 6+ messages in thread
From: Nagatoro @ 2005-08-29 9:53 UTC (permalink / raw
To: gentoo-user
Harry Putnam wrote:
> Alex <alex.tsr@gmail.com> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] How to instruct emerge to leave certain stuff alone
2005-08-29 2:18 [gentoo-user] How to instruct emerge to leave certain stuff alone Harry Putnam
@ 2005-08-29 12:06 ` Alex
2005-08-29 9:39 ` [gentoo-user] " Harry Putnam
0 siblings, 1 reply; 6+ messages in thread
From: Alex @ 2005-08-29 12:06 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1430 bytes --]
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
too.
==================================================
.
.
.
.
package.provided
A list of packages (one per line) that portage
should assume have been provided. Useful for port-
ing to non-Linux systems. 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. Basically, it's
a list that replaces the emerge --inject syntax.
For example, if you manage your own copy of a 2.6
kernel, then you can tell portage that 'sys-ker-
nel/development-sources-2.6.7' is already taken care
of and it should get off your back about it.
Format:
- comments begin with #
- one DEPEND atom per line
- relational operators are not allowed
- must include a version
.
.
.
.
======================================================
--
Cheers, Alex.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Re: How to instruct emerge to leave certain stuff alone
2005-08-29 9:53 ` Nagatoro
@ 2005-08-29 13:17 ` Alex
0 siblings, 0 replies; 6+ messages in thread
From: Alex @ 2005-08-29 13:17 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 472 bytes --]
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.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Re: How to instruct emerge to leave certain stuff alone
2005-08-29 9:39 ` [gentoo-user] " Harry Putnam
2005-08-29 9:53 ` Nagatoro
@ 2005-08-29 18:22 ` Neil Bothwick
1 sibling, 0 replies; 6+ messages in thread
From: Neil Bothwick @ 2005-08-29 18:22 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1016 bytes --]
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.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-08-29 18:31 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-29 2:18 [gentoo-user] How to instruct emerge to leave certain stuff alone Harry Putnam
2005-08-29 12:06 ` Alex
2005-08-29 9:39 ` [gentoo-user] " Harry Putnam
2005-08-29 9:53 ` Nagatoro
2005-08-29 13:17 ` Alex
2005-08-29 18:22 ` Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox