r/EndeavourOS • • 20d ago

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 20d ago

✓ 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](https://www.reddit.com/message/compose?to=/r/EndeavourOS of this subreddit.*)

4

u/jeroenim0 20d ago

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 ;-)

2

u/mi_mikyu 20d ago

did you run reflector?

5

u/Bruceplanet 20d ago

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

1

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