Fedora 39 Silverblue errors on Surface GO 2

This is my first use of Silverblue.

I have implemented and installed multimedia codecs as follows:

Add RPM Fusion repos
$ rpm-ostree install \
  https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
  https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

Reboot

$ rpm-ostree update \
--uninstall $(rpm -q rpmfusion-free-release) \
--uninstall $(rpm -q rpmfusion-nonfree-release) \
--install rpmfusion-free-release \
--install rpmfusion-nonfree-release

Reboot

$ rpm-ostree install rpmfusion-free-release-tainted -y

Reboot

$ rpm-ostree install rpmfusion-nonfree-release-tainted -y

Reboot

Toolbox
$ toolbox create
$ toolbox enter

Multimedia (within toolbox)
$ sudo dnf install gstreamer1-plugins-{bad-\*,good-\*,base} gstreamer1-plugin-openh264 gstreamer1-libav --exclude=gstreamer1-plugins-bad-free-devel -y
$ sudo dnf install lame* --exclude=lame-devel -y

Everything up to this point worked without errors. However, the next step developed as follows:

Toolbox errors:

$ sudo dnf group upgrade --with-optional --allowerasing Multimedia -y
$ sudo dnf install ffmpeg ffmpeg-devel -y

"/home" already exists and is not a directory.
fchownat() of /run/systemd/sessions failed: Operation not permitted
fchownat() of /run/systemd/users failed: Operation not permitted
fchownat() of /var/lib/systemd/coredump failed: Operation not permitted
fchownat() of /tmp failed: Operation not permitted
Setting access ACL "u::rwx,g::r-x,g:adm:r-x,g:wheel:r-x,g:4294967295:r-x,g:4294967295:r-x,m::r-x,o::r-x" on /var/log/journal failed: Invalid argument
Failed to re-open '/var/log/journal': Operation not permitted
fchownat() of /var/log/journal failed: Operation not permitted
Setting access ACL "u::rwx,g::r-x,g:adm:r-x,g:wheel:r-x,g:4294967295:r-x,g:4294967295:r-x,m::r-x,o::r-x" on /var/log/journal/8ba083d661e74703a4dcd33f407bc4b3 failed: Invalid argument
Failed to re-open '/var/log/journal/8ba083d661e74703a4dcd33f407bc4b3': Operation not permitted
fchownat() of /var/log/journal/8ba083d661e74703a4dcd33f407bc4b3 failed: Operation not permitted
fchownat() of /dev/snd/seq failed: Operation not permitted
fchownat() of /dev/snd/timer failed: Operation not permitted
fchownat() of /dev/loop-control failed: Operation not permitted
fchownat() of /dev/kvm failed: Operation not permitted
fchownat() of /dev/vhost-net failed: Operation not permitted
fchownat() of /dev/vhost-vsock failed: Operation not permitted
Setting access ACL "u::rw-,g::r-x,g:adm:r--,g:wheel:r--,g:4294967295:r-x,g:4294967295:r-x,m::r--,o::---" on /var/log/journal/8ba083d661e74703a4dcd33f407bc4b3/system.journal failed: Invalid argument
fchownat() of /var/log/journal/8ba083d661e74703a4dcd33f407bc4b3/system.journal failed: Operation not permitted
fchownat() of /sys/kernel/security/tpm0/binary_bios_measurements failed: Operation not permitted
fchownat() of /sys/kernel/security/ima/binary_runtime_measurements failed: Operation not permitted

Failed to reload daemon: Access denied

Failed to start transient service unit: Connection reset by peer
Failed to reload daemon: Transport endpoint is not connected
Failed to start transient service unit: Connection reset by peer
Failed to start jobs: Transport endpoint is not connected

This seemed to work without problems:

$ podman commit fedora-toolbox-39 my-fedora-image

$ toolbox create -i my-fedora-image

However…

$ rpm-ostree update

