Ask Your Question

How to keep installed debuginfo packages up to date with dnf

asked 2015-10-08 14:36:00 -0600

gjanssens gravatar image

I'm a developer and write code. With that comes the need to debug for which packages from the debuginfo repositories are needed.

Before Fedora 22, I used yum to manage these and that went very smoothly. Install them with $ yum install <package name>.debuginfo and $ yum update would keep them up to date together with all other packages.

Fedora 22 however switched from yum to dnf and there things are slightly different. To install a debuginfo package I now have to use $dnf debuginfo-install <package name>. But I haven't found an easy way to keep them up to date yet. I was told to uninstall and reinstall the packages again, but that seems rather cumbersome.

Is there an easier way to keep debuginfo packages up to date ?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2015-10-08 14:44:44 -0600

gjanssens gravatar image

updated 2015-10-08 16:06:33 -0600

Found an answer myself while continuing to experiment. I'll share it here for others that may have the same question.

dnf keeps the debuginfo repositories disabled by default, but you can override this with the --enablerepo= command line switch. So to keep my debuginfo packages up to date I now use:

$ dnf --enablerepo=updates-debuginfo update

edit flag offensive delete link more



It should be updates-debuginfo, isn't it? Thanks for sharing information. You can accept your own answer now.

skytux gravatar imageskytux ( 2015-10-08 15:33:57 -0600 )edit

Indeed. Thanks for pointing that out, I have corrected my message.

gjanssens gravatar imagegjanssens ( 2015-10-08 16:07:07 -0600 )edit

answered 2016-08-12 06:35:48 -0600

Kakao gravatar image

Alternatively to the --enablerepo option mentioned by @gjanssens it is possible to permanently enable and update in the /etc/dnf/plugins/debuginfo-install.conf file:

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-10-08 14:36:00 -0600

Seen: 2,269 times

Last updated: Oct 08 '15