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):
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).
################################################################################
################# 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
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:
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:
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.