ubports / ubuntu-touch

Ubuntu Touch's issue inbox is now migrated to GitLab.
https://gitlab.com/ubports/ubuntu-touch
1.28k stars 110 forks source link

Endless "Checking for updates..." on mobile network #1987

Open Fazarel opened 2 years ago

Fazarel commented 2 years ago

Steps to reproduce

Connected to mobile network, cellular data enabled, wifi disabled System Settings > Updates

Expected behavior

"Software is up to date" or updates available, after a few seconds

Actual behavior

Displays "Checking for updates..." with an indefinitely rotating circle

Additional information

Good 4G connection (checked) Works fine on wifi

lduboeuf commented 2 years ago

confirmed it used to happen for me as well. But can't reproduce now ( XperiaX RC)

Fazarel commented 2 years ago

Issue persists with OTA-23, checked with Pixel 3a

Flohack74 commented 2 years ago

Did you set "Download updates on all networks" or whats that called? I agree we should display a message instead of endless checking, but the underlying behaviour is correct, no download if you do not allow it on mobile data, since it can be huge and waste your quota.

Fazarel commented 2 years ago

In "Update settings", the "Auto download" option is set to "On Wifi". I think this is ok and I don't see why it prevents from knowing if there are updates available? There shouldn't be any waste of data. Checking for updates does not mean downloading the available updates, it basically means running "apt update && apt list --upgradable" then if there are updates you have to click on Download/Install...

Fazarel commented 2 years ago

I changed "Auto download" to "Always" and same behavior: "Checking for updates..." with an indefinitely rotating circle on mobile network / works fine on wifi