2

I want to run neofetch in my Konsole to see my system information on SteamOS, but neofetch isn't installed by default because I get the following:

bash: neofetch: command not found

So I searched online a bit and seems you can install it using the following command:

sudo pacman -S neofetch 

But then I get an error. The error I'm getting and seeing is this:

error: failed to init transaction (unable to lock database)

error: could not lock database: Read-only file system

neofetch on SteamOS


Is it even possible to run neofetch on SteamOS? How can I install or run neofetch on SteamOS?


EDIT:

I've made some progress on installing it. First I ran the following commands in order to enable editing on my read-only image:

sudo steamos-readonly disable sudo pacman-key --init 

And if I run sudo pacman -S neofetch now, then I get the following error:

error: neofetch: signature from "GitLab CI Package Builder [email protected]" is unknown trust :: File /var/cache/pacman/pkg/neofetch-7.1.0-2-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).

I also tried the commands from this link:

sudo steamos-readonly disable sudo pacman-key --init sudo pacman-key --populate archlinux sudo pacman -Syu sudo steamos-readonly enable 

But that results in the following:

error: failed to commit transaction (invalid or corrupted package (PGP signature)). Errors occurred, no packages were upgraded.

And I also tried sudo pacman -Sy archlinux-keyring as suggested in the comments, but that results in the following error:

error: failed to synchronize all databases (unable to lock database)

14
  • 1
    could not lock database: Read-only file system suggests your operating system is not in a writable state, so the issue isn't with trying to install neofetch, I'm sure you couldn't install anything at all Commented Nov 28, 2024 at 12:08
  • @Bravo I've been able to install lots of things so far. Commented Nov 28, 2024 at 12:38
  • 1
    This has nothing to do with neofetch, it looks like you cannot install software generally. Which makes sense since SteamOS isn't a regular operating system but essentially an interface for Steam. Have you installed anything outside Steam Deck? Commented Nov 28, 2024 at 12:38
  • 2
    Ah! Have a look here: help.steampowered.com/en/faqs/view/…. Commented Nov 28, 2024 at 12:40
  • 1
    Never use pacman -S <package> without pacman -Syu before. Best practice is to use pacman -Syu <package>. Commented Nov 28, 2024 at 15:39

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.