Error installing libavcodec-freeworld Silverblue

Hi, can somebody please help me install this package?

Current state:

LayeredPackages: ffmpegthumbnailer gstreamer1-plugin-openh264 openh264
                           rpmfusion-free-release steam-devices syncthing

linux@linux-notebook:~$ rpm-ostree install libavcodec-freeworld

Checking out tree 7ea3754... done
Enabled rpm-md repositories: fedora-cisco-openh264 updates fedora rpmfusion-free-updates rpmfusion-free copr:copr.fedorainfracloud.org:phracek:PyCharm google-chrome rpmfusion-nonfree-nvidia-driver rpmfusion-nonfree-steam updates-archive
Importing rpm-md... done
rpm-md repo 'fedora-cisco-openh264' (cached); generated: 2024-03-12T11:45:42Z solvables: 3
rpm-md repo 'updates' (cached); generated: 2024-08-25T04:36:16Z solvables: 25322
rpm-md repo 'fedora' (cached); generated: 2024-04-14T18:51:11Z solvables: 74881
rpm-md repo 'rpmfusion-free-updates' (cached); generated: 2024-08-22T08:59:43Z solvables: 149
rpm-md repo 'rpmfusion-free' (cached); generated: 2024-04-20T12:11:51Z solvables: 422
rpm-md repo 'copr:copr.fedorainfracloud.org:phracek:PyCharm' (cached); generated: 2024-03-18T11:54:41Z solvables: 14
rpm-md repo 'google-chrome' (cached); generated: 2024-08-23T16:54:25Z solvables: 3
rpm-md repo 'rpmfusion-nonfree-nvidia-driver' (cached); generated: 2024-08-22T08:39:27Z solvables: 29
rpm-md repo 'rpmfusion-nonfree-steam' (cached); generated: 2024-08-15T19:28:49Z solvables: 2
rpm-md repo 'updates-archive' (cached); generated: 2024-08-21T03:52:59Z solvables: 36142
Resolving dependencies... done
Applying 1 override and 105 overlays
Processing packages... done
error: Checkout libstdc++-14.2.1-1.fc40.i686: Hardlinking ac/859321dfe787f24d016e20e585da522713d84edbf0f6fb4e021543ece37264.file to init.cpython-312.opt-1.pyc: File exists

Thanks in advance.

This is a known issue, likely a sync issue with the rpmfusion repo.

Wait a few days and try again.

Leave out the rpmfusion package for now.

1 Like

I will do that, thank you so much!!!

This error is from libavcodec-freeworld. There is a version difference between libavcodec-freeworld from RPM Fusion and ffmpeg-free from Fedora, so the x86 version of libavcodec-freeworld cannot be installed. Instead, switch to the full FFmpeg by using the following command:

rpm-ostree override remove libavdevice-free libavcodec-free libavfilter-free libavformat-free libavutil-free libpostproc-free libswresample-free libswscale-free ffmpeg-free --install ffmpeg
1 Like

the same goes for nonfree mesa poorly. but yes, best workaround for this!

1 Like

Thank you! I have a friend who has the same package as I do. Will it be resolved for him later, or will he need to follow the same steps?

1 Like

It’s a sync issue that will eventually resolve itself once ffmpeg-free 6.1.2 arrives in Fedora stable. If codec support and updates are necessary, I would recommend using the workaround.

This seems like a bigger problem because:

  • ffmpeg (and libavcodec-freeworld etc.) from RPMFusion can cause breakage at any time its version becomes out of sync with ffmpeg-free (ffmpeg-free - Fedora Packages)
  • ffmpeg-free is preinstalled on all Atomic variants. At least Silverblue and Kinoite. So it’s always present unless you override it.
  • rpm-ostree/dnf falls back to installing the i686 version of libavcodec-freeworld to resolve the conflict when it’s incompatible with ffmpeg-free. This makes the situation worse because rpm-ostree upgrade won’t error out, and the user may not even notice the breakage. I didn’t notice until Firefox suddenly refused playing H264 and I then eventually discovered that /usr/lib/ffmpeg/libavcodec.so.60.31.102 was in-fact 32-bit.

So the solution by Y.Z. seems like the best long-term solution too, unless any of the above changes.

1 Like