Friday, May 10, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 7506  / 3 Years ago, tue, october 12, 2021, 11:15:24

I noticed today that when I opened the update manager through the system settings in Ubuntu touch running on Nexus 7, it showed no updates. But the I ran the following two commands in the terminal:



sudo apt-get update
sudo apt-get dist-upgrade


Certain updates started getting downloaded, and upon my consent, they were installed.



Why is this so? Why doesn't the over the air updates facility show the updates? I am running the latest daily build image of Ubuntu touch.


More From » updates

 Answers
1

Updating through the system settings will do an image upgrade which only works when the image is not in writable image mode.



This rather different than doing a package update through apt-get.



These two mechanisms are mutually exclusive:




  • Image Based Upgrades work on non writable images (read only filesystem)

  • Apt get works on writable images



Once on writable image mode the way to get back is to reflash the system (not necessarily losing your user data).



adb shell rm /userdata/.writable_image
ubuntu-device-flash [--channel channel_name]


Details on image based upgrades can be read further here: https://wiki.ubuntu.com/ImageBasedUpgrades



There is a third possibility and that's the one that you may have installed a cdimage based image which is writable by default and today is considered an intermediate image to get to the system images.


[#29026] Wednesday, October 13, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
oredoise

Total Points: 66
Total Questions: 116
Total Answers: 111

Location: Lebanon
Member since Sun, Aug 2, 2020
4 Years ago
;