M
M
MARMELAD032016-07-02 14:11:31
linux
MARMELAD03, 2016-07-02 14:11:31

How to solve the problem with installing genkernel?

Gentoo
Chroot

desktop linux # emerge --ask sys-kernel/genkernel

 * IMPORTANT: 10 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


 * IMPORTANT: 9 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] app-arch/cpio-2.12-r1  USE="nls" 
[ebuild  N    #] sys-kernel/genkernel-3.4.52.3  USE="-cryptsetup (-ibm) (-selinux)" 

The following mask changes are necessary to proceed:
 (see "package.unmask" in the portage(5) man page for more details)
# required by sys-kernel/genkernel (argument)
# /usr/portage/profiles/targets/systemd/package.mask:
# sys-kernel/genkernel is not compatible with Systemd, you need
# to use sys-kernel/genkernel-next instead
=sys-kernel/genkernel-3.4.52.3

NOTE: The --autounmask-keep-masks option will prevent emerge
      from creating package.unmask or ** keyword changes.

Would you like to add these changes to your config files? [Yes/No] Yes

Autounmask changes successfully written.

 * IMPORTANT: 10 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.
desktop linux # genkernel
bash: genkernel: команда не найдена
desktop linux #

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yury Martynov, 2016-07-02
@MARMELAD03

try creating a package.unmask file in /etc/portage/package.mask/ and write what it asks you for:

# required by sys-kernel/genkernel (argument)
# /usr/portage/profiles/targets/systemd/package.mask:
# sys-kernel/genkernel is not compatible with Systemd, you need
# to use sys-kernel/genkernel-next instead
=sys-kernel/genkernel-3.4.52.3

genkernel is not compatible with Systemd, you need to use genkernel-next
And yes! genkernel can only work with openrc and does not support Systemd
, for this it is better to install genkernel-next

L
Lilia Volkova, 2018-08-23
@LiliaV

In my case, Gentoo did not require genkernel-next, but asked to update the config files in \etc\portage after the update, it still cursed that the command was not found. Further launched after running the
emerge genkernel command

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question