-
-
Notifications
You must be signed in to change notification settings - Fork 506
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
DietPi-Globals | Address long APT phases without output #4172
Comments
Hello,
output, if there are any packages that need to be upgraded, it should show that happening.
|
Indeed. Dietpi doesn't show the download info everything else gets shown. MY connection to apt server is very slow while it downloaded the kernel it seemed like the update was stuck. when I run "apt upgrade" it shows also the packages been downloaded. Can we get that info added to the "dietpi-update" progress? |
well it's not dedicated to If I'm not mistaken it's the functionality from
|
One reason is that the "processing" output looks very bad in logs. If it recognises the STDOUT is no terminal, it switches to a percentage output 10%, 20%, 30% each on one line. As said in the other issue, these steps are also slow because of disable APT cache and list compression. When we reduce the G_AGUP calls in general, we can in turn change the default on cache and compression and speed the processing up, which then makes output obsolete. I'll run a bunch of tests to fine a good balance. |
Another related request: #4344 Quoting myself:
Related request to add APT list compression toggle: #3926 |
As you closed the other one, I will post on this 😃 on my RPi4 64bit test system, compression is already disabled. however it still take ages today. I guess it's because download speed of
woop woop 16.3 kB/s 🤣 |
Okay, that is another issue then, out of our control (regarding speed).
EDIT: Ah nope, you're right, downloads are done before the
Okay I think we have a few starting points:
|
yes exactly. Atm this all is hidden and not visible for the end user. he just see |
PR up to allow disabling APT list compression via Also with last version already we increased the verbosity of APT calls in DietPi scripts, so that more details, e.g.: # apt-get -qq upgrade | tee
# apt-get upgrade | tee
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Since out |
Is your feature request related to a problem? Please describe:
The Step "apt upgrade, please wait" while running "dietpi-update" can take a long time. 20 + Minutes because of lot of kernel upgrades. I dont know if the upgrade is stuck, because there is no output. Without any output on that step it is very hard to say if the update is stuck or working.
Describe the solution you'd like:
Would it be possible to show the apt upgrade console output while updating DietPi? If apt upgrade already shows output then I think my update is stuck.
Additional context
This last line output is what i mean. Does this step show console update or not?
Thanks you very much!
The text was updated successfully, but these errors were encountered: