View previous topic :: View next topic |
Author |
Message |
nameiwillforget n00b
Joined: 07 May 2024 Posts: 7
|
Posted: Tue May 07, 2024 8:14 pm Post subject: [SOLVED]Unmasking a package version doesn't work |
|
|
I need an Emacs-version larger than 30 for my config to work, so I thought I'd just unmask Code: | =app-editors/emacs-30.0.9999 | by creating a file in Code: | portage/package.unmask | with the contents
Code: |
=app-editors/emacs-30.0.9999
|
and then running
Code: |
emerge =app-editors/emacs-30.0.9999
|
but in spite of the file contents that results in
Code: |
!!! All ebuilds that could satisfy "=app-editors/emacs-30.0.9999" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-editors/emacs-30.0.9999::gentoo (masked by: missing keyword)
|
Also, if I use Code: | emerge --autounmask-write | it says the same thing and doesn't propose any changes. Code: | emerge --autounmask | gives more useful output:
Code: |
[ebuild NS *] app-editors/emacs-30.0.9999 [29.3-r2] USE="xattr%*"
The following keyword changes are necessary to proceed:
(see "package.accept_keywords" in the portage(5) man page for more details)
# required by =app-editors/emacs-30.0.9999 (argument)
=app-editors/emacs-30.0.9999 **
NOTE: The --autounmask-keep-masks option will prevent emerge
from creating package.unmask or ** keyword changes.
Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.
|
I've also tried putting two stars behind the 9999, but it still didn't work. Why can't it compile the package?
Last edited by nameiwillforget on Tue May 07, 2024 8:35 pm; edited 1 time in total |
|
Back to top |
|
|
freke l33t
Joined: 23 Jan 2003 Posts: 998 Location: Somewhere in Denmark
|
Posted: Tue May 07, 2024 8:30 pm Post subject: |
|
|
It is masked by missing keyword - the file to edit is /etc/portage/package.accept_keywords Code: | =app-editors/emacs-30.0.9999 ** |
https://wiki.gentoo.org/wiki/Knowledge_Base:Accepting_a_keyword_for_a_single_package
Code: | package.unmask
Just like package.mask above, except here you list packages you want to unmask. Useful for overriding the global package.mask file
(see above). Note that this does not override packages that are masked via KEYWORDS. |
Last edited by freke on Tue May 07, 2024 8:36 pm; edited 1 time in total |
|
Back to top |
|
|
nameiwillforget n00b
Joined: 07 May 2024 Posts: 7
|
Posted: Tue May 07, 2024 8:36 pm Post subject: |
|
|
Ah, I see, thanks. |
|
Back to top |
|
|
|