Update fail - server problem?

I am experiencing server timeouts @ update.
I did check my internet,
also refreshed mirrors with RebornOs-Welcome.

Summary

texlive-basic-2023.66594-15-any 6.6 MiB 109 KiB/s 01:02 [##########################################] 100%
kolourpaint-23.04.3-1-x86_64 5.7 MiB 93.4 KiB/s 01:03 [##########################################] 100%
Total ( 60/377) 333.1 MiB 4.58 MiB/s 01:13 [##########################################] 100%
error: failed retrieving file ‘kwidgetsaddons-5.108.0-1-x86_64.pkg.tar.zst’ from mirror.osbeck.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file ‘yt-dlp-2023.07.06-1-any.pkg.tar.zst’ from mirror.osbeck.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file ‘php-8.2.8-1-x86_64.pkg.tar.zst’ from mirror.osbeck.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
warning: too many errors from mirror.osbeck.com, skipping for the remainder of this transaction
error: failed retrieving file ‘python-pipenv-2023.7.11-1-any.pkg.tar.zst’ from mirror.osbeck.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file ‘dolphin-23.04.3-1-x86_64.pkg.tar.zst’ from mirror.osbeck.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file ‘khelpcenter-23.04.3-1-x86_64.pkg.tar.zst’ from mirror.osbeck.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file ‘mariadb-libs-11.0.2-2-x86_64.pkg.tar.zst’ from mirror.osbeck.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file ‘python-numpy-1.25.1-1-x86_64.pkg.tar.zst.sig’ from mirror.osbeck.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file ‘breeze-icons-5.108.0-1-any.pkg.tar.zst.sig’ from mirror.osbeck.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file ‘gst-plugins-good-1.22.4-2-x86_64.pkg.tar.zst.sig’ from mirror.lcarilla.de : Connection timeout after 10000 ms
error: failed retrieving file ‘grub-2:2.12rc1-1-x86_64.pkg.tar.zst.sig’ from mirror.osbeck.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file ‘konqueror-23.04.3-1-x86_64.pkg.tar.zst.sig’ from mirror.osbeck.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file ‘pyside6-6.5.1.1-4-x86_64.pkg.tar.zst.sig’ from mirror.osbeck.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file ‘strawberry-1.0.18-2-x86_64.pkg.tar.zst.sig’ from mirror.osbeck.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file ‘kate-23.04.3-1-x86_64.pkg.tar.zst.sig’ from mirror.osbeck.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file ‘texlive-basic-2023.66594-15-any.pkg.tar.zst.sig’ from mirror.osbeck.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file ‘kolourpaint-23.04.3-1-x86_64.pkg.tar.zst.sig’ from mirror.osbeck.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
warning: failed to retrieve some files
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.

Does it work after

sudo refresh-mirrors

?

Only 0 mirrors found...
Retrying with a longer timeout duration. This will be much slower. Please be patient...

# STARTED AT: 2023-07-15 13:09:15.793308440 +02:00
# ARGS: /usr/bin/rate-mirrors --protocol=https --per-mirror-timeout=5000 --allow-root --save=/tmp/pacman.d/mirrorlist arch
Error: error decoding response body: invalid value: integer `-9`, expected u64 at line 1 column 147133



ERROR: rate-mirrors exited with the error code 1...

ERROR: Refresh of Arch Linux mirrors failed with exit code: 1

Ah. Let us try this:

yay -S aur/rate-mirrors

sudo refresh-mirrors

yes, now it works, what was the cause ?
THANKS !!! :slight_smile:

Seems like one of the older versions of rate-mirrors in our repo might have a bug. It is fixed in the AUR, but it isn’t there in our repo yet. The first command above bypasses any repos to use the AUR version of rate-mirrors.

refresh-mirrors is a thin wrapper script over rate-mirrors.

1 Like

still on further proceed comes this:

==> Appending keys from rebornos.gpg...
gpg: error reading key: No public key
gpg: error reading key: No public key
gpg: error reading key: No public key
gpg: error reading key: No public key
gpg: error reading key: No public key

It could be harmless! … But if you see other problems with keys and cannot upgrade, do the below to refresh the keyrings

sudo pacman-key --init

sudo pacman -Sy archlinux-keyring 

sudo pacman -Sy rebornos-keyring 

sudo pacman-key --populate archlinux rebornos

you are better than the Arch-Wiki !! :slight_smile:
They did not put it that exactly.
Thanks a lot!! :slight_smile:

1 Like

Hey guys, just in case: here is the explanation.

2 Likes

im running the rock 5b and after following your steps and try to run refresh-mirrors and it states command is not found. After refershing all the keyrings as well, I still get the below error:
failed retrieving file ‘RebornOS.db’ from de.mirror.rebornos.org : The requested URL returned error: 404

:: found solution: No longer is RebornOS, followed steps below
sudo nano /etc/pacman.conf
comment out the [rebornos] and the include = stuff

Hi @Mangled . Check this out: https://rebornos.discourse.group/t/orangr-pi-5-install-and-update

There may be a corresponding package for Rock 5b that you can search for by using pacman -Ss <partial name>

How do you revert back to OS distribution (rate-mirrors) and not have the packages downloaded through AUR?

@Mangled These instructions are not applicable to RebornOS ARM or BredOS. Using the AUR is suggested here because in the alternative way, it is extra complicated to do manual file editing to get the latest rate-mirrors which will add our new mirrolist. But this mirrorlist does not have any ARM packages at all.

I also did not understand your question completely

sorry, I was trying to fix the issue I had with the database which i resolved earlier by removing the RebornOS from pacman.conf which prior I had ran command yay -S aur/rate-mirrors
This had caused my desktop default applications, icons, etc to change and desktop theme has been altered regarding this. Is there a way to revert the update since that was not the issue to begin with?

@Mangled
Could you give more information? I am trying to understand which commands you ran. I work on the x86_64 side of things, but I can help you if you can share a screenshot or something like that

Sorry I may be confused on how the script actually worked. It made me download packages that were for rust and am now not sure if that was a good idea or not.

@Mangled If you installed rate-mirrors from the AUR, rust packages come in just to compile and build the source code. They are make dependencies and you can remove cargo or rust safely.

You said you have other changes like the theme. Perhaps your OS transitioned to BredOS? Install and run neofetch if you’d like to check if that happened.

yes it had transitioned to BredOS. It may have been the cause