You are not logged in.
Pages: 1
So i hopped to arch linux just a few days ago , i have some prior knowledge but i dont what i was *experimenting and now my pacman is not working, (i remember i was trying to install snapd with pacman and tried to add something to any file for community .. with chatgpt.) a example is this :
➜ ~ sudo pacman -S viu
warning: database file for 'community' does not exist (use '-Sy' to download)
error: failed to prepare transaction (could not find database)
I have done several chats with chatgpt but no conclusion i think there is some problem with the:
/etc/pacman.d/mirrorlist
as i know a little about the arch or say linux i dont know how to revert the mirros to original.
again i tried uncommenting the worldwide servers and near my country india servers but they are out of reach or 404.
any help is appreciated, i can provide any files related to this.
Offline
Please don't use LLMs to teach you how to use Arch Linux, use the wiki.
https://wiki.archlinux.org/title/Snap
The community repo hasn't existed for a while, remove it from your pacman.conf.
Mod note: moving to NC
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
community repo does not exist for several years, so you are using badGPT, or bad guide, if you are new.
If you changed a file, you should know how to restore it.
Offline
So i have removed the [community] from the pacman.conf and it works now ! basic install of packages are working but why this still fails ?
➜ ~ sudo pacman -Syy (and syu too)
:: Synchronizing package databases...
core.db failed to download
extra.db failed to download
error: failed retrieving file 'core.db' from archive.archlinux.org : The requested URL returned error: 404
error: failed retrieving file 'extra.db' from archive.archlinux.org : The requested URL returned error: 404
error: failed to synchronize all databases (failed to retrieve some files)
Maybe i am dumb to even understand what it does ? and how do the /etc/pacman.d/pacman.conf works with everything commented ?
Last edited by SpecialYT (2026-01-16 14:09:44)
Offline
Please post the contents of your pacman.conf and /etc/pacman.d/mirrorlist, use code tags, or a pastebin service.
https://wiki.archlinux.org/title/Genera … s_and_code
https://wiki.archlinux.org/title/List_o … n_services
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Whatever bullshit ChatGPT gave you for the mirrorlist was wrong, too. https://wiki.archlinux.org/title/Mirrors
Offline
My pacman.conf is :
> https://paste.c-net.org/PettyRoxie
and the /etc/pacman.d/mirrorlist:
> https://paste.c-net.org/SicilyMadder
there it is.
Offline
Server = https://archive.archlinux.org/repos/2025/12/01/community/$archhttps://archive.archlinux.org/repos/202 … ty/x86_64/ is 404 and generally that's wrong for using a static repo and everything else.
https://wiki.archlinux.org/title/Mirrors
Read that.
Actually go back to step one and install arch following https://wiki.archlinux.org/title/Installation_guide and don't listen to that authoritative bullshit generator again.
Offline
What is the purpose of re installing arch again ? everything seems fine , the pacman is working ?
Offline
If pacman is working, why is there this thread?
The purpose is for you to actually have a minimal grasp on the system in front of you because from what we've seen we'll have to assume you've used chadgpt to drastically misconfigure more stuff.
Offline
Pages: 1