Errors running update

I installed EOS on a 2012 iMac in my garage I use when working on my cars. Once installed some weeks back, I am getting the following errors:

Arch & EndeavourOS update check:
:: Searching Arch & EndeavourOS for updates…
endeavouros-mirrorlist 4.0.1-1 → 4.0.3-1
eos-bash-shared 1.8.2-1 → 1.9.6-1
eos-log-tool 1.4.6-1 → 1.4.7-1
eos-translations 1.1.36-1 → 1.1.37-1
inxi 3.3.05.1-1 → 3.3.06.1-1
reflector-simple 1.16.8-1 → 1.17.3-1
welcome 3.13.4-1 → 3.14.1-1
yay 10.3.0-1 → 10.3.1-1
Password:
:: Synchronizing package databases…
core 596.5 KiB 1052 KiB/s 00:01 [--------------------------------] 100%
extra 596.5 KiB 1625 KiB/s 00:00 [--------------------------------] 100%
community 596.5 KiB 1704 KiB/s 00:00 [--------------------------------] 100%
multilib 596.5 KiB 1277 KiB/s 00:00 [--------------------------------] 100%
endeavouros is up to date
:: Starting full system upgrade…
error: could not open file /var/lib/pacman/sync/core.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/community.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/multilib.db: Unrecognized archive format
error: failed to prepare transaction (invalid or corrupted database)

