Ask Your Question
3

Show changelog of packages in dnf

asked 2014-11-09 02:15:09 -0500

baptistemm gravatar image

updated 2017-05-18 01:33:15 -0500

Hello,

I replaced yum by dnf few time ago but some I miss from yum is the changelog plugin which permit to see the changes brought by the new version of packages. I looked in the man page of dnf but didn't see such feature.

Does someone know if it's implemented or if it's gonna be ?

Regards

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
3

answered 2015-06-18 18:51:20 -0500

FeRDNYC gravatar image

While dnf doesn't offer changelog display inline with the update process (via a --changelog argument, as yum-plugin-changelog provided), a fedoraforum user pointed out that dnf updateinfo info will display the text of update advisory notices, which covers most of the former yum --changelog upgrade output.

You don't get the detailed changelogs for packages that don't use update advisories, but it's at least a workable substitute. You can also use dnf updateinfo list to get a short listing of advisories, and a simple dnf updateinfo will produce a brief summary with counts of the outstanding update advisories.

Note that because dnf updateinfo doesn't refresh metadata by default, the most equivalent command to yum --changelog upgrade is probably something like dnf --refresh updateinfo info; dnf upgrade.

edit flag offensive delete link more
1

answered 2014-11-09 05:19:07 -0500

NikTh gravatar image

DNF right now is in a test-drive state. I guess more plugins will come in future (until DNF replaces YUM). There are some plugins available right now, you can see them in github page: https://github.com/rpm-software-management and of course you can request there the plugin you want to be included.

edit flag offensive delete link more

Comments

1

DNF is now an official package manager in Fedora 22. Did anything change?

techtonik gravatar imagetechtonik ( 2015-08-18 14:02:55 -0500 )edit

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: 2014-11-09 02:15:09 -0500

Seen: 4,001 times

Last updated: May 18 '17