Skynet
March 17, 2022, 7:20am
1
My local servers were down for some reason I guess. So I added two other countries to my mirror list.
Later I decided to view the mirror list in
/etc/pacman.d/mirrorlist file
using vim editor, but every time I hit :X to exit, I get this message at the end of file saying
E173 one more line to edit
follow by the prompt that 2 files to edit
I guess there are two mirror list create automatically ???
It’s simply /etc/pacman.d/mirrorlist
Why do you attach the “filename” file
to the end of it?
Try using rate-mirrors
or reflector
to generate a new mirrror list.
rate-mirrors arch | sudo tee /etc/pacman.d/mirrorlist
or
reflector -a 10 --sort score | sudo tee /etc/pacman.d/mirrorlist
(just one of these commands should do it)
3 Likes
Skynet
March 17, 2022, 9:24am
5
I ran the command and it generated a bunch of server list.
So is that it ?
@Kresimir stop helping skynet!!!
7 Likes
Hey! That looks like home!
2 Likes
You’ve updated your mirrors.
This can also be done from the Endeavour welcome app.
Skynet:
Later I decided to view the mirror list in
/etc/pacman.d/mirrorlist file
using vim editor, but every time I hit :X to exit, I get this message at the end of file saying
E173 one more line to edit
Just to pick up on this, you asked vim to open two files: one called /etc/pacman.d/mirrorlist
and one called file
. This is why it’s telling you there’s “one more file”.
2 Likes
@Skynet
That’s what happens when you use vim.
I just use nano. Short and sweet!
1 Like
I don’t think his outcome would have changed had he used nano instead of vim. . .
I realize that. Just making a joke about vim.
Edit: There’s a tool for that! On the Welcome app. Update mirrors!
1 Like
Skynet
March 18, 2022, 5:32am
14
thanks I did that
I run either the sudo pacman -Syyu
or just the following
yay -Syyu
first thing in the morning everyday
Don’t run it like that, lol.
Just yay -Syyu
will do.
And when you normally update, without changing your mirrors first, simply run yay
1 Like
Skynet
March 18, 2022, 6:24am
17
Gotccha.
Say a lot of folks say that paru is now the new yay
What do you run ?