mobian doesn't set sysclock from hwclock on boot
#1
It's now 2'nd or 3rd time my PP CE boots up woth a date in year 2115 (why 2115)

The cure is to do a : hwclock -s
So the hwclock is correct , but the sysclock is waaaayy off.
If this wasn't a battery device NTP would be the solution , but here a hwclock -s seems to be the fix

I'm on "latest" apt-get update/upgrade as of today 2020-07-15




Fresh ssh after reboot

mobian@mobian:~$ date
Fri Sep  6 23:43:51 CEST 2115


mobian@mobian:~$ sudo -i
[sudo] password for mobian:
root@mobian:~#
root@mobian:~# hwclock -s
root@mobian:~# date
Wed Jul 15 17:43:51 CEST 2020
root@mobian:~#

root@mobian:~# uname -a
Linux mobian 5.7-pinephone #5.7.0+pinephone8 SMP PREEMPT Sun Jul 12 18:21:59 CEST 2020 aarch64 GNU/Linux
root@mobian:~#


/Bingo

OOpzz

Might be a bit fast (in being on the latest)

I did an apt update just before reboot , it "barfed" at me.
I did an apt-get update + upgrade , and it installed a few things.

Then i discovered the date was wrong, and wrote the above.

But now
apt update  shows 70 packages can be upgraded

Will do them asap

But the hwclock -s might not be fixed ... Anyone ?

/Bingo

Well that took a few reboots

I still have 4 packages held back, even w. dist-upgrade

Any hints ??



root@mobian:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  mobian-base mobian-phosh-base mobian-phosh-games mobian-phosh-phone
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
root@mobian:~# uname -a
Linux mobian 5.7-pinephone #5.7.0+pinephone8 SMP PREEMPT Sun Jul 12 18:21:59 CEST 2020 aarch64 GNU/Linux
root@mobian:~#


Are they held back because of unstable ??

root@mobian:~# apt list --upgradable
Listing... Done
mobian-base/unstable,unstable,unstable 0.1.7 all [upgradable from: 0.1.5]
mobian-phosh-base/unstable,unstable,unstable 0.1.7 all [upgradable from: 0.1.5]
mobian-phosh-games/unstable,unstable,unstable 0.1.7 all [upgradable from: 0.1.5]
mobian-phosh-phone/unstable,unstable,unstable 0.1.7 all [upgradable from: 0.1.5]


/Bingo


Possibly Related Threads…
Thread Author Replies Views Last Post
  Axolotl on PinePhone / Mobian arno_nuehm 124 36,102 Today, 02:50 AM
Last Post: battlegarden
  Using new hub for Mobian "Bookworm" county93 7 588 10-11-2021, 11:32 AM
Last Post: county93
  Mobian can't see OpenVPN is installed. C0ffeeFreak 8 1,402 10-05-2021, 08:35 PM
Last Post: county93
  Mobian-installer on bookworm? juju 4 314 10-04-2021, 02:09 AM
Last Post: bcnaz
  Mobian 'HotSpot" bcnaz 8 735 09-30-2021, 11:24 AM
Last Post: TRS-80
  Mobian pinephone -- "Stalled" (best way to describe it) fred_mobian 3 334 09-24-2021, 08:19 PM
Last Post: bcnaz
  Why do you use mobian? unrealb2 17 1,314 09-18-2021, 03:44 AM
Last Post: TRS-80
  Mobian September 13 Nightly bcnaz 1 320 09-14-2021, 03:50 PM
Last Post: bcnaz
  Updating old Mobian installation? SocialNetworkingWasAMistake 1 231 09-14-2021, 03:41 PM
Last Post: bcnaz
  Installing Mobian --> "Resizing file system" forever Anna 13 3,317 09-09-2021, 04:26 AM
Last Post: spaetz

Forum Jump:


Users browsing this thread: 1 Guest(s)