No server has been configured for the repository

Good morning, this morning I’m trying to update the system, I do it once a week but it gives me this error “error: unable to synchronize all databases (no server has been configured for the repository)” it’s the first time this has happened to me, maybe the servers are not active today or there is some problem with my operating system, thanks.

If you have a /etc/pacman.d/endeavouros-mirrorlist.pacnew then copy it to /etc/pacman.d/endeavouros-mirrorlist

Look at this topic

And see if the solution given helps.

1 Like

bash: /etc/pacman.d/endeavouros-mirrorlist: Permission denied

Please follow the link @keescase posted above.

You don’t put that in a terminal. That’s path to a file not a command. Please read what I wrote before.

I went looking for the file and found it. What should I do? Copy the line “/etc/pacman.d/endeavouros-mirrorlist.pacnew” to “/etc/pacman.d/endeavouros-mirrorlist.” A text reader opens. I try to insert this line, but it says permission denied. Can you explain further? I’m not very knowledgeable about this. Thanks.

1 Like

Here you go. In a terminal, do:

sudo cp /etc/pacman.d/endeavouros-mirrorlist.pacnew /etc/pacman.d/endeavouros-mirrorlist

When you enter your password, it will look like nothings happening.

I tried to enter that string you gave me from the terminal but it doesn’t update, it gives me the error no server is configured, it doesn’t ask me for a password it just says permission denied

1 Like

No need for all that please just follow the link I posted before.

1 Like

can you please write me the exact link, I got confused with all these commands thanks.

Look at the second message, to solve the problem.

I don’t understand anything

basically, run these commands:

sudo touch /etc/pacman.d/endeavouros-mirrorlist
eos-rankmirrors

Just copy/paste this to a terminal

sudo touch /etc/pacman.d/endeavouros-mirrorlist
eos-rankmirrors

Thanks, I ran this command and the update started. Thank you very much.

Please mark the post which solved your issue as solution.

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