Sample Header Ad - 728x90

How can I install `neofetch` on SteamOS?

2 votes
0 answers
902 views
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 " 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)
Asked by Shaun Roselt (237 rep)
Nov 28, 2024, 11:56 AM
Last activity: Feb 28, 2025, 11:25 AM