You are not logged in.

#1 2026-01-16 13:33:18

SpecialYT
Member
Registered: 2026-01-16
Posts: 7

Pacman Mirrors ..

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

#2 2026-01-16 13:40:54

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,454
Website

Re: Pacman Mirrors ..

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

#3 2026-01-16 13:43:28

astralc
Member
Registered: 2022-09-17
Posts: 127

Re: Pacman Mirrors ..

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.

https://wiki.archlinux.org/title/Pacman … nd_mirrors

Offline

#4 2026-01-16 14:08:22

SpecialYT
Member
Registered: 2026-01-16
Posts: 7

Re: Pacman Mirrors ..

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

#5 2026-01-16 14:13:09

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,454
Website

Re: Pacman Mirrors ..

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

#6 2026-01-16 14:16:34

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,723

Re: Pacman Mirrors ..

Whatever bullshit ChatGPT gave you for the mirrorlist was wrong, too. https://wiki.archlinux.org/title/Mirrors

Offline

#7 2026-01-16 14:58:44

SpecialYT
Member
Registered: 2026-01-16
Posts: 7

Re: Pacman Mirrors ..

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

#8 2026-01-16 15:18:45

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,043

Re: Pacman Mirrors ..

Server = https://archive.archlinux.org/repos/2025/12/01/community/$arch

https://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

#9 2026-01-16 15:28:32

SpecialYT
Member
Registered: 2026-01-16
Posts: 7

Re: Pacman Mirrors ..

What is the purpose of re installing arch again ? everything seems fine , the pacman is working ?

Offline

#10 2026-01-16 15:36:37

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,043

Re: Pacman Mirrors ..

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

Board footer

Powered by FluxBB