Ask Your Question
2

How do I determine what changes are in a kernel update that dnf wants to upgrade?

asked 2017-09-15 09:26:43 -0500

decuser gravatar image

I am using Fedora 26.1.5 and when I ask dnf what updates are available, it lists kernel updates. I tried dnf updateinfo --info but of the 14 or so updates available that it had info on, the kernel wasn't listed. dnf check-update listed kernel-core-4.12.12-300.fc26.x86_64, so I went ahead with the update and then tried rpm -q --changelog kernel-4.12.12-300.fc26.x86_64.rpm an error resulted, so I tried rpm -q --changelog kernel-4.12.12-300.fc26.x86_64 which worked and listed the 1700 lines of changes... how can I know up front what changes the proposed updates have in store for my system?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
5

answered 2017-09-15 10:50:07 -0500

villykruse gravatar image

updated 2017-09-15 11:08:45 -0500

This might work, but requires extreme patience, as it taks quite a long time to produce the output.

dnf updateinfo --info all kernel

yumex-dnf can produce the same information instantaneously. After selection a package, find the four buttons on the left edge and click in the third from bottom.

The rpm command takes the package name and no the name of the rpm file:

rpm -q --changelog kernel

If you have downloaded the rpm file, the command is

rpm -qp --changelog rpmfile

where rpmfile is the actual file path name of the downloaded rpmfile.

The information shown is different from the information shown by dnf updateinfo.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2017-09-15 09:26:43 -0500

Seen: 163 times

Last updated: Sep 15 '17