Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recover from missing comps.xml for installed groups #420

Closed
m-blaha opened this issue Mar 31, 2023 · 0 comments · Fixed by #424
Closed

Recover from missing comps.xml for installed groups #420

m-blaha opened this issue Mar 31, 2023 · 0 comments · Fixed by #424
Assignees
Milestone

Comments

@m-blaha
Copy link
Member

m-blaha commented Mar 31, 2023

We store basic information about installed comps groups in system state (groups.toml) but to make dnf5 group list/info/upgrade comands work we also need to know all the details about repo as it is in repository comps.xml.
In case these xml files are missing, installed repos are not loaded to the sack and it looks as they were not installed.
These xml files are created by dnf5 after group installation, but n case the system state was converted from dnf4 history db, they are missing.
To re-create them use

  1. information about group from available repositories
  2. if it fails, fall-back to creating minimal solvables directly from system state information (groupid and list of installed packages)
@m-blaha m-blaha self-assigned this Mar 31, 2023
@j-mracek j-mracek added this to the Fedora 39 milestone Apr 3, 2023
@j-mracek j-mracek added this to DNF team Apr 3, 2023
@github-project-automation github-project-automation bot moved this to Backlog in DNF team Apr 3, 2023
@j-mracek j-mracek moved this from Backlog to Todo in DNF team Apr 3, 2023
@m-blaha m-blaha moved this from Todo to Review in DNF team Apr 4, 2023
@github-project-automation github-project-automation bot moved this from Review to Done in DNF team Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants