Page 1 of 1

Vivalidi updates on PI

Posted: Sat Jul 01, 2023 3:04 pm
by Mike R
When Vivaldi breaks the next update....

The needed file is extracted from a functioning .snap
This file is downloaded with:

Code: Select all

wget https://api.snapcraft.io/api/v1/snaps/download/XKEcBqPM06H1Z7zGOdG5fbICuf8NWK5R_2498.snap
Lands in the root directory and is unpacked with:

Code: Select all

unsquashfs -d chr-114-arm64-ffmpeg XKEcBqPM06H1Z7zGOdG5fbICuf8NWK5R_2498.snap /usr/lib/chromium-browser/libffmpeg.so
ssh into the device and copy libffmpeg.so into /opt/vivaldi/lib

Code: Select all

ssh usename@1paddress
cd Downloads
sudo cp libffmpeg.so /opt/vivaldi/lib
The first launch of Vivaldi is sort of grumbly, but after that it works fine. Run Timeshift to lock it in and bitch to Vivaldi about another broken update.

Re: Vivalidi updates on PI

Posted: Fri Apr 26, 2024 9:12 pm
by Mike R
after some time it became important to know how to get the updated file from snapcraft.io

the list of current chromium packages is fetched with a curl command

Code: Select all

curl -H 'Snap-Device-Series: 16' http://api.snapcraft.io/v2/snaps/info/chromium >> chromium.info
This creates a file chromium.info in the root directory of your device.
From within that file it is possible to determine that the base of the url is the same, only the extension at the end changes...
The current version (124.0.6367.60) has nothing to do with the # needed, so you have to download the file to find out what # is currently being used.

therefor change
XKEcBqPM06H1Z7zGOdG5fbICuf8NWK5R_2498.snap
to
XKEcBqPM06H1Z7zGOdG5fbICuf8NWK5R_2822.snap
making the current command:

Code: Select all

wget https://api.snapcraft.io/api/v1/snaps/download/XKEcBqPM06H1Z7zGOdG5fbICuf8NWK5R_2822.snap
and the current extraction:

Code: Select all

unsquashfs -d chr-114-arm64-ffmpeg XKEcBqPM06H1Z7zGOdG5fbICuf8NWK5R_2822.snap /usr/lib/chromium-browser/libffmpeg.so
But don't forget to change the name of the old folder created at the root of your drive.
Then deliver the file to the devices that need it.