AUR update check:
→ could not open file /var/lib/pacman/sync/core.db: Unrecognized archive format
→ could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
→ could not open file /var/lib/pacman/sync/community.db: Unrecognized archive format
→ could not open file /var/lib/pacman/sync/multilib.db: Unrecognized archive format
:: Searching AUR for updates…
→ Missing AUR Packages: a52dec aalib accountsservice acl adobe-source-code-pro-fonts adobe-source-han-sans-cn-fonts adobe-source-han-sans-jp-fonts adobe-source-han-sans-kr-fonts adwaita-icon-theme alsa-card-profiles alsa-firmware alsa-lib alsa-plugins alsa-topology-conf alsa-ucm-conf alsa-utils aom archlinux-keyring argon2 at-spi2-atk at-spi2-core atk atkmm attr audit autoconf automake avahi b43-fwcutter baloo base bash bash-completion bind binutils bison bluez bluez-libs boost boost-libs broadcom-wl-dkms brotli btrfs-progs bubblewrap bzip2 ca-certificates ca-certificates-mozilla ca-certificates-utils cairo cairomm cantarell-fonts capitaine-cursors cdparanoia cifs-utils colord convertlit coreutils cracklib crda cryptsetup curl dav1d db dbus dbus-glib dbus-python dconf dconf-editor desktop-file-utils device-mapper dhclient dialog diffutils ding-libs dkms dmidecode dmraid dnsmasq dnssec-anchors dosfstools double-conversion doxygen e2fsprogs ebook-tools edk2-shell efibootmgr efitools efivar elfutils ell enchant epdfview ethtool exfat-utils exiv2 exo expat expect f2fs-tools fakeroot ffmpeg ffmpegthumbnailer file file-roller filesystem findutils firefox flac flex fontconfig freetype2 fribidi fsarchiver fuse-common fuse2 fuse3 galculator garcon gawk gc gcc gcc-libs gcr gd gdbm gdk-pixbuf2 geoip geoip-database gettext giflib git glances glib-networking glib2 glibc glibmm gmp gnome-online-accounts gnome-themes-extra gnu-netcat gnupg gnutls gobject-introspection-runtime gpart gpgme gpm gptfdisk graphene graphite grep groff grub gsettings-desktop-schemas gsm gspell gssproxy gst-libav gst-plugin-pipewire gst-plugins-base gst-plugins-base-libs gst-plugins-good gst-plugins-ugly gstreamer gtk-engine-murrine gtk-update-icon-cache gtk2 gtk3 gtkmm3 gtksourceview3 gtksourceview4 guile gvfs gvfs-afc gvfs-goa gvfs-gphoto2 gvfs-mtp gvfs-nfs gvfs-smb gzip hardinfo harfbuzz harfbuzz-icu haveged hdparm hicolor-icon-theme hidapi hwdetect hwids hwinfo hyphen iana-etc icu imlib2 inetutils intel-ucode iproute2 iptables iputils ipw2100-fw ipw2200-fw iso-codes iw iwd jansson jfsutils js78 json-c json-glib karchive kauth kbd kbookmarks kcodecs kcompletion kconfig kconfigwidgets kcoreaddons kcrash kdbusaddons kdeclarative kded keyutils kfilemetadata kglobalaccel kguiaddons ki18n kiconthemes kidletime kio kirigami2 kitemviews kjobwidgets kmod knotifications kpackage krb5 kservice ktextwidgets kwallet kwidgetsaddons kwindowsystem kxmlgui l-smash lame lcms2 ldb less libaio libappindicator-gtk3 libarchive libass libassuan libasyncns libatasmart libavc1394 libavif libblockdev libbluray libbsd libbytesize libcaca libcanberra libcap libcap-ng libcddb libcdio libcdio-paranoia libcloudproviders libcolord libcroco libcups libdaemon libdatrie libdbusmenu-glib libdbusmenu-gtk3 libdbusmenu-qt5 libde265 libdrm libdv libdvdcss libdvdread libedit libelf libepoxy libevdev libevent libexif libfdk-aac libffi libfontenc libgcrypt libglvnd libgnomekbd libgpg-error libgphoto2 libgsf libgtop libgudev libgusb libheif libibus libical libice libid3tag libidn2 libiec61883 libimobiledevice libindicator-gtk3 libinih libinput libjpeg-turbo libkeybinder3 libksba libldac libldap libmanette libmaxminddb libmbim libmfx libmicrohttpd libmm-glib libmnl libmodplug libmpc libmpeg2 libmtp libndp libnetfilter_conntrack libnewt libnfnetlink libnfs libnftnl libnghttp2 libnl libnm libnma libnotify libnsl libogg libomxil-bellagio libopenaptx libopenraw libp11-kit libpcap libpciaccess libpeas libpgm libpipeline libplist libpng libproxy libpsl libpulse libpwquality libqmi libqrtr-glib libraw1394 librsvg libsamplerate libsasl libseccomp libsecret libshout libsidplay libsigc++ libsm libsndfile libsodium libsoup libsoxr libssh libssh2 libtasn1 libteam libthai libtheora libtiff libtirpc libtommath libtool libunistring libunwind libusb libusbmuxd libuv libva libvdpau libvisual libvorbis libvpx libwacom libwebp libwnck3 libwpe libx11 libx86emu libxau libxcb libxcomposite libxcrypt libxcursor libxdamage libxdmcp libxext libxfce4ui libxfce4util libxfixes libxfont2 libxft libxi libxinerama libxkbcommon libxkbcommon-x11 libxkbfile libxklavier libxml2 libxmu libxpm libxpresent libxrandr libxrender libxres libxshmfence libxslt libxss libxt libxtst libxv libxxf86vm libyaml libyuv libzip licenses lightdm lightdm-gtk-greeter lightdm-gtk-greeter-settings linux linux-api-headers linux-atm linux-firmware linux-headers llvm-libs lm_sensors lmdb logrotate lsb-release lsscsi lua53 lvm2 lz4 lzo m4 mailcap make man-db man-pages md4c mdadm media-player-info meld mesa mkinitcpio mkinitcpio-busybox mkinitcpio-nfs-utils mlocate mobile-broadband-provider-info modemmanager mpfr mpg123 mtdev mtools nano nbd ncurses ndctl ndisc6 neofetch net-tools netctl nettle network-manager-applet networkmanager networkmanager-openvpn nfs-utils nfsidmap nilfs-utils nm-connection-editor nmap noto-fonts npth nspr nss nss-mdns ntfs-3g ntp nvme-cli openal openconnect opencore-amr opendesktop-fonts openjpeg2 openssl openssl-1.0 openvpn opus orc os-prober p11-kit pacman pacman-contrib pacman-mirrorlist pahole pam pambase pango pangomm parole parted patch pavucontrol pciutils pcre pcre2 pcsclite pcurses perl perl-clone perl-encode-locale perl-error perl-file-listing perl-html-parser perl-html-tagset perl-http-cookies perl-http-daemon perl-http-date perl-http-message perl-http-negotiate perl-io-html perl-libwww perl-lwp-mediatypes perl-mailtools perl-net-http perl-timedate perl-try-tiny perl-uri perl-www-robotrules perl-xml-parser perl-xml-writer pinentry pipewire pipewire-media-session pixman pkcs11-helper pkgconf pkgfile polkit polkit-gnome polkit-qt5 poppler poppler-glib poppler-qt5 popt ppp pptpclient procps-ng psmisc pulseaudio pulseaudio-alsa pulseaudio-bluetooth pulseaudio-jack python python-appdirs python-argcomplete python-cairo python-colorama python-dnspython python-future python-gobject python-markdown python-more-itertools python-ordered-set python-packaging python-ply python-psutil python-pyparsing python-setuptools python-six python-termcolor qt5-base qt5-declarative qt5-graphicaleffects qt5-multimedia qt5-quickcontrols qt5-quickcontrols2 qt5-speech qt5-svg qt5-wayland qt5-x11extras r8168 rav1e readline refind reflector reiserfsprogs rest ristretto rp-pppoe rpcbind rtkit run-parts rxvt-unicode-terminfo s-nail sbc sdl2 sdparm sed sg3_utils shadow shared-mime-info slang smartmontools smbclient sof-firmware solid sonnet sound-theme-freedesktop speex speexdsp sqlite srt startup-notification stoken sudo svt-av1 sysfsutils systemd systemd-libs systemd-resolvconf systemd-sysvcompat taglib talloc tar tcl tcpdump tdb tevent texinfo thin-provisioning-tools thunar thunar-archive-plugin thunar-media-tags-plugin thunar-volman time tldr tlp tslib ttf-bitstream-vera ttf-dejavu ttf-liberation ttf-opensans tumbler twolame tzdata udisks2 unrar unzip upower usb_modeswitch usbmuxd usbutils util-linux util-linux-libs v4l-utils vi vid.stab vmaf volume_key vpnc vte-common vte3 vulkan-icd-loader wavpack wayland wayland-protocols webkit2gtk webrtc-audio-processing wget which whois wireless-regdb wireless_tools woff2 wpa_supplicant wpebackend-fdo wvdial wvstreams x264 x265 xapp xcb-proto xcb-util xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm xdg-dbus-proxy xdg-user-dirs xdg-user-dirs-gtk xdg-utils xed xf86-input-libinput xf86-video-amdgpu xf86-video-ati xf86-video-fbdev xf86-video-vesa xfce4-appfinder xfce4-battery-plugin xfce4-datetime-plugin xfce4-mount-plugin xfce4-netload-plugin xfce4-notifyd xfce4-panel xfce4-power-manager xfce4-pulseaudio-plugin xfce4-screensaver xfce4-screenshooter xfce4-session xfce4-settings xfce4-taskmanager xfce4-terminal xfce4-wavelan-plugin xfce4-weather-plugin xfce4-whiskermenu-plugin xfce4-xkb-plugin xfconf xfdesktop xfsprogs xfwm4 xfwm4-themes xkeyboard-config xl2tpd xorg-fonts-encodings xorg-iceauth xorg-server xorg-server-common xorg-setxkbmap xorg-xauth xorg-xinit xorg-xinput xorg-xkbcomp xorg-xkill xorg-xmodmap xorg-xprop xorg-xrandr xorg-xrdb xorg-xset xorgproto xplc xvidcore xz zeromq zimg zip zita-alsa-pcmi zita-resampler zlib zstd
:: 1 Packages to upgrade.
1 aur/jack 0.125.0-9 → 0.125.0-10
==> Packages to exclude: (eg: “1 2 3”, “1-3”, “^4” or repo name)
==> ^A^A

