View previous topic :: View next topic |
Author |
Message |
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Tue Mar 08, 2005 7:12 am Post subject: CF5 in FAQ forum needs update ASAP |
|
|
https://forums.gentoo.org/viewtopic-t-33534.html
Recommends / gives example of emerging ~arch packages via ACCEPT_KEYWORDS on the command line. That is utterly wrong and runs a good chance of borking the user's system in time. Can we please have it updated to refer to package.keywords? _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
|
donjuan l33t
Joined: 11 May 2004 Posts: 760 Location: At Uni
|
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Tue Mar 08, 2005 9:48 am Post subject: Re: CF5 in FAQ forum needs update ASAP |
|
|
moocha wrote: | https://forums.gentoo.org/viewtopic-t-33534.html
Recommends / gives example of emerging ~arch packages via ACCEPT_KEYWORDS on the command line. That is utterly wrong and runs a good chance of borking the user's system in time. |
It didn't give that example - notice the -p for --pretend in it which is still working and useful.
Quote: | Can we please have it updated to refer to package.keywords? |
The paragraph below already had it. However, I see that all the historic context in this faq might lead to confusion and the ACCEPT_KEYWORDS command line example might make people think of using it without --pretend. In short, I added the Please don't use ACCEPT_KEYWORDS on the command line to actually emerge packages, use the files in /etc/portage instead: sentence. |
|
Back to top |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Tue Mar 08, 2005 6:37 pm Post subject: |
|
|
I thought that it was still misleading with -p as used on the command line like that the newly pulled in deps would also be ~arch in -p and possibly arch when actually merged.
Thanks for updating it! _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
|
kallamej Administrator
Joined: 27 Jun 2003 Posts: 4975 Location: Gothenburg, Sweden
|
Posted: Tue Mar 08, 2005 7:48 pm Post subject: |
|
|
You are always free to volunteer an update to this or any other FAQ. _________________ Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat |
|
Back to top |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Tue Mar 08, 2005 8:10 pm Post subject: |
|
|
kallamej wrote: | You are always free to volunteer an update to this or any other FAQ. |
I was hoping nobody would point that out and it'd quietly slip by, as I'm suffering from a rather advanced case of lazyness at the moment - and you know how much programmers love writing documentation... *cough* _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
|
masseya Bodhisattva
Joined: 17 Apr 2002 Posts: 2602 Location: Baltimore, MD
|
Posted: Wed Mar 09, 2005 9:03 pm Post subject: |
|
|
moocha wrote: |
I was hoping nobody would point that out and it'd quietly slip by, as I'm suffering from a rather advanced case of lazyness at the moment - and you know how much programmers love writing documentation... *cough* | lol.. I love the honesty. Here's the deal though, we're just as lazy as you, so pointing things like this out is almost always our first course of action. _________________ if i never try anything, i never learn anything..
if i never take a risk, i stay where i am.. |
|
Back to top |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Thu Mar 10, 2005 8:20 am Post subject: |
|
|
Well, I'll be reinstalling my playground system over the weekend and I won't be doing much work during that time anyway, so I might just go through the FAQ forum and clean things out instead of my usual sitting around search_id=unanswered. _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
|
amne Bodhisattva
Joined: 17 Nov 2002 Posts: 6378 Location: Graz / EU
|
Posted: Tue May 17, 2005 9:14 pm Post subject: |
|
|
I've looked over it and hopefully improved it. Please let me know if there's anything else to correct / add.
Navigation: [Gentoo Fundamentals] [Table of Contents]
GF5: What are masked packages?
Packages that will not be installed on your system unless you take specific actions. A package may be masked by placing an entry in /usr/portage/profiles/package.mask. Historically, this was the only way to mask packages. Note that /usr/portage/profiles/package.mask is overwritten by "emerge sync" as all files in /usr/portage, so manual changes to this file will not persist across a sync. Modern versions of portage allow the user to mask a package just like it can be masked in /usr/portage/profiles/package.mask by the developers by adding an entry to /etc/portage/package.mask.
The newer way to mask packages is to declare KEYWORDS in the ebuild file. For each architecture (x86, ppc, sparc, sparc64, alpha), an ebuild may be marked '-arch', meaning "does not work", '~arch', meaning "unstable", or 'arch', meaning "stable". You can set your level of tolerance for unstable ebuilds by defining ACCEPT_KEYWORDS in /etc/make.conf - for example, ACCEPT_KEYWORDS="~x86" will accept unstable packages on the x86 architecture. By default, your profile is set to accept stable packages only. ACCEPT_KEYWORDS can also be set on the command line. For example, Code: | ACCEPT_KEYWORDS="~x86" emerge -pv unstablepackage | Make sure not to put spaces around the '='. Please don't use ACCEPT_KEYWORDS on the command line to actually emerge packages as this might seriously confuse portage about your settings for ACCEPT_KEYWORDS.
As described in the portage man page, as of Portage 2.0.50, you can make an entry in /etc/portage/package.keywords to have per-package keyword acceptance. This would look like: Code: | category/package ~arch | or even more simple just without ~arch.
If you are generally accepting ~arch in your make.conf, and want to make an exception for a particular package, so that only arch packages are considered, the syntax is a bit obscure: Code: | category/package -~arch arch |
To get an overview of what versions of a package are available, you can use the "etcat" command, which is included in the gentoolkit package. For example:
Credits: TRauMa suggested the sample command line override and the etcat paragraph. _________________ Dinosaur week! (Ok, this thread is so last week) |
|
Back to top |
|
|
rhill Retired Dev
Joined: 22 Oct 2004 Posts: 1629 Location: sk.ca
|
Posted: Mon May 23, 2005 7:45 am Post subject: |
|
|
etcat's gone to the great /dev/null in the sky for whatever odd reason. it's still available in a /depreciated directory in /usr/share/doc/gentoolkit-ver but i doubt that'll last past the next update.
otherwise very nice work. _________________ by design, by neglect
for a fact or just for effect |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Mon May 23, 2005 3:32 pm Post subject: |
|
|
First qpkg, then etcat. And I'll bet equery still sucks. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
curtis119 Bodhisattva
Joined: 10 Mar 2003 Posts: 2160 Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.
|
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Sun Jun 19, 2005 8:01 am Post subject: |
|
|
I changed the titles to GF5: What are KEYWORDS / masked packages? resp. GF23: Hard masked Packages to avoid confusion for the hundreds of threads we moved to dups referencing "GF5: masked packages". After all, people as well as portage still call testing packages "masked" on stable systems.
We might want to add sime lines for "-*" and "missing keyword" problems. _________________ KDE |
|
Back to top |
|
|
kallamej Administrator
Joined: 27 Jun 2003 Posts: 4975 Location: Gothenburg, Sweden
|
Posted: Sun Jun 19, 2005 9:02 pm Post subject: |
|
|
Earthwings wrote: | After all, people as well as portage still call testing packages "masked" on stable systems. |
merging _________________ Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat |
|
Back to top |
|
|
|