...Importing rpm-md... done (nothing of note before this)
rpm-md repo 'fedora-cisco-openh264' (cached); generated: 2023-03-14T10:57:01Z solvables: 4
rpm-md repo 'updates' (cached); generated: 2024-02-05T01:16:21Z solvables: 21487
rpm-md repo 'fedora' (cached); generated: 2023-11-01T00:12:39Z solvables: 70825
rpm-md repo 'rpmfusion-free-tainted' (cached); generated: 2024-02-05T00:04:34Z solvables: 2
rpm-md repo 'rpmfusion-free-updates' (cached); generated: 2024-02-04T23:14:39Z solvables: 152
rpm-md repo 'rpmfusion-free' (cached); generated: 2023-11-04T16:49:08Z solvables: 445
rpm-md repo 'rpmfusion-nonfree-tainted' (cached); generated: 2024-02-05T00:05:06Z solvables: 6
rpm-md repo 'rpmfusion-nonfree-updates' (cached); generated: 2024-02-04T23:32:13Z solvables: 62
rpm-md repo 'rpmfusion-nonfree' (cached); generated: 2023-11-04T17:26:32Z solvables: 208
rpm-md repo 'google-chrome' (cached); generated: 2024-02-01T17:57:39Z solvables: 3
rpm-md repo 'rpmfusion-nonfree-steam' (cached); generated: 2024-02-05T00:06:26Z solvables: 2
rpm-md repo 'copr:copr.fedorainfracloud.org:phracek:PyCharm' (cached); generated: 2023-08-10T15:35:19Z solvables: 5
rpm-md repo 'rpmfusion-nonfree-nvidia-driver' (cached); generated: 2024-02-05T00:06:17Z solvables: 29
rpm-md repo 'updates-archive' (cached); generated: 2024-02-05T01:46:28Z solvables: 28345
Resolving dependencies... done
No upgrade available.

Not really sure what is going on with $ rpm-ostree update. The system seems to be working OK, as far as I can see. What is up with the errors and how do I resolve whatever is going on here?

Do you need multimedia support in your toolbox? Are those real failure or just errors that you can ignore? Sometimes some packages don’t install cleanly in toolboxes/containers but they work fine in practice.

Thanks for the reply.

Well from what I have read, that is where cli items belong. Yes, as a normal desktop user, I need my multimedia fix.

Yes, that is a good question what kind of errors those are. That is what I am hoping to find out…

OK. I tried another install (this time Kinoite) on another machine. The errors occur with rpm-ostree update, after having added the RPM Fusion repos, and are persistent for every following rpm-ostree update. This isn’t about adding codecs, but about including the RPM Fusion repos to the system.

I don’t see any errors related to RPMFusion here. It’s just telling you that it updated the cache. It looks like you are already on or staged for the most recent image+overlay, which is why rpm-ostree update isn’t doing anything more. If you did an rpm-ostree install, you’ll need to reboot. Keep in mind that (with a few exceptions) installing stuff with rpm-ostree doesn’t also make them available in toolbox and vice-versa, since those run in a separate podman containerized environment.

1 Like

OK, maybe not errors as such, but for a desktop user, it is anomalous behavior compared to $ sudo dnf update:

rpm-md repo 'fedora-cisco-openh264'; generated: 2023-03-14T10:57:01Z solvables: 4
rpm-md repo 'updates'; generated: 2024-02-07T01:42:10Z solvables: 21559
rpm-md repo 'fedora'; generated: 2023-11-01T00:12:39Z solvables: 70825
rpm-md repo 'rpmfusion-free-updates'; generated: 2024-02-04T23:14:39Z solvables: 152
rpm-md repo 'rpmfusion-free'; generated: 2023-11-04T16:49:08Z solvables: 445
rpm-md repo 'rpmfusion-nonfree-updates'; generated: 2024-02-04T23:32:13Z solvables: 62
rpm-md repo 'rpmfusion-nonfree'; generated: 2023-11-04T17:26:32Z solvables: 208
rpm-md repo 'updates-archive'; generated: 2024-02-07T02:09:46Z solvables: 28569

The “solvables” made me think that this was similar to broken packages in dnf. I was thinking 28569 solvables in the updates-archive, what did I do wrong?

No, solvables in the output here refers to what has been found (how many packages) in the repo. It does not mean that something is broken on your system.

1 Like