Failed to sync and python 2 package when trying to update

Hello,

I had a similar issue as the post here: Installer failing due to removed python2 package

I got past the python thing…I forget how…but now it wants me to select a Java runtime as shown here:

I tried selecting all of these and yet everytime I do and proceed then I get this error popup:

Thanks for reading!

Hi can you run sudo pacman —Syuu in the terminal and give us the output so we can identify what the issue is?

Sure here is what I get:

sudo pacman -Syu
:: Synchronizing package databases...
 Reborn-OS is up to date
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
error: failed retrieving file 'core.db' from mirrors.evowise.com : Failed to connect to mirrors.evowise.com port 80 after 1 ms: Connection refused
error: failed retrieving file 'extra.db' from mirrors.evowise.com : Failed to connect to mirrors.evowise.com port 80 after 0 ms: Connection refused
error: failed retrieving file 'community.db' from mirrors.evowise.com : Failed to connect to mirrors.evowise.com port 80 after 0 ms: Connection refused
warning: too many errors from mirrors.evowise.com, skipping for the remainder of this transaction
:: Starting full system upgrade...
error: could not open file /var/lib/pacman/sync/multilib.db: Unrecognized archive format
warning: nextcloud: ignoring package upgrade (24.0.3-1 => 24.0.6-1)
error: failed to prepare transaction (invalid or corrupted database)

I have pi-hole enabled so I disabled it and get the following when I run it:

 sudo pacman -Syu
