After the update my games from Steam were hitting very low FPS.
To check whether it was the update or not I reverted it with eopkg hs -t, but that broke eopkg.
[β] Syncing filesystems success
[β] Updating dynamic library cache success
[β] Updating hwdb success
[β] Updating system users success
[β] Reloading systemd configuration success
[β] Updating systemd system service preset: fwupd.service success
[β] Updating systemd system service preset: fwupd-refresh.service success
[β] Updating systemd system service preset: switcheroo-control.service success
[β] Updating systemd system service preset: fwupd-refresh.timer success
[β] Compiling glib-schemas success
[β] Updating icon theme cache: hicolor success
[β] Updating desktop database success
[β] Updating manpages database success
[β] Reloading udev rules success
[β] Applying udev rules success
System error. Program terminated.
Please use 'eopkg help' for general help.
Use --debug to see a traceback.
Now in eopkg hs I see a transaction for the revert, but asking for info for some packages crashes eopkg
$ eopkg info switcheroo-control
Program terminated.
Unable to read file (/var/lib/eopkg/package/switcheroo-control-3.0-4/metadata.xml): [Errno 2] No such file or directory: '/var/lib/eopkg/package/switcheroo-control-3.0-4/metadata.xml'
Please use 'eopkg help' for general help.
and so does eopkg check
$ sudo eopkg check
... many lines ...
Program terminated.
Unable to read file (/var/lib/eopkg/package/proton-vpn-gtk-app-4.15.1-35/files.xml): [Errno 2] No such file or directory: '/var/lib/eopkg/package/proton-vpn-gtk-app-4.15.1-35/files.xml'
Please use 'eopkg help' for general help.
eopkg rdb
$ eopkg rdb
[sudo] password for elusiani:
Rebuild eopkg databases? (yes/no)y
Disabling keyboard interrupts for file operations.
Rebuilding the FilesDB...
Adding packages to FilesDB /var/lib/eopkg/info/files.db:
.............................Program terminated.
Program terminated.
Unable to read file (/var/lib/eopkg/package/proton-vpn-gtk-app-4.15.1-35/files.xml): [Errno 2] No such file or directory: '/var/lib/eopkg/package/proton-vpn-gtk-app-4.15.1-35/files.xml'
Unable to read file (/var/lib/eopkg/package/proton-vpn-gtk-app-4.15.1-35/files.xml): [Errno 2] No such file or directory: '/var/lib/eopkg/package/proton-vpn-gtk-app-4.15.1-35/files.xml'
Please use 'eopkg help' for general help.
(I really hope I did not make things worse with this last command...)
and in general checking for updates
eopkg lu --debug
DEBUG: RepoDB initialized in 0.00010156631469726562.
DEBUG: InstallDB initialized in 0.003700733184814453.
DEBUG: PackageDB initialized in 0.19634056091308594.
System error. Program terminated.
<class 'FileNotFoundError'>: [Errno 2] No such file or directory: '/var/lib/eopkg/package/proton-vpn-gtk-app-4.15.1-35/metadata.xml'
Please use 'eopkg help' for general help.
Traceback:
File "/tmp/onefile_111414_1774786131_927526/eopkg.py3", line 89, in <module>
File "/tmp/onefile_111414_1774786131_927526/eopkg.py3", line 85, in main
File "/tmp/onefile_111414_1774786131_927526/pisi/cli/pisicli.py", line 132, in run_command
File "/tmp/onefile_111414_1774786131_927526/pisi/cli/listupgrades.py", line 64, in run
File "/tmp/onefile_111414_1774786131_927526/pisi/api.py", line 262, in list_upgradable
File "/tmp/onefile_111414_1774786131_927526/pisi/operations/upgrade.py", line 472, in is_upgradable
File "/tmp/onefile_111414_1774786131_927526/pisi/db/installdb.py", line 160, in get_version_and_distro_release
Edit:
Since only eopkg seemed broken I rebooted. eopkg is still broken, but at least the game work now.
I think the update to switcheroo-control somehow made game run on the iGPU instead of the nvidia one.