Update check says "Cannot fetch updates"

Since running that last raft of updates, every time I choose Update in the Welcome app, I get this error.

After closing it, I hit the update burron again and it syncronizes without any errors.

image

Has anyone else noticed this, or do you think it was a connection issue? There was streaming video running, so know the INternet is good.

There must be an issue with the mirrors. Can you use reflector to generate mirrorlist again?

2 Likes

Here is my mirrorlist https://clbin.com/599xj which I have fine tuned so I don’t get a bunch of errors, as I did with the default reflector configuration.

Can you run it again today? I see that its 4 days old

1 Like

No, I created the mirrorlist 10 April and use the same one. I am not in the US, but this is the sytnax that gives me best speed as you can see.

When: 2022-04-10 14:43:42 UTC

From: https://archlinux.org/mirrors/status/json/

Retrieved: 2022-04-10 14:43:42 UTC

Last Check: 2022-04-10 14:35:47 UTC

Here I am running the mirrorlist I saved. Noticed it finished with an error.

$ reflector --verbose -c US --protocol https --sort rate --latest 20 -f 20 -n 20 --download-timeout 30 --save /etc/pacman.d/mirrorlist
[2022-05-14 15:03:54] INFO: rating 20 mirror(s) by download speed
[2022-05-14 15:03:54] INFO: Server Rate Time
[2022-05-14 15:04:02] INFO: https://arch.mirror.constant.com/ 873.21 KiB/s 7.75 s
[2022-05-14 15:04:10] INFO: https://america.mirror.pkgbuild.com/ 922.84 KiB/s 7.33 s
[2022-05-14 15:04:19] INFO: https://archlinux.qern-industries.pw/ 798.24 KiB/s 8.47 s
[2022-05-14 15:04:43] INFO: https://mirror.lty.me/archlinux/ 299.46 KiB/s 22.59 s
[2022-05-14 15:04:57] INFO: https://arlm.tyzoid.com/ 502.05 KiB/s 13.47 s
[2022-05-14 15:04:57] WARNING: failed to rate http(s) download (https://mirror.theash.xyz/arch/community/os/x86_64/community.db): HTTP Error 403: Forbidden
[2022-05-14 15:04:57] INFO: https://mirror.theash.xyz/arch/ 0.00 KiB/s 0.00 s
[2022-05-14 15:05:06] INFO: https://mirror.hackingand.coffee/arch/ 907.53 KiB/s 7.45 s
[2022-05-14 15:05:06] WARNING: failed to rate http(s) download (https://mirror.tmmworkshop.com/archlinux/community/os/x86_64/community.db): HTTP Error 403: Forbidden
[2022-05-14 15:05:06] INFO: https://mirror.tmmworkshop.com/archlinux/ 0.00 KiB/s 0.00 s
[2022-05-14 15:05:26] INFO: https://mirrors.lug.mtu.edu/archlinux/ 341.17 KiB/s 19.83 s
[2022-05-14 15:05:52] INFO: https://dfw.mirror.rackspace.com/archlinux/ 270.64 KiB/s 24.99 s
[2022-05-14 15:06:23] INFO: https://iad.mirror.rackspace.com/archlinux/ 226.18 KiB/s 29.91 s
[2022-05-14 15:06:42] INFO: https://ord.mirror.rackspace.com/archlinux/ 369.87 KiB/s 18.29 s
[2022-05-14 15:07:06] INFO: https://repo.ialab.dsu.edu/archlinux/ 335.59 KiB/s 20.16 s
[2022-05-14 15:07:15] INFO: https://arch.hu.fo/archlinux/ 809.42 KiB/s 8.36 s
[2022-05-14 15:07:24] INFO: https://mirrors.ocf.berkeley.edu/archlinux/ 903.31 KiB/s 7.49 s
[2022-05-14 15:07:34] INFO: https://zxcvfdsa.com/arch/ 741.69 KiB/s 9.12 s
[2022-05-14 15:07:51] INFO: https://mirror.sfo12.us.leaseweb.net/archlinux/ 399.54 KiB/s 16.93 s
[2022-05-14 15:08:00] INFO: https://mirrors.rit.edu/archlinux/ 863.67 KiB/s 7.83 s
[2022-05-14 15:08:08] INFO: https://mirrors.xtom.com/archlinux/ 913.39 KiB/s 7.41 s
[2022-05-14 15:08:18] INFO: https://archmirror1.octyl.net/ 732.49 KiB/s 9.23 s
error: Permission denied
[michael@eos-22 ~]$

I am not concerned about it, but here i is.

I just put this here if someone find it useful:

https://archlinux.org/mirrors/status/

https://archlinux.org/mirrorlist/

4 Likes

The only time this ever happens to me is when i first boot the computer and the welcome screen comes up. If i am too quick to check for updates i get the same. You have to give it a second after booting to connect & then it’s fine. Never had this happen by just checking for updates if the computer has been running.

2 Likes

That has been my experience too. I just rebooted and did upgrade which gave me the usual


So I think you are right. I will try what you said and get report the results.
I’m too curious :wink:

The best practice is , after booting, to just wait for the eos-update-notifier to come on

1 Like

If I were me I’d probably do this, especially if there’s an issue with any of the other options. Go back to the basics.

2 Likes

Yes I noticed it only happens on boot.

So I tried that and can can confirm the same.

Thanks Rick :partying_face: I am happy again.

[quote=“HMS_Endeavour, post:8, topic:27091, full:true”]

Also, I am aware the package maintainer need to fix the libpdfium-nojs package and am ignoring it.

But, looking at the update output: What if anything can I do about the firefox and gnome text editor warnings from the AUR?

This

ERROR: Cannot fetch updates

comes from the checkupdates program (from package pacman-contrib) when there is a problem like some other program also trying to fetch updates at the same time.

There’s not much that can be done other than let the other program finish, or wait a bit.

2 Likes

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