From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] using package.provided
Date: Thu, 21 Dec 2006 16:40:05 +0000 [thread overview]
Message-ID: <20061221164005.7a965b50@hactar.digimed.co.uk> (raw)
In-Reply-To: <87bqlx44mm.fsf@newsguy.com>
[-- Attachment #1: Type: text/plain, Size: 2278 bytes --]
On Thu, 21 Dec 2006 10:04:33 -0600, reader@newsguy.com wrote:
> [...]
> Archive a portage tree by all means. But if an ebuild is removed that
> a user want to keep, the solution is so simple it's amazing. Copy the
> ebuild to /usr/local/portage in the correct directory structure. I
> maintain my own enlightenment-17 ebuilds, so to start I did this:
>
> mkdir -p /usr/local/portage/x11-wm
> cp -ar /usr/portage/x11-wm/e /usr/local/portage/x11-wm
>
> Run emerge. Simple as that. You might need to add an entry to
> package.mask so that portage won't use later versions in the main
> tree but that's all part of normal gentoo usage anyway.
> [...]
>
> In the event user runs with ~ARCHITECTURE flag set then masking won't
> do it... right?
Wrong. Package masking is independent of keyword masking. Adding an atom
to package.mask will mask all matching versions, no matter what their
keywords.
> So my understanding is that user needs to set something in:
> /etc/portage/profile/package.provided showing an equal or higher
> version number than what is available in portage (masked or not).
> (To maintain users own package)
package.provided is intended for use when you install something without
portage - it's your way of telling portage the package is installed even
though it's not in the database.
> I ask because setting a higher version number might eventually need
> bumping still higher... or if versioning changes somehow will `higher'
> not be noticed.
If an installed package requires a higher version than you have
installed, then it needs it. Lying to portage about the version you have
installed won't fix that, it just delays the breakage until later.
Masking on the other had, produces a civilised error message telling you
that package A needs package B greater than version N, and that it is
masked.
> Looking for a way not to have to check package.provided to make sure
> versioning is still good.
While package.provided does have some genuine uses, one of its main
functions is to provide people who don't fully understand it with a simple
way of producing hard to diagnose system breakages :(
--
Neil Bothwick
WinErr 010: Reserved for future mistakes by our developers
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2006-12-21 16:46 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-21 16:04 [gentoo-user] using package.provided reader
2006-12-21 16:30 ` Alan McKinnon
2006-12-21 16:41 ` [gentoo-user] " reader
2006-12-21 16:54 ` reader
2006-12-22 17:05 ` reader
2006-12-23 0:06 ` Neil Bothwick
2006-12-21 16:40 ` Neil Bothwick [this message]
2006-12-21 16:51 ` reader
2006-12-21 17:36 ` [gentoo-user] " Uwe Thiem
2006-12-22 7:03 ` Alan McKinnon
2006-12-22 10:57 ` Uwe Thiem
2006-12-22 8:52 ` Neil Bothwick
-- strict thread matches above, loose matches on Subject: below --
2016-02-25 3:55 Harry Putnam
2016-02-25 5:22 ` Dale
2016-02-25 5:31 ` Dale
2016-02-25 5:36 ` Dale
2016-02-25 20:39 ` covici
2016-02-25 21:47 ` Dale
2016-02-25 22:30 ` Neil Bothwick
2016-02-26 9:39 ` Dale
2016-02-26 9:53 ` Neil Bothwick
2016-02-26 10:32 ` Dale
2016-02-25 9:50 ` Neil Bothwick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061221164005.7a965b50@hactar.digimed.co.uk \
--to=neil@digimed.co.uk \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox