Raspbery Pi 3b chromium error

Hi
I followed all the steps as mentioned to install chromium on Raspberry Pi b+ , I am getting the following error

  • Mount snap “chromium” (1167) (cannot find required base “core18”)
    Can someone guide me how to resolve it.

Thanks
Avi

Can you post the output of snap change --last=install?

Also what is snap version?

1 Like

I installed sudo snap install core18 it worked fine but in terminal it shows some errors :
$ snap run chromium
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
[5326:5326:0605/093243.767605:ERROR:edid_parser.cc(102)] Too short EDID data: manufacturer id
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
[5326:5573:0605/093246.121569:ERROR:object_proxy.cc(632)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[5326:5573:0605/093246.122612:ERROR:object_proxy.cc(632)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[5326:5573:0605/093246.123638:ERROR:object_proxy.cc(632)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[5530:5530:0605/093248.463020:ERROR:viz_main_impl.cc(152)] Exiting GPU process due to errors during initialization

$ snap change --last=install
Status Spawn Ready Summary
Done today at 08:12 ADT today at 08:12 ADT Ensure prerequisites for “chromium” are available
Done today at 08:12 ADT today at 08:13 ADT Download snap “chromium” (1167) from channel “stable”
Done today at 08:12 ADT today at 08:14 ADT Fetch and check assertions for snap “chromium” (1167)
Done today at 08:12 ADT today at 08:14 ADT Mount snap “chromium” (1167)
Done today at 08:12 ADT today at 08:14 ADT Copy snap “chromium” data
Done today at 08:12 ADT today at 08:14 ADT Setup snap “chromium” (1167) security profiles
Done today at 08:12 ADT today at 08:14 ADT Make snap “chromium” (1167) available to the system
Done today at 08:12 ADT today at 08:14 ADT Automatically connect eligible plugs and slots of snap “chromium”
Done today at 08:12 ADT today at 08:14 ADT Set automatic aliases for snap “chromium”
Done today at 08:12 ADT today at 08:14 ADT Setup snap “chromium” aliases
Done today at 08:12 ADT today at 08:14 ADT Run install hook of “chromium” snap if present
Done today at 08:12 ADT today at 08:14 ADT Start snap “chromium” (1167) services
Done today at 08:12 ADT today at 08:14 ADT Run configure hook of “chromium” snap if present
Done today at 08:12 ADT today at 08:14 ADT Run health check of “chromium” snap
Done today at 08:12 ADT today at 08:12 ADT Ensure prerequisites for “gtk-common-themes” are available
Done today at 08:12 ADT today at 08:13 ADT Download snap “gtk-common-themes” (1506) from channel “stable”
Done today at 08:12 ADT today at 08:13 ADT Fetch and check assertions for snap “gtk-common-themes” (1506)
Done today at 08:12 ADT today at 08:13 ADT Mount snap “gtk-common-themes” (1506)
Done today at 08:12 ADT today at 08:13 ADT Copy snap “gtk-common-themes” data
Done today at 08:12 ADT today at 08:13 ADT Setup snap “gtk-common-themes” (1506) security profiles
Done today at 08:12 ADT today at 08:13 ADT Make snap “gtk-common-themes” (1506) available to the system
Done today at 08:12 ADT today at 08:13 ADT Automatically connect eligible plugs and slots of snap “gtk-common-themes”
Done today at 08:12 ADT today at 08:13 ADT Set automatic aliases for snap “gtk-common-themes”
Done today at 08:12 ADT today at 08:13 ADT Setup snap “gtk-common-themes” aliases
Done today at 08:12 ADT today at 08:13 ADT Run install hook of “gtk-common-themes” snap if present
Done today at 08:12 ADT today at 08:13 ADT Start snap “gtk-common-themes” (1506) services
Done today at 08:12 ADT today at 08:13 ADT Run configure hook of “gtk-common-themes” snap if present
Done today at 08:12 ADT today at 08:13 ADT Run health check of “gtk-common-themes” snap
Done today at 08:14 ADT today at 08:14 ADT Connect chromium:gtk-3-themes to gtk-common-themes:gtk-3-themes
Done today at 08:14 ADT today at 08:14 ADT Connect chromium:camera to core:camera
Done today at 08:14 ADT today at 08:14 ADT Connect chromium:cups-control to core:cups-control
Done today at 08:14 ADT today at 08:14 ADT Connect chromium:icon-themes to gtk-common-themes:icon-themes
Done today at 08:14 ADT today at 08:14 ADT Connect chromium:joystick to core:joystick
Done today at 08:14 ADT today at 08:14 ADT Connect chromium:screen-inhibit-control to core:screen-inhibit-control
Done today at 08:14 ADT today at 08:14 ADT Connect chromium:network to core:network
Done today at 08:14 ADT today at 08:14 ADT Connect chromium:opengl to core:opengl
Done today at 08:14 ADT today at 08:14 ADT Connect chromium:sound-themes to gtk-common-themes:sound-themes
Done today at 08:14 ADT today at 08:14 ADT Connect chromium:unity7 to core:unity7
Done today at 08:14 ADT today at 08:14 ADT Connect chromium:chromium-config to core:personal-files
Done today at 08:14 ADT today at 08:14 ADT Connect chromium:browser-sandbox to core:browser-support
Done today at 08:14 ADT today at 08:14 ADT Connect chromium:u2f-devices to core:u2f-devices
Done today at 08:14 ADT today at 08:14 ADT Connect chromium:audio-playback to core:audio-playback
Done today at 08:14 ADT today at 08:14 ADT Connect chromium:gsettings to core:gsettings
Done today at 08:14 ADT today at 08:14 ADT Connect chromium:home to core:home
Done today at 08:14 ADT today at 08:14 ADT Connect chromium:upower-observe to core:upower-observe
Done today at 08:14 ADT today at 08:14 ADT Connect chromium:x11 to core:x11
Done today at 08:14 ADT today at 08:14 ADT Connect chromium:audio-record to core:audio-record
Done today at 08:14 ADT today at 08:14 ADT Connect chromium:desktop to core:desktop
Done today at 08:14 ADT today at 08:14 ADT Connect chromium:network-bind to core:network-bind
Done today at 08:14 ADT today at 08:14 ADT Setup snap “chromium” (1167) security profiles for auto-connections

this is due to a goss hack in raspbian, they do force-preload this libarmmem.so for each binary … you can fix it by editing the /etc/ld.so.preload file and commenting:

/usr/lib/arm-linux-gnueabihf/libarmmem.so
1 Like

snap 2.45
snapd 2.45
series 16
raspbian 9
kernel 4.19.115-v7+

Thanks. Can you also add the output of snap changes core18?

ID Status Spawn Ready Summary
7 Done today at 08:09 ADT today at 08:10 ADT Install “core18” snap

Thanks, that’s interesting, It’s close in time to when the chromium snap was installed. What is the output snap change 7 ?

How to comment the line …?

it is giving me error [ Error writing /etc/ld.so.preload: Permission denied ]

well, while i’m not a raspbian user, i guess you need root/sudo to edit that file.

[11665:11665:0605/151222.141143:ERROR:edid_parser.cc(102)] Too short EDID data: manufacturer id
[11665:11934:0605/151224.889985:ERROR:object_proxy.cc(632)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[11665:11934:0605/151224.892478:ERROR:object_proxy.cc(632)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[11665:11934:0605/151224.894074:ERROR:object_proxy.cc(632)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[11888:11888:0605/151228.294099:ERROR:viz_main_impl.cc(152)] Exiting GPU process due to errors during initialization

I am not getting sound on chromium browser

so it does run now (despite not playing sound that is) ?

I can see the speaker icon on the tab but no sound , i tested on different website same thing . But if I use other apps it words.

so chromium runs now ?
does your system have pulseaudio installed ?
(snaps usually expect pulseaudio to be running in the users sesiion to play back sound)