Raspberry Pi 3 Modell B+, apk update, alpine linux -> howto update

Hi,
I am new to this forum and have already some questions…

1. I would like to update the firmware for my raspi.
I tried it this way:

curl -L --output /usr/bin/rpi-update rpi-update && chmod +x /usr/bin/rpi-update
apk add binutils
rpi-update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** Performing self-update
 *** Relaunching after update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 !!! /boot doesn't exist - creating
 !!! //lib/modules doesn't exist - creating
 *** We're running for the first time
 *** Backing up files (this will take a few minutes)
 *** Backing up firmware
 *** Backing up modules 4.14.66-v7
date: invalid date ''
date: invalid date '2018-02-09T18:54:08Z'
date: invalid date '2018-09-05T16:45:43Z'
date: invalid date '2018-02-09T18:54:08Z'
#############################################################
This update bumps to rpi-4.14.y linux tree
Be aware there could be compatibility issues with some drivers
Discussion here:
https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=197689
##############################################################
 *** Downloading specific firmware revision (this will take a few minutes)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   168    0   168    0     0    227      0 --:--:-- --:--:-- --:--:--   227
100 56.0M  100 56.0M    0     0  1207k      0  0:00:47  0:00:47 --:--:-- 1500k
 *** Updating firmware
 *** Updating kernel modules
 *** depmod 4.14.68-v7+
 *** depmod 4.14.68+
 *** Updating VideoCore libraries
 *** Using HardFP libraries
 *** Updating SDK
 *** Running ldconfig

It looks like the update does not work, because running the same command again shows the same output…

2. updating the system:

core-ssh:~# apk update
core-ssh:~# apk upgrade
(1/11) Upgrading busybox (1.27.2-r8 -> 1.27.2-r11)
Executing busybox-1.27.2-r11.post-upgrade
(2/11) Upgrading libressl2.6-libcrypto (2.6.3-r0 -> 2.6.5-r0)
(3/11) Upgrading libressl2.6-libssl (2.6.3-r0 -> 2.6.5-r0)
(4/11) Installing libressl2.6-libtls (2.6.5-r0)
(5/11) Installing ssl_client (1.27.2-r11)
(6/11) Upgrading ncurses-terminfo-base (6.0_p20171125-r0 -> 6.0_p20171125-r1)
(7/11) Upgrading ncurses-terminfo (6.0_p20171125-r0 -> 6.0_p20171125-r1)
(8/11) Upgrading ncurses-libs (6.0_p20171125-r0 -> 6.0_p20171125-r1)
(9/11) Upgrading libcurl (7.60.0-r1 -> 7.61.0-r0)
(10/11) Upgrading curl (7.60.0-r1 -> 7.61.0-r0)
(11/11) Upgrading jq (1.5-r4 -> 1.5-r5)
Executing busybox-1.27.2-r11.trigger
Executing ca-certificates-20171114-r0.trigger
OK: 63 MiB in 47 packages

After rebooting my raspi, the updates are removed… (same output as above)

3. I saw, that hass.io runs under Alpine Linux 3.7.
Is it recommended to update to 3.8 (if it is possible)?
The changelog says: “Add support for Raspberry Pi 3 Model B+”
What does this mean, I am already running on this model… :slight_smile:

(I assume the idea behind hass.io is, that the system cannot/shouldnot be updated by users by themself…)

Thx for clarification…

I don’t know where you saw that. Hassio runs on HassOS on a RPi3B. Was there some special way you installed it?

The ‘firmware’ is built into the HassOS. There is no way to update anything in the HassOS other than by updating it through Hassio.
You can’t sudo or apt or anything in HassOS.

core-ssh:~# cat /etc/alpine-release
3.7.0
core-ssh:~#

I followed this instructions to install hass.io
https://www.home-assistant.io/getting-started/

I stand by what I already said.

core-ssh:~# cat /etc/*-release
3.7.0
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.7.0
PRETTY_NAME="Alpine Linux v3.7"
HOME_URL="http://alpinelinux.org"
BUG_REPORT_URL="http://bugs.alpinelinux.org"
core-ssh:~#

I’m not going to repeat myself again. You can’t do what you are wanting to do.

Hi,
ok, I see I get no more information from David.
Maybe somebody else could point me to some more information?

As the rasperry firmware should be independent of hass.io, it should be possible to update it?

And I think, I am not totally wrong, that Alpine Linux is part of hass.io and should/could be upgraded in an upcoming hass.io version?

Edit: found the answer by myself:

thx

too funny.

1 Like