How do i fix this error when trying to run sudo pacman -S steam in terminal?

warning: database file for ‘core’ does not exist (use ‘-Sy’ to download)
warning: database file for ‘extra’ does not exist (use ‘-Sy’ to download)
warning: database file for ‘community’ does not exist (use ‘-Sy’ to download)
warning: database file for ‘multilib’ does not exist (use ‘-Sy’ to download)
error: target not found: steam

This is from a fresh install of manjaro btw

refresh your mirror lists

or use
pacman -Syyu ...
and do the (rather big) system update that is likely to be there fist.

Just insisting on installing this one package with an out of date mirror list will not work.

this comes up when running pacman -Syyu

:: Synchronising package databases…
error: failed to synchronize all databases (no servers configured for repository)

then update your mirrors first
pacman-mirrors
is the command (needs options)
or use the GUI (Software … something)
to do it.

Then you have a basis from which to proceed.

… I don’t know which repository contains “steam” - or whether it is only in AUR

then look for how to use … AUR

ps:

but a quick look at:

Packages

told me that the AUR need not to be involved for “steam”

Please familiarize yourself with your new system.
Especially if you plan to use terminal commands to manage it.

More or less, for now, you should do something like

pacman-mirrors -g && sudo pacman -Syyu

(yes you can add steam at the end of it, or simply install after)

3 Likes

This has worked! thanks so much for the help and ill make sure to get used to manjaro

Your running an arch based distro which is a rolling release, it’s important to keep your system upto date and always update when installing a package. If you are new to manjaro then keep an eye on the announcement threads as all updates will be posted there and any potential hazards that may occur

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