What exactly does the pamac-mirrorlist-timer do?

I update my mirrorlist regularly with
sudo pacman-mirrors -f 5 && sudo pacman -Syyu, after I have previously selected the mirrors for my country. I guess this concerns pacman, not pamac, right? But then what does the pamac-mirrorlist-timer do additionally? Does it mess up the mirrorlist, which I created, in regular indifference to the defaults of others again?

It regenerates the mirror list weekly.

/usr/lib/systemd/system/pamac-mirrorlist.timer

[Unit]
Description=Generate mirrorlist weekly

[Timer]
OnCalendar=Thu *-*-* 7:00:00
RandomizedDelaySec=15h
Persistent=true

[Install]
WantedBy=timers.target

/usr/lib/systemd/system/pamac-mirrorlist.service

[Unit]
Description=Generate mirrorlist
Wants=network-online.target
After=network-online.target

[Service]
Type=oneshot
ExecStart=/usr/bin/pacman-mirrors -f8
1 Like

So you can save the manual editing because it becomes pointless?

No, just disable the timer for your use case:

$ systemctl disable pamac-mirrorlist.timer
1 Like

no reason to do if the pc does not travel


you can also change one service (persistent after pamac update)

sudo systemctl edit pamac-mirrorlist.timer  # for change OnCalendar date
#or
sudo systemctl edit pamac-mirrorlist.service # for change params
1 Like

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