Try resorting your mirrorlist from the welcome application.

Then try updating with:

sudo pacman -Syyu
1 Like

Further along:

[username@Linux ~]$ sudo pacman -Syyu
[sudo] password for username:
:: Synchronizing package databases…
core 596.5 KiB 877 KiB/s 00:01 [--------------------------------] 100%
extra 596.5 KiB 1570 KiB/s 00:00 [--------------------------------] 100%
community 596.5 KiB 1420 KiB/s 00:00 [--------------------------------] 100%
multilib 596.5 KiB 1491 KiB/s 00:00 [--------------------------------] 100%
endeavouros 19.5 KiB 24.7 KiB/s 00:01 [--------------------------------] 100%
:: Starting full system upgrade…
error: could not open file /var/lib/pacman/sync/core.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/community.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/multilib.db: Unrecognized archive format
error: failed to prepare transaction (invalid or corrupted database)
[username@Linux ~]$

What is the output of file /var/lib/pacman/sync/core.db

Since you are downloading the same amount for all the dbs, what you are downloading is not the dbs. Can you open a web browser and browse? Are you on a wifi connection that requires validation/authentication?

Yes on the web, streaming radio with no drops. I did have to manually config the WiFi as it was not enabled out of the box after install.

~]$ file /var/lib/pacman/sync/core.db
/var/lib/pacman/sync/core.db: HTML document, ASCII text, with very long lines (65536), with no line terminators

