Fedora Silverblue Rawhide + NoDebug Kernel

Hey guys,

I’m currently using Silverblue Rawhide. I would like to use a nodebug kernel, like it’s described here:

Adding the repository manually to “/etc/yum.repos.d/” and running a “rpm-ostree upgrade” doesn’t do anything, so I tried to install the kernel manually.

I manually downloaded following packages:


And wanted to install them with:

rpm-ostree override replace --install kernel-5.0.0-0.rc7.git1.2.fc30.x86_64.rpm kernel-core-5.0.0-0.rc7.git1.2.fc30.x86_64.rpm kernel-modules-5.0.0-0.rc7.git1.2.fc30.x86_64.rpm kernel-modules-extra-5.0.0-0.rc7.git1.2.fc30.x86_64.rpm

But it says:

Forbidden base package replacements:
  kernel 5.0.0-0.rc6.git1.1.fc30 -> 5.0.0-0.rc7.git1.2.fc30 (@commandline)
This likely means that some of your layered packages have requirements on newer or older versions of some base packages. `rpm-ostree cleanup -m` may help. For more details, see: https://githResolving dependencies... done
error: Some base packages would be replaced

My current system:

● ostree://fedora-workstation:fedora/rawhide/x86_64/silverblue
Version: Rawhide.20190217.n.0 (2019-02-17T07:03:09Z)
Commit: 5ee528ada7d6a5ee5778ffe20b28788973f215766ca7acdab1988b7d5d06490e
GPGSignature: Valid signature by F1D8EC98F241AAF20DF69420EF3C111FCFC659B9

Is there any way to use a nodebug kernel with fedora silverblue rawhide?

rpm-ostree only uses yum repos to download packages to layer. This is the “hybrid” model discussed here: https://rpm-ostree.readthedocs.io/en/latest/manual/administrator-handbook. By default, upgrade will just update you to the latest OSTree and update any layered packages.

The --install is throwing off rpm-ostree. It thinks you want to layer kernel on top of the base, instead of replacing the one in the base. Try the same replace command again without the --install.