How can I install the debuginfo counterparts for all installed packages?

Try

sudo debuginfo-install $(dnf list --installed | awk '{print $1}' |grep -v Installed)

You will probably need 70Gb freespace for the command to succeed

1 Like

@leigh123linux, I see “sudo: debuginfo-install: command not found”. Are you using DNF5? I remember that some of the plugins disappeared when I transitioned from V4 to 5.

It’s in dnf-utils

1 Like

@fche, thanks: that works, although I needed to append --skip-broken to bypass the RPMFusion mesa-freeworld drivers (that so frequently cause package dependency resolution to fail):

#!/usr/bin/env sh
sudo dnf5 install dnf-utils && \
sudo debuginfo-install $(dnf5 list --installed | awk '{print $1}' | grep -v Installed)

Irrespective, that there’s no way to have DNF5 automatically always install .*-debuginfo counterparts after every transaction where installation occurs, therefore necessitating the user manually do so, is a shame.