rpm-software-management / dnf5

Next-generation RPM package management system
Other
239 stars 76 forks source link

Prepare mechanism to regenerate the system state *.toml files #1610

Open m-blaha opened 1 month ago

m-blaha commented 1 month ago

We should have a supported mechanism how to recover from incorrect system state *.toml files. Something like dnf5 system-state regenerate command that would regenerate as much of system state as possible using rpmdb and dnf5 transaction history database.

See https://github.com/rpm-software-management/dnf5/issues/1550 for more context.

ppisar commented 4 weeks ago

Regarding the name I would propose "dnf5 system-state rebuild" to be similar to "rpmbuild --rebuilddb".