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

Incorrect source repository (from_repo) after system upgrade #1851

Open
m-blaha opened this issue Nov 12, 2024 · 1 comment · May be fixed by #2061
Open

Incorrect source repository (from_repo) after system upgrade #1851

m-blaha opened this issue Nov 12, 2024 · 1 comment · May be fixed by #2061
Assignees
Labels
Priority: HIGH Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take
Milestone

Comments

@m-blaha
Copy link
Member

m-blaha commented Nov 12, 2024

After system upgrade with dnf5, the from_repo attribute for all installed packages contains @stored_transaction value. This is confusing to the users. The attribute should contain id of the repository the package really came from.

See dnf repoquery --installed --queryformat="%{full_nevra} %{from_repo}\n" on the upgraded system.

@jan-kolarik jan-kolarik added this to the Fedora 42 milestone Nov 20, 2024
@jan-kolarik jan-kolarik added the Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take label Nov 20, 2024
@github-project-automation github-project-automation bot moved this to Backlog in DNF team Nov 20, 2024
@m-blaha m-blaha self-assigned this Feb 10, 2025
@jan-kolarik
Copy link
Member

Also valid for all offline transactions.

m-blaha added a commit that referenced this issue Feb 13, 2025
Currently, when replaying a stored transaction, all RPM files are
placed into a single `@stored_transaction` repository. This can be
confusing, especially during a system upgrade, which also uses stored
transactions.

With this patch, local RPM files from stored transactions are
placed to the repository they originally came from.

Fixes: #1851
@m-blaha m-blaha linked a pull request Feb 13, 2025 that will close this issue
m-blaha added a commit that referenced this issue Feb 14, 2025
Currently, when replaying a stored transaction, all RPM files are
placed into a single `@stored_transaction` repository. This can be
confusing, especially during a system upgrade, which also uses stored
transactions.

With this patch, local RPM files from stored transactions are
placed to the repository they originally came from.

Fixes: #1851
@jan-kolarik jan-kolarik moved this from Backlog to In Progress in DNF team Feb 17, 2025
m-blaha added a commit that referenced this issue Feb 18, 2025
Currently, when replaying a stored transaction, all RPM files are
placed into a single `@stored_transaction` repository. This can be
confusing, especially during a system upgrade, which also uses stored
transactions.

With this patch, local RPM files from stored transactions are
placed to the repository they originally came from.

Fixes: #1851
m-blaha added a commit that referenced this issue Feb 19, 2025
Currently, when replaying a stored transaction, all RPM files are
placed into a single `@stored_transaction` repository. This can be
confusing, especially during a system upgrade, which also uses stored
transactions.

With this patch, local RPM files from stored transactions are
placed to the repository they originally came from.

Fixes: #1851
m-blaha added a commit that referenced this issue Feb 19, 2025
Currently, when replaying a stored transaction, all RPM files are
placed into a single `@stored_transaction` repository. The user can see
this artifitial repository when checking from which repositories the
installed packages came:

❯ dnf repoquery --installed --queryformat="%{full_nevra} %{from_repo}\n"
vlc-plugin-gstreamer-1:3.0.21-15.fc40.x86_64 @stored_transaction

This can be confusing, especially during a system upgrade, which also
uses stored transactions.

With this patch, local RPM files from stored transactions are
placed to the repository they originally came from:

❯ dnf repoquery --installed --queryformat="%{full_nevra} %{from_repo}\n"
vlc-plugin-gstreamer-1:3.0.21-15.fc40.x86_64 updates

Fixes: #1851
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: HIGH Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

2 participants