Ask / Submit
8

can the progress of os update download be checked using terminal

asked 2015-04-04 11:30:02 +0200

yogesh gravatar image

updated 2015-04-05 02:18:11 +0200

chemist gravatar image

I am using mobile internet to update the Sailfish os for jolla mobile. The net connection is frequently interrupted and I have to restart update again. My problem is that even though the mobile data counter shows more than 300Mb downloaded, the Sailfish OS is not updated. I have the following points which require to be clarified.

  1. I have a little experience on using Linux OS Mint and am familiar with using terminal. Can I use terminal to monitor how much Mb of the 189.7 MB OS update has actually been downloaded?

  2. If I enable the developer options on my phone, will it cause any problems with my mobile ?

  3. Can I download the os using the terminal eg using any specific command like apt get install or yum etc?

  4. If I do not update the OS can I update only the apps which I have already downloaded. Most of the apps are recommended by jolla.

I am new to jolla and my questions will appear to be silly. But I love using the phone and would like to update the os at the earliest. Thank you.

edit retag flag offensive close delete

Comments

Hi yogesh,

  1. I don't know about using terminal to monitor the download of the newer OS, but you could use 'Data counters' found in Settings - system - Data Counters, (remember to zero them before starting).

  2. You can safely enable developer mode without causing problems. It is only wrong input during use of the Terminal that you could then cause problems, but just enabling Dev mode is quite safe. It is only once you then 'devel-su' and then password, that you can potentially do some harm to you phone.

  3. This is likely very possible, but I think I'm least qualified to answer that particular question.

  4. Yes, you can update your apps regardless of the OS version, unless the DEV has tagged his app as only working on a certain OS.

Hope this helps a little,

Regards,

Edz ( 2015-04-04 16:13:01 +0200 )edit

Thank you. I tried setting the data counters to zero as per your advice and now they show around 300 MB downloaded. But os update has not been completed since the notification shows update available. Thank you

yogesh ( 2015-04-04 18:29:14 +0200 )edit

3 Answers

Sort by » oldest newest most voted
3

answered 2015-04-04 18:03:17 +0200

penpen gravatar image

updated 2015-09-06 19:02:16 +0200

coderus gravatar image

I haven't tried full OS upgrade from command line but the next time Jolla releases OS update you could try this in Terminal app:

devel-su -p
ssu re 1.1.7.28
ssu ur
version --dup
edit flag offensive delete publish link more

Comments

How to change back to default settings

Twinklestar1792 ( 2017-07-17 04:13:50 +0200 )edit
3

answered 2015-04-10 15:01:30 +0200

pycage gravatar image

With developer mode, you can monitor the download process with

 pkmon

pkmon does, however, not tell you about how many data has been transferred. You can check the size of the cache directory to see how many data has been downloaded so far.

du -hs /var/cache/zypp/packages/

In the OS update UI, the first 10 % of the progress bar resemble refreshing/downloading the repository meta data. Only after 10 % packages are being downloaded.

edit flag offensive delete publish link more
0

answered 2015-04-05 00:49:34 +0200

Aashish gravatar image

The image on the update screen displays how much of the update has been downloaded. Why not simply use that?

edit flag offensive delete publish link more

Comments

3

The problem I am facing is that due to break in the internet connection, the update screen starts from the left hand side every time the net connection is active. So I do not know how much of the 189.7Mb update has already been downloaded and the balance to be downloaded. Thank you

yogesh ( 2015-04-05 17:19:17 +0200 )edit

Than this "starting from left" behavior should be treated like a bug and must be corrected in a future update.

tvicol ( 2015-04-10 15:42:57 +0200 )edit
Login/Signup to Answer

Question tools

Follow
5 followers

Stats

Asked: 2015-04-04 11:30:02 +0200

Seen: 1,215 times

Last updated: Sep 06 '15