Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#69602 - [pacman] Make pacman-mirrorlist optional

Attached to Project: Arch Linux
Opened by Anton Rieger (arcbug) - Tuesday, 09 February 2021, 20:12 GMT
Last edited by Allan McRae (Allan) - Thursday, 11 February 2021, 11:02 GMT
Task Type General Gripe
Category Packages: Core
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Very Low
Priority Normal
Reported Version 5.2.2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Summary and Info:
pacman-mirrorlist is redundant in setups there the mirror never changes or if https://archlinux.org/mirrorlist/ is used to generate it.

So I propose to make it an optional dependency.
This task depends upon

Closed by  Allan McRae (Allan)
Thursday, 11 February 2021, 11:02 GMT
Reason for closing:  Won't implement
Comment by Eli Schwartz (eschwartz) - Tuesday, 09 February 2021, 20:29 GMT
  • Field changed: Attached to Project (Pacman → Arch Linux)
This is related to the PKGBUILD packaging, not the pacman source code.
Comment by Eli Schwartz (eschwartz) - Tuesday, 09 February 2021, 20:34 GMT
The mirrorlist package is needed OOTB, since it provides a critical file used by /etc/pacman.conf -- if, on the other hand, you have a package that depends on reflector and periodically runs a service to recreate the mirrorlist, it could reasonably claim to provides=('pacman-mirrorlist'). In fact, I have a custom package like this.

OTOH, lowering it to an optional dependency would lead to broken end-user systems by default, unless we enforced it via the base metapackage anyway. And there's no real downside to this tiny package, which won't override your existing mirrorlist since it creates pacnew files instead.
Comment by Anton Rieger (arcbug) - Tuesday, 09 February 2021, 21:24 GMT
For installs, pacstrap can use the mirrorlist provided by the installation media.

An "example" mirrorlist could be provided to still satisfy the OOTB experience. Though this could lead to people not upgrading it.
On the other hand the same can happen with an ignored mirrorlist.pacnew.

I understand your reasoning though. Thus it's under general gripe and very low.

Loading...