You are not logged in.

#1 2023-02-26 19:28:06

3beb6e7c46a615a
Member
Registered: 2021-03-27
Posts: 165

[SOLVED] Remove pacman-mirrorlist package?

Out of curiosity, can I somehow remove the pacman-mirrorlist package?  It's a hard dependency of pacman, so I presume I'd have to make a custom empty package with a corresponding provides to actually get rid of pacman-mirrorlist?  Or is there some pacman hack I could use to get rid of the package?

I'm using reflector to keep my mirrorlist updated, and recently started using the worldwide rackspace mirror, so I don't really need the mirrorlist updates from pacman-mirrorlist, and it's the only package which frequently generates .pacnew files on my system.  I presume I could just put pacman-mirrorlist into IgnorePkg to avoid this situation, but then again I figured it'd be nicer to get rid of the whole package right away.

Last edited by 3beb6e7c46a615a (2023-02-28 14:52:32)

Offline

#2 2023-02-26 19:37:44

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [SOLVED] Remove pacman-mirrorlist package?

FWIW, NoExtract would probably be better than IgnorePkg, but that doesn't really address you main question.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2023-02-27 19:49:51

3beb6e7c46a615a
Member
Registered: 2021-03-27
Posts: 165

Re: [SOLVED] Remove pacman-mirrorlist package?

Not really wink  But thanks for the advice.  I now set both options; let's see how it goes.

I wonder why pacman-mirrorlist is still a thing… does anyone not use reflector or a worldwide mirror?

Offline

#4 2023-02-27 20:24:35

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Remove pacman-mirrorlist package?

lunaryorn wrote:

I wonder why pacman-mirrorlist is still a thing… does anyone not use reflector or a worldwide mirror?

People that live in low bandwidth parts of the world. I don't care about the speed of the mirrors in the US or EU, I want to connect to local mirrors. And as there are only three of them, it makes no sense using reflector, let alone a worldwide mirror.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2023-02-27 20:59:34

3beb6e7c46a615a
Member
Registered: 2021-03-27
Posts: 165

Re: [SOLVED] Remove pacman-mirrorlist package?

I'm not sure I follow… if you're in a region with so few mirrors that it doesn't make sense to use reflector, what do you need the whole of "pacman-mirrorlist" for? 

I don't mean to argue; I'm just curious how you're dealing with the mirrorlist.  As far as I can see there are like 350 servers in there you'd never use… do you even look at mirrorlist.pacnew after pacman-mirrorlist updates?  Isn't dealing with big irrelevant diffs on that file much more hassle than setting up reflector once and for all to give you all NZ mirrors?

See, even I find those mirrorlist.pacnew annoying, and all I ever do is throw them away because my mirrorlist is either constant or managed by reflector.  But if you're handling the mirrorlist yourself wouldn't you actually need to check every mirrorlist.pacnew file just in case those three mirrors in your region ever changed?

Last edited by 3beb6e7c46a615a (2023-02-27 21:24:10)

Offline

#6 2023-02-27 22:04:54

seth
Member
Registered: 2012-09-03
Posts: 59,084

Re: [SOLVED] Remove pacman-mirrorlist package?

You wrote:

what do you need the whole of "pacman-mirrorlist" for

But your quote also wrote:

does anyone not use reflector or a worldwide mirror?

What Jason wrote:

it makes no sense using reflector, let alone a worldwide mirror.

doesn't say that pacman-mirrorlist needs to be a hard dependency for pacman.

Reflector could be on the iso and the guide telling you to run it to generate an initial list w/ reflector and pacman-mirrorlist being optional installation choices if you want to select/optimize beyond "Sheep barn I", "Sheep barn II" and "The one with the goats"

Offline

#7 2023-02-27 22:32:16

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Remove pacman-mirrorlist package?

lunaryorn wrote:

what do you need the whole of "pacman-mirrorlist" for?

Well, I do occasionally travel... And, if a new mirror is added, how else would I fiind out? tongue


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2023-02-27 22:33:11

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Remove pacman-mirrorlist package?

seth wrote:

and "The one with the goats"

They're alpacas, seth. We've talked about this before! tongue


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2023-02-28 07:43:15

seth
Member
Registered: 2012-09-03
Posts: 59,084

Re: [SOLVED] Remove pacman-mirrorlist package?

Sorry, I certainly didn't mean to insult your wifes tongue

But out of curiosity I found this very concerning data:
https://i.imgur.com/IqKOzMc.png
Source: https://www.stats.govt.nz/indicators/livestock-numbers

Do you understand what that means?
If this worrysome trend continues, the rest of the world will soon have to find a new trope about New Zealand!

Offline

#10 2023-02-28 14:52:15

3beb6e7c46a615a
Member
Registered: 2021-03-27
Posts: 165

Re: [SOLVED] Remove pacman-mirrorlist package?

jasonwryan wrote:
lunaryorn wrote:

what do you need the whole of "pacman-mirrorlist" for?

Well, I do occasionally travel... And, if a new mirror is added, how else would I fiind out? tongue

Well, there's this tool which automatically updates your mirrorlist with the up to date mirror data… ;p

SCNR smile

It'd be nice if pacman-mirrorlist was an optdepends of pacman, but then again I really have more important problems ^^

Thanks for your help; I'll mark this as solved.

Offline

#11 2023-02-28 15:03:29

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [SOLVED] Remove pacman-mirrorlist package?

seth wrote:

... the rest of the world will soon have to find a new trope about New Zealand!

He said sheepishly.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB