Gamemode: Installation keeps failing

I get this error whenever i want to install gamemode, i tried searching for solutions but nothing worked for me so far
help please!

zee@localhost:~> sudo zypper install gamemode
[sudo] password for root: 
Refreshing service 'NVIDIA'.
Refreshing service 'openSUSE'.
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following 4 NEW packages are going to be installed:
  gamemode gamemoded libgamemode0 libgamemodeauto0

4 new packages to install.
Overall download size: 0 B. Already cached: 131,4 KiB. After the operation, additional 285,9 KiB will be used.

Backend:  classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y): y
In cache gamemoded-1.8.1-1.3.x86_64.rpm                                                   (1/4),  83,5 KiB    
In cache libgamemode0-1.8.1-1.3.x86_64.rpm                                                (2/4),  17,1 KiB    
In cache libgamemodeauto0-1.8.1-1.3.x86_64.rpm                                            (3/4),  15,2 KiB    
In cache gamemode-1.8.1-1.3.x86_64.rpm                                                    (4/4),  15,6 KiB    

Checking for file conflicts: ...........................................................................[done]
error: can't create transaction lock on /usr/lib/sysimage/rpm/.rpm.lock (Read-only file system)
(1/4) Installing: gamemoded-1.8.1-1.3.x86_64 ..........................................................[error]
Installation of gamemoded-1.8.1-1.3.x86_64 failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, retry, ignore? [a/r/i] (a): a
Problem occurred during or after installation or removal of packages:
Installation has been aborted as directed.
Please see the above error message for a hint.

Do you boot from a snapshot?

oh yes i forget that my bad !! what should i do

You are using a RO snapshot. You need to perform the rollback if you want to use this snapshot and make it RW.

1 Like

thank you, i’m just getting used to snapshots

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.