After a HDD failure I managed to save the list of installed packages on my Fedora 23 box. I have already reinstalled the base system and now want to restore the old packages. I tried
xargs sudo dnf install < packagelist
where packagelist
is the output of rpm -qa
, but it fails on several points (no match for packages; I guess the version number formatting is not how dnf
wants it.
Is there a way to achieve what I want?