all repos — website-hugo @ c52a7edb4bde9b3a92cb36166caae7fedc4fb2ab

My personal blog, built with Hugo!

deploy: ed6f910486176e50c6868c7f2da91a9c84fcef9b
BiRabittoh BiRabittoh@users.noreply.github.com
Mon, 30 Jan 2023 18:11:42 +0000
commit

c52a7edb4bde9b3a92cb36166caae7fedc4fb2ab

parent

e81c7b9f581e040476da150f7c576b6ed8be0058

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M articles/reflector/index.htmlarticles/reflector/index.html

@@ -16,7 +16,7 @@ </span></span></code></pre></div><p>Finally, start the service and check if it worked.</p><div class=highlight><pre tabindex=0 style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>sudo systemctl start reflector.service

</span></span><span style=display:flex><span>cat /etc/pacman.d/mirrorlist </span></span></code></pre></div><p>If everything went smoothly, enable reflector&rsquo;s timer so it runs weekly.</p><div class=highlight><pre tabindex=0 style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>sudo systemctl enable reflector.timer </span></span></code></pre></div><p>Done!</p><p>Now, by default pacman <em>does</em> update its mirrorlist. It creates a file called <code>mirrorlist.pacnew</code> and it expects you to pick your favorite mirrors each time its generated. You can disable this (now unneeded) behavior by uncommenting and setting <code>NoExtract</code> in <code>/etc/pacman.conf</code>:</p><div class=highlight><pre tabindex=0 style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-fallback data-lang=fallback><span style=display:flex><span>... -</span></span><span style=display:flex><span>NoExtract = /etc/pacman.d/mirrorlist.pacnew +</span></span><span style=display:flex><span>NoExtract = /etc/pacman.d/mirrorlist </span></span><span style=display:flex><span> </span></span><span style=display:flex><span># Misc options </span></span><span style=display:flex><span>Color