:: Synchronizing package databases...
 Reborn-OS is up to date
 core is up to date
 extra is up to date
 community is up to date
 multilib                                      632.4 KiB   988 KiB/s 00:01 [##########################################] 100%
:: Starting full system upgrade...
error: could not open file /var/lib/pacman/sync/multilib.db: Unrecognized archive format
warning: nextcloud: ignoring package upgrade (24.0.3-1 => 24.0.6-1)
error: failed to prepare transaction (invalid or corrupted database)

The evowise mirror does not work for Arch Linux. You would have to select another mirror. To do this, you can use reflector, or you can use refresh-mirrors (provided you have one of these options on your system).

You could also edit the /etc/pacman.d/mirrorlist file, where there should be a list of available mirrors for your system. In that list (which should have several mirrors) what you should do is comment the line where evowise is found; to comment the line (and not take it into account) just add the # character at the beginning of the mirror.

Let’s see an example of using reflector. In this example, the fastest and most up-to-date mirrors from the US and Germany will be searched (in this example you will create a mirrorlist file with 100 mirrors):

sudo reflector --country 'United States' --country Germany --latest 100 --protocol http --protocol https --sort rate --save /etc/pacman.d/mirrorlist

You can read about using reflector here:

https://wiki.archlinux.org/title/reflector

Available Arch Linux mirrors and their status can be viewed here:

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

refresh-mirrors

refresh-mirrors is an application available in RebornOS that is responsible for updating and selecting RebornOS and Arch Linux mirrors.

But if you don’t have any of these applications available (reflector or refresh-mirrors) it’s best to edit the mirrorlist.

If you have no idea how to edit this file, tell me, and I’ll try to help you here.

Hey Rafael,

Thanks for the response! I just commented out the evowise mirror and now I get the below. But I am confused. I am running a RebornOS install from a little over a year ago that I do weekly updates to. The evowise mirror must have come with Reborn? I never customized the mirrors or even touched that file until today. I just do weekly updates and all of a sudden it broke.

Here is my current output now:

 sudo pacman -Syu
:: Synchronizing package databases...
 Reborn-OS is up to date
 core                  156.4 KiB   372 KiB/s 00:00 [######################] 100%
 extra                1721.0 KiB  1721 KiB/s 00:01 [######################] 100%
 community               7.0 MiB  2.21 MiB/s 00:03 [######################] 100%
 multilib is up to date
:: Starting full system upgrade...
error: could not open file /var/lib/pacman/sync/multilib.db: Unrecognized archive format
warning: nextcloud: ignoring package upgrade (24.0.3-1 => 24.0.6-1)
error: failed to prepare transaction (invalid or corrupted database)

In the GUI here is what happens now. I no longer have the Java runtime popup:

This message is obtained when, although the mirror has passed the test, it has an error. It’s a common thing from time to time on Arch Linux. The ideal would be to repeat reflector again or, if you dare to do so, edit the /etc/pacman.d/mirrorlist file, and comment out the first mirror that exists there.
It is also normal that when you run reflector you get one (or several) error messages about mirrors not working (timeout error, etc).

Ok I ran reflector again and yet after this when running pacman update I get the same error about the database. Here is the full ouput of both:

sudo reflector --country 'United States' --country Germany --latest 100 --protocol http --protocol https --sort rate --save /etc/pacman.d/mirrorlist
[2022-10-12 15:08:37] WARNING: failed to rate http(s) download (https://archlinux.thaller.ws/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:08:43] WARNING: failed to rate http(s) download (http://phinau.de/arch/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:08:48] WARNING: failed to rate http(s) download (https://phinau.de/arch/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:09:01] WARNING: failed to rate http(s) download (http://mirror.f4st.host/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:09:07] WARNING: failed to rate http(s) download (https://mirror.f4st.host/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:09:12] WARNING: failed to rate http(s) download (http://mirror.lty.me/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:09:17] WARNING: failed to rate http(s) download (https://mirror.lty.me/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:09:23] WARNING: failed to rate http(s) download (http://mirror.chaoticum.net/arch/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:09:28] WARNING: failed to rate http(s) download (https://mirror.chaoticum.net/arch/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:09:34] WARNING: failed to rate http(s) download (http://ftp.halifax.rwth-aachen.de/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:09:40] WARNING: failed to rate http(s) download (https://ftp.halifax.rwth-aachen.de/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:09:52] WARNING: failed to rate http(s) download (http://mirror.23m.com/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:09:57] WARNING: failed to rate http(s) download (https://mirror.23m.com/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:10:08] WARNING: failed to rate http(s) download (https://mirror.hackingand.coffee/arch/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:10:13] WARNING: failed to rate http(s) download (https://mirror.pseudoform.org/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:10:33] WARNING: failed to rate http(s) download (https://pkg.fef.moe/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:10:38] WARNING: failed to rate http(s) download (http://mirror.cmt.de/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:10:44] WARNING: failed to rate http(s) download (https://mirror.cmt.de/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:10:49] WARNING: failed to rate http(s) download (http://arch.jensgutermuth.de/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:10:54] WARNING: failed to rate http(s) download (https://arch.jensgutermuth.de/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:11:04] WARNING: failed to rate http(s) download (https://arch.unixpeople.org/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:11:10] WARNING: failed to rate http(s) download (http://mirrors.niyawe.de/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:11:15] WARNING: failed to rate http(s) download (https://mirrors.niyawe.de/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:11:21] WARNING: failed to rate http(s) download (http://ftp.uni-hannover.de/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:11:27] WARNING: failed to rate http(s) download (http://mirror.moson.org/arch/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:11:34] WARNING: failed to rate http(s) download (https://mirror.moson.org/arch/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:11:39] WARNING: failed to rate http(s) download (http://mirror.informatik.tu-freiberg.de/arch/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:11:45] WARNING: failed to rate http(s) download (https://mirror.informatik.tu-freiberg.de/arch/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:11:51] WARNING: failed to rate http(s) download (http://packages.oth-regensburg.de/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:11:56] WARNING: failed to rate http(s) download (https://packages.oth-regensburg.de/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:12:07] WARNING: failed to rate http(s) download (https://dist-mirror.fem.tu-ilmenau.de/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:12:13] WARNING: failed to rate http(s) download (http://arch.mirror.zachlge.org/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:12:18] WARNING: failed to rate http(s) download (https://arch.mirror.zachlge.org/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:12:18] WARNING: failed to rate http(s) download (http://ftp.sudhip.com/archlinux/community/os/x86_64/community.db): HTTP Error 403: Forbidden
[2022-10-12 15:12:18] WARNING: failed to rate http(s) download (https://ftp.sudhip.com/archlinux/community/os/x86_64/community.db): HTTP Error 403: Forbidden
[2022-10-12 15:12:24] WARNING: failed to rate http(s) download (http://archlinux.honkgong.info/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:12:41] WARNING: failed to rate http(s) download (http://mirrors.lug.mtu.edu/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:12:48] WARNING: failed to rate http(s) download (https://mirrors.lug.mtu.edu/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:12:53] WARNING: failed to rate http(s) download (http://mirrors.cat.pdx.edu/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:13:14] WARNING: failed to rate http(s) download (https://mirror.tmmworkshop.com/archlinux/community/os/x86_64/community.db): HTTP Error 403: Forbidden
[2022-10-12 15:13:23] WARNING: failed to rate http(s) download (http://mirror.netcologne.de/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:13:29] WARNING: failed to rate http(s) download (https://mirror.netcologne.de/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:13:34] WARNING: failed to rate http(s) download (http://mirror.arizona.edu/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:13:39] WARNING: failed to rate http(s) download (https://mirror.arizona.edu/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:13:45] WARNING: failed to rate http(s) download (https://zxcvfdsa.com/arch/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:13:50] WARNING: failed to rate http(s) download (http://mirror.jaime.sh/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:13:56] WARNING: failed to rate http(s) download (https://mirror.jaime.sh/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:14:02] WARNING: failed to rate http(s) download (https://mirror.zackmyers.io/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:14:08] WARNING: failed to rate http(s) download (http://dfw.mirror.rackspace.com/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:14:25] WARNING: failed to rate http(s) download (https://dfw.mirror.rackspace.com/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:14:52] WARNING: failed to rate http(s) download (http://mirrors.janbruckner.de/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:14:57] WARNING: failed to rate http(s) download (https://mirrors.janbruckner.de/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:15:03] WARNING: failed to rate http(s) download (http://mirrors.n-ix.net/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:15:08] WARNING: failed to rate http(s) download (https://mirrors.n-ix.net/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:15:18] WARNING: failed to rate http(s) download (http://mirrors.ocf.berkeley.edu/archlinux/community/os/x86_64/community.db): <urlopen error [Errno -3] Temporary failure in name resolution>
[2022-10-12 15:15:36] WARNING: failed to rate http(s) download (http://mirror.sfo12.us.leaseweb.net/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:15:49] WARNING: failed to rate http(s) download (https://mirror.sfo12.us.leaseweb.net/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:15:58] WARNING: failed to rate http(s) download (http://mirrors.acm.wpi.edu/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:16:04] WARNING: failed to rate http(s) download (https://mirror.gnomus.de/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-10-12 15:16:19] WARNING: failed to rate http(s) download (http://mirror.cs.pitt.edu/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[main@Desktop pacman.d]$ sudo pacman -Syu
[sudo] password for main: 
:: Synchronizing package databases...
 Reborn-OS is up to date
 core is up to date
 extra                                                  1720.9 KiB  4.42 MiB/s 00:00 [#################################################] 100%
 community                                                 7.0 MiB  4.94 MiB/s 00:01 [#################################################] 100%
 multilib is up to date
:: Starting full system upgrade...
error: could not open file /var/lib/pacman/sync/multilib.db: Unrecognized archive format
warning: nextcloud: ignoring package upgrade (24.0.3-1 => 24.0.6-1)
error: failed to prepare transaction (invalid or corrupted database)

Can you show me the content of the mirrorlist file?

The reflector example may not apply to your geographic location.

Sure it is here below

################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################

# With:       reflector --country 'United States' --country Germany --latest 100 --protocol http --protocol https --sort rate --save /etc/pacman.d/mirrorlist
# When:       2022-10-12 19:26:43 UTC
# From:       https://archlinux.org/mirrors/status/json/
# Retrieved:  2022-10-12 19:26:43 UTC
# Last Check: 2022-10-12 19:03:22 UTC

Server = https://coresite.mm.fcix.net/archlinux/$repo/os/$arch
Server = https://mirrors.rit.edu/archlinux/$repo/os/$arch
Server = https://forksystems.mm.fcix.net/archlinux/$repo/os/$arch
Server = http://forksystems.mm.fcix.net/archlinux/$repo/os/$arch
Server = http://coresite.mm.fcix.net/archlinux/$repo/os/$arch
Server = http://arch.mirror.constant.com/$repo/os/$arch
Server = https://iad.mirrors.misaka.one/archlinux/$repo/os/$arch
Server = http://iad.mirrors.misaka.one/archlinux/$repo/os/$arch
Server = http://mirrors.rit.edu/archlinux/$repo/os/$arch
Server = https://mnvoip.mm.fcix.net/archlinux/$repo/os/$arch
Server = http://mnvoip.mm.fcix.net/archlinux/$repo/os/$arch
Server = https://codingflyboy.mm.fcix.net/archlinux/$repo/os/$arch
Server = http://codingflyboy.mm.fcix.net/archlinux/$repo/os/$arch
Server = http://mirrors.ocf.berkeley.edu/archlinux/$repo/os/$arch
Server = http://mirror.fcix.net/archlinux/$repo/os/$arch
Server = https://mirror.fcix.net/archlinux/$repo/os/$arch
Server = https://mirrors.xtom.de/archlinux/$repo/os/$arch
Server = http://arch.hu.fo/archlinux/$repo/os/$arch
Server = https://iad.mirror.rackspace.com/archlinux/$repo/os/$arch
Server = http://mirrors.xtom.de/archlinux/$repo/os/$arch
Server = https://arch.hu.fo/archlinux/$repo/os/$arch
Server = http://mirror.wdc1.us.leaseweb.net/archlinux/$repo/os/$arch
Server = https://mirror.wdc1.us.leaseweb.net/archlinux/$repo/os/$arch
Server = https://mirrors.ocf.berkeley.edu/archlinux/$repo/os/$arch
Server = http://iad.mirror.rackspace.com/archlinux/$repo/os/$arch
Server = https://de.arch.mirror.kescher.at/$repo/os/$arch
Server = http://mirror.cs.pitt.edu/archlinux/$repo/os/$arch
Server = https://ord.mirror.rackspace.com/archlinux/$repo/os/$arch
Server = http://mirrors.vectair.net/archlinux/$repo/os/$arch
Server = http://ord.mirror.rackspace.com/archlinux/$repo/os/$arch
Server = https://mirrors.vectair.net/archlinux/$repo/os/$arch
Server = https://arch.mirror.ivo.st/$repo/os/$arch
Server = https://repo.ialab.dsu.edu/archlinux/$repo/os/$arch
Server = http://repo.ialab.dsu.edu/archlinux/$repo/os/$arch
Server = https://mirror.mia11.us.leaseweb.net/archlinux/$repo/os/$arch
Server = https://mirror.hackingand.coffee/arch/$repo/os/$arch
Server = http://phinau.de/arch/$repo/os/$arch
Server = http://mirror.mia11.us.leaseweb.net/archlinux/$repo/os/$arch
Server = https://america.mirror.pkgbuild.com/$repo/os/$arch
Server = https://dfw.mirror.rackspace.com/archlinux/$repo/os/$arch
Server = http://dfw.mirror.rackspace.com/archlinux/$repo/os/$arch
Server = https://mirrors.lug.mtu.edu/archlinux/$repo/os/$arch
Server = http://mirror.mikrogravitation.org/archlinux/$repo/os/$arch
Server = https://archlinux.thaller.ws/$repo/os/$arch
Server = http://mirror.f4st.host/archlinux/$repo/os/$arch
Server = https://mirror.f4st.host/archlinux/$repo/os/$arch
Server = https://phinau.de/arch/$repo/os/$arch
Server = http://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch
Server = https://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch
Server = https://mirror.pseudoform.org/$repo/os/$arch
Server = http://mirror.lty.me/archlinux/$repo/os/$arch
Server = https://mirror.lty.me/archlinux/$repo/os/$arch
Server = http://mirror.chaoticum.net/arch/$repo/os/$arch
Server = https://mirror.chaoticum.net/arch/$repo/os/$arch
Server = http://packages.oth-regensburg.de/archlinux/$repo/os/$arch
Server = https://packages.oth-regensburg.de/archlinux/$repo/os/$arch
Server = http://mirror.moson.org/arch/$repo/os/$arch
Server = https://mirror.moson.org/arch/$repo/os/$arch
Server = http://mirror.23m.com/archlinux/$repo/os/$arch
Server = https://mirror.23m.com/archlinux/$repo/os/$arch
Server = http://mirror.hackingand.coffee/arch/$repo/os/$arch
Server = http://arch.jensgutermuth.de/$repo/os/$arch
Server = https://arch.jensgutermuth.de/$repo/os/$arch
Server = http://arlm.tyzoid.com/$repo/os/$arch
Server = https://pkg.fef.moe/archlinux/$repo/os/$arch
Server = http://mirror.cmt.de/archlinux/$repo/os/$arch
Server = https://mirror.cmt.de/archlinux/$repo/os/$arch
Server = https://arch.unixpeople.org/$repo/os/$arch
Server = http://mirrors.niyawe.de/archlinux/$repo/os/$arch
Server = https://mirrors.niyawe.de/archlinux/$repo/os/$arch
Server = http://ftp.uni-hannover.de/archlinux/$repo/os/$arch
Server = http://mirror.informatik.tu-freiberg.de/arch/$repo/os/$arch
Server = https://mirror.informatik.tu-freiberg.de/arch/$repo/os/$arch
Server = https://dist-mirror.fem.tu-ilmenau.de/archlinux/$repo/os/$arch
Server = http://arch.mirror.zachlge.org/$repo/os/$arch
Server = https://arch.mirror.zachlge.org/$repo/os/$arch
Server = http://ftp.sudhip.com/archlinux/$repo/os/$arch
Server = https://ftp.sudhip.com/archlinux/$repo/os/$arch
Server = http://archlinux.honkgong.info/$repo/os/$arch
Server = https://mirror.mikrogravitation.org/archlinux/$repo/os/$arch
Server = http://mirrors.lug.mtu.edu/archlinux/$repo/os/$arch
Server = http://mirrors.cat.pdx.edu/archlinux/$repo/os/$arch
Server = https://mirror.tmmworkshop.com/archlinux/$repo/os/$arch
Server = http://mirror.netcologne.de/archlinux/$repo/os/$arch
Server = https://mirror.netcologne.de/archlinux/$repo/os/$arch
Server = http://mirror.arizona.edu/archlinux/$repo/os/$arch
Server = https://mirror.arizona.edu/archlinux/$repo/os/$arch
Server = https://zxcvfdsa.com/arch/$repo/os/$arch
Server = http://mirror.jaime.sh/archlinux/$repo/os/$arch
Server = https://mirror.jaime.sh/archlinux/$repo/os/$arch
Server = https://mirror.zackmyers.io/archlinux/$repo/os/$arch
Server = http://mirrors.janbruckner.de/archlinux/$repo/os/$arch
Server = https://mirrors.janbruckner.de/archlinux/$repo/os/$arch
Server = http://mirrors.n-ix.net/archlinux/$repo/os/$arch
Server = https://mirrors.n-ix.net/archlinux/$repo/os/$arch
Server = http://mirror.dal10.us.leaseweb.net/archlinux/$repo/os/$arch
Server = http://mirror.sfo12.us.leaseweb.net/archlinux/$repo/os/$arch
Server = https://mirror.sfo12.us.leaseweb.net/archlinux/$repo/os/$arch
Server = http://mirrors.acm.wpi.edu/archlinux/$repo/os/$arch
Server = https://mirror.gnomus.de/$repo/os/$arch

Do you know how to edit this file? If you have an idea, you could add these two mirrors to the top of the list:

Server = https://mirror.cov.ukservers.com/archlinux/$repo/os/$arch
Server = https://mirrors.gethosted.online/archlinux/$repo/os/$arch

These are UK mirrors…

Yes, just added them but still the same output when I try to update:

sudo pacman -Syu
:: Synchronizing package databases...
 Reborn-OS is up to date
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
error: could not open file /var/lib/pacman/sync/multilib.db: Unrecognized archive format
warning: nextcloud: ignoring package upgrade (24.0.3-1 => 24.0.6-1)
error: failed to prepare transaction (invalid or corrupted database)

but it does look like in the GUI there is a change. I see this now:

Try:

sudo rm /var/lib/pacman/sync/multilib.db

…and reply. In this way we eliminate the database that gives an error.

Perfect, that did it, thank you! New packages are downloading now:

:: Proceed with installation? [Y/n] y
:: Retrieving packages...

I’m glad it work!

Have a good day.

1 Like

I noticed you encountered similar problems in pamac with the some messages I also encountered. What I found helps to correct it was to use the option --force-refresh from a terminal window. This will update all files so be aware of this before running it:

sudo pamac update --force-refresh

1 Like

For ceph-libs, this has been deprecated or is being removed. I found it was taking several hours to compile and hence the failure message. You can remove it and then if you find you need it, then it should be replaced with ceph-libs-bin.

https://archlinux.org/todo/removal-of-ceph-from/
https://aur.archlinux.org/packages/ceph-libs