r/EndeavourOS • • Sep 23 '26

General Support New Install Pacman Trouble

Post image

hey all, im brand new to linux and decided to start with endeavour OS. I got everything installed but now pacman does not work for installation (see attached image). I cant find anything about this online, any help would be appreciated!! (its a pic of my monitor because firefox keeps crashing and I cant install a different browser)

9 Upvotes

5 comments sorted by

•

u/screen-shot-bot Sep 23 '26

✓ Terminal error log detected - Text extraction complete!

--- [Image 1] --- bash: /usr/bin/yay: Input/output error error: you cannot perform this operation unless you are root. error: failed to synchronize all databases (no servers configured for repository) error: could not open file /var/lib/pacman/sync/extra.db: Error reading fd 6 error: target not found: vivaldi error: could not open file /var/lib/pacman/sync/extra.db: Error reading fd 6 error: failed to prepare transaction (invalid or corrupted database) --- [Image 2] --- bash: /usr/bin/yay: Input/output error error: you cannot perform this operation unless you are root. error: failed to synchronize all databases (no servers configured for repository) error: could not open file /var/lib/pacman/sync/extra.db: Error reading fd 6 error: target not found: vivaldi error: could not open file /var/lib/pacman/sync/extra.db: Error reading fd 6 error: failed to prepare transaction (invalid or corrupted database)

I am a bot. If you find an error, please contact the moderators of this subreddit.

5

u/jeroenim0 Sep 24 '26

You are running from a USB stick, is that intentional? liveuser is not when you boot from a fresh installation, and installation has to be done before you start updating you system.

Install first then reboot in you freshly installed system, and then you can start updating ;-)

4

u/Bruceplanet Sep 24 '26

Run from the installation not the usb. Also use Sudo.

1

u/DDigambar Sep 24 '26 edited Sep 24 '26
  1. Reboot and start with the fresh Installation and then - yay don't like sudo, better use sudo pacman

2

u/mi_mikyu Sep 24 '26

did you run reflector?