gnome-control-center keeps crashing on Fedora 35

Since this morning I was not able to open gnome-control-center and I thought there was something magically wrong. So, I tried to resolve the issue in the easiest way as possible.

The most basic and oldest method ever lived in the planet. The dear old reboot.

Have you tried turning it off and on again?

I know it’s not that professional. But I did it anyway. And it didn’t work, of course.

So, I started to dig into Systemd logs, with sudo journalctl -xf while opening the settings software.

Feb 08 21:05:08 mistborn gnome-control-center.desktop[35085]: gnome-control-center: error while loading shared libraries: /lib64/libgstreamer-1.0.so.0: file too short

So I decided to check for that .so file and reinstall the package:

sudo dnf provides '*/libgstreamer-1.0.so.0'

sudo dnf reinstall gstreamer1-1.20.0-1.fc35.x86_64

After that I tried again and the error changed. So, I got:

Feb 08 21:07:26 mistborn gnome-control-center.desktop[35938]: gnome-control-center: error while loading shared libraries: /lib64/libgstpbutils-1.0.so.0: file too short

The same here:

sudo dnf provides '*/libgstpbutils-1.0.so.0'

sudo dnf reinstall gstreamer1-plugins-base-1.20.0-1.fc35.x86_64

I don’t know why it happened. Perhaps some corrupted files installed during and dnf update but it seems highly improbbale to me. And for 2 packages at the same time it looks suspicious.