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

system-upgrade download provides confusing output and stuck at some point #1667

Open
j-mracek opened this issue Sep 2, 2024 · 2 comments · Fixed by #1672
Open

system-upgrade download provides confusing output and stuck at some point #1667

j-mracek opened this issue Sep 2, 2024 · 2 comments · Fixed by #1672
Labels
Priority: HIGH Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take
Milestone

Comments

@j-mracek
Copy link
Contributor

j-mracek commented Sep 2, 2024

dnf5 system-upgrade download --releasever 40 ended with following outputs

[2687/2687] Total                                                                                                                                     100% |  20.2 MiB/s |   3.2 GiB |  02m40s
Testing offline transaction
Warning: skipped PGP checks for 2687 packages from repository: @stored_transaction
Transaction stored to be performed offline. Run `dnf5 offline reboot` to reboot and run the transaction. To cancel the transaction and delete the downloaded files, use `dnf5 offline clean`.
Complete!

After line [2687/2687] Total it requires 3m 40s probably to generate file with description of transaction. Then it reports Testing offline transaction. We could discuss whether 10 or 20 seconds is a limit for user where to start to think what is going on, but after nearly 4 minute many user will interrupt. I recommend to improve performance and create a bar with progress.

The next line is problematic: Warning: skipped PGP checks for 2687 packages from repository: @stored_transaction
How I can trust the transaction? It mentions repository that is not in transaction and it anyway does not check PGP keys. It scares me a lot.

@jan-kolarik
Copy link
Member

Hi Jarda, thanks for the info!

We could discuss whether 10 or 20 seconds is a limit for user where to start to think what is going on, but nearly 4 minute many user will interrupt. I recommend to improve performance and create a bar with progress.

I completely agree. We should regularly update users on the progress to ensure they know that something is happening.

The next line is problematic: Warning: skipped PGP checks for 2687 packages from repository: @stored_transaction
How I can trust the transaction? It mentions repository that is not in transaction and it anyway does not check PGP keys. It scares me a lot.

We've already received a similar report and created an issue for it: #1668. Let's focus just on the progress report in this issue.

@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 Sep 2, 2024
@github-project-automation github-project-automation bot moved this to Backlog in DNF team Sep 2, 2024
@jan-kolarik jan-kolarik added this to the Fedora 41 milestone Sep 2, 2024
@m-blaha m-blaha self-assigned this Sep 3, 2024
@j-mracek j-mracek changed the title system-upgrade download provides confusing output and stuck ad some point system-upgrade download provides confusing output and stuck at some point Sep 5, 2024
@github-project-automation github-project-automation bot moved this from Backlog to Done in DNF team Sep 17, 2024
@jan-kolarik jan-kolarik reopened this Nov 18, 2024
@jan-kolarik
Copy link
Member

jan-kolarik commented Nov 18, 2024

We should regularly update users on the progress to ensure they know that something is happening.

The key issue raised in this ticket remains unresolved, even after the changes in #1672. I tested upgrading from Fedora 40 to Fedora 41 using dnf5 system-upgrade and encountered insufficient feedback at two different times:

  • Post-reboot, before the transaction starts: A spinning wheel is displayed for over a minute with no output for the user.

  • End of the transaction: There’s still a long delay with no updates provided, even if the duration may have slightly improved after the PR.

These gaps make the upgrade process unclear and might be frustrating for users.

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
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants