DNF unusable ("file too short") after system crash during upgrade

,

Since rpm -i worked, rpm is still functional. Does sudo rpm -Va work? That will go through your packages and verify them, and should tell you which ones are not as they should be. The rpm manual tells you what you can tweak in the verify command, and what the output means (look for “Verify Options” here or on man rpm)

3 Likes