Re: ~amd64 keyword on a single package
Michael <[email protected]> Mon, 06 Apr 2026 10:42:23 +0100
| Newsgroups | gmane.linux.gentoo.user |
|---|---|
| Message-ID | <2409480.ElGaqSPkdT@rogueboard> |
On Sunday, 5 April 2026 15:06:36 British Summer Time Peter Humphrey
wrote:
> Greetings,
>
> This is the wifi interface on this new system, as shown by lspci:
>
> 04:00.0 Network controller: Intel Corporation Wi-Fi 6E(802.11ax)
> AX210/AX1675* 2x2 [Typhoon Peak] (rev 1a)
>
> The current stable kernel seems to have no support for this device, so
> I'd like to know whether a later version will include it. Therefore,
> after reading the wiki[1], I set package.env like this:
>
> # cat /etc/portage/env/testing
> sys-kernel/gentoo-sources ACCEPT_KEYWORDS="${ACCEPT_KEYWORDS}
> ~amd64" [2]
There should be no individual package name defined in the above, only
the environment variable.
> # cat /etc/portage/package.env
> sys-kernel/gentoo-sources testing
>
> Emerging the kernel sources then produces this error:
> !!! Problem in 'sys-kernel/gentoo-sources' dependencies.
> !!! "/etc/portage/env/testing", line 1: Invalid token
> 'ACCEPT_KEYWORDS' (not '=') portage.exception
As it states, the error is generated by the inclusion of 'sys-kernel/
gentoo-sources' in /etc/portage/env/testing.
> What have I misunderstood? And is there a better way?
>
> 1. https://wiki.gentoo.org/wiki//etc/portage/package.env
> 2. I also tried it without the ${ACCEPT_KEYWORDS} part, with the same
> result.
I don't know if ACCEPT_KEYWORDS is an environment variable for portage.
I tried the way you did and it was not recognised.
The suggested way to set the testing branch of portage for a specific
package is via /etc/portage/package.accept_keywords/<package_file>, see
here:
https://wiki.gentoo.org/wiki/Handbook:AMD64/Portage/
Branches#Mixing_stable_with_testing
signature.asc
(application/pgp-signature, 870 B)
-----BEGIN PGP SIGNATURE----- iQJPBAABCAA5FiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmnTf/8bFIAAAAAABAAO bWFudTIsMi41KzEuMTIsMiwyAAoJELHqqvbClWcZvcsP/AqdGvUBU1+ki8YGXD3g Qbbp3P6DUvyqsLRK2U9LjxMgJUK6/0xJ6CccIwh9DW2r5OaBIHUzCslRCepoEtdc 66k0LBOes8l6zIH7xz3JKOoYrvuc/Xd19oY2EdIeryJaBXba38Mk1+tobVo/U86g 5EWRjg3FXJNbqBeNUz92YVS6BeRN5Onzx03g7OG/pkoVpSLkJwvtS72RPnUWDjcz 4kdFjxZx9X2Kfttdnfqd7V7jyZVr1m5Rn2RvH5LLU5K+M9yTg0JWwwC6wS42JruJ jrSPAca1HPN5siINeLHEHMA9PsxfTSDg3StX2fke7r05lInJJiE3t02KWet5yvMB X+6pTUUrfUVMFjfzlEVd3egMv5HCsRwhF89DKamsn8Wn+h1XQ1q9m+P6FGXrsHgg Eq/i5Jdz9La7rqUqumuyWBKMCaXUaGnSDXrEJArE1iOysIv7/R2PYetASjOX9yTi qHNoXHbQewkMmPG3gMOdi2JQazQNMpzYQIEOml05cPK1Nnpdk5zsp3A3WyAIbOFx wBEbuoII/8sU9yN1upoEfN8zHQDCqiqCJQwOfC/iUdeylVeEMbMK13EvHRNjFUTI uO0hhlRkSGkJm4zqAHi0zqffHv0l2Q3TxOGEMcIPg/ZYf5nMc1MJcWI/U6rov3Mk Z8dzZpzUdVMFz9wIJsIMiyfx =Bro0 -----END PGP SIGNATURE-----