It is an html document. That means when it tries to connect it is getting blocked by something and getting a webpage instead. Look inside the html document and see what it is asking for.

No idea what this is?

Can we see the contents of /etc/pacman.d/mirrorlist

mirror.txt (36.8 KB)

Yeah…remember when I said this:

Did you do that? If so, what did you do specifically?

resorted to “location” ran command as you said.

Still getting :: Starting full system upgrade…
error: could not open file /var/lib/pacman/sync/core.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/community.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/multilib.db: Unrecognized archive format
error: failed to prepare transaction (invalid or corrupted database)

Also, EOS DB is zipped?
image

Can we see the whole output from sudo pacman -Syyu and the new contents of your mirrorlist since you resorted?

Don’t post screen shots. If you want help…post terminal output.

The mirror output he wanted apparently had links, I got error I was maxed at 5 as a new user?

1 Like

The issue may be that the first mirror on your list is bad. However, that mirrorlist you posted is the default mirrorlist, not one that would come from sorting by country.

You can try deleting the first mirror but you would be better of re-sorting your list properly.

yes no problem… i see that the mirrorlist is not ranked at all it looks like the default mirrorlist with all mirrors in it… there are always some that do not work… and pacman has a BUG where it do download the errorpages as database files… so you need to have working mirrors in the list to get the packages database downloaded.

I selected Mexico only, same error
sudo pacman -Syyu
[sudo] password for username:
:: Synchronizing package databases…
core 596.5 KiB 973 KiB/s 00:01 [--------------------------------] 100%
extra 596.5 KiB 1719 KiB/s 00:00 [--------------------------------] 100%
community 596.5 KiB 1305 KiB/s 00:00 [--------------------------------] 100%
multilib 596.5 KiB 1444 KiB/s 00:00 [--------------------------------] 100%
endeavouros 19.5 KiB 23.7 KiB/s 00:01 [--------------------------------] 100%
:: Starting full system upgrade…
error: could not open file /var/lib/pacman/sync/core.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/community.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/multilib.db: Unrecognized archive format
error: failed to prepare transaction (invalid or corrupted database)

Can we see your new /etc/pacman.d/mirrorlist now?

You are still downloading the exact same size html list so I am thinking your mirrorlist isn’t getting updated.

so you have one mirror in the list… i think there are not that much mirrors in mexico… you need nearby countries too

## Mexico
Server = https://arch.mirror.jsc.mx/$repo/os/$arch

can you fetch the datadase file manually?

wget https://arch.mirror.jsc.mx/core/os/x86_64/core.db.tar.gz

to send mirrorlist to a pastebin and get the url to the pastebin:
cat /etc/pacman.d/mirrorlist | eos-sendlog

wget https://arch.mirror.jsc.mx/core/os/x86_64/core.db.tar.gz
–2021-08-15 19:11:33-- https://arch.mirror.jsc.mx/core/os/x86_64/core.db.tar.gz
Loaded CA certificate ‘/etc/ssl/certs/ca-certificates.crt’
Resolving arch.mirror.jsc.mx (arch.mirror.jsc.mx)… 2806:2f0:90c1:95de::2
Connecting to arch.mirror.jsc.mx (arch.mirror.jsc.mx)|2806:2f0:90c1:95de::2|:443… failed: Network is unreachable.