On 19-10-26 19:41:45, Tom Horsley wrote:
> My question is how to
> protect 2 kernels from being erased.

I seem to recall I did this once by doing an
rpm --justdb -e kernel<whatever>

That removes the info that the kernel exists from
the rpm database, but leaves the files.

I'm not absolutely positive that works, just a
dim memory :-).

It should work.  I know that DNF is fussier about changes to the rpmdb,
but I don't know what it would do.  If I ever want to be able to be
able to remove those kernels, I should first repackage them (all 4
RPMs of each), so I can re-install and remove them.

--
____________________________________________________________________
TonyN.:'                       <mailto:tonynel...@georgeanelson.com>
      '                              <http://www.georgeanelson.com/>
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to