Doesn't updates my system

Hello pal,

I am on eOS, trying to update my system thus I firstly updated my mirrors then tried sudo pacman -Syu.

When I updated mirrors it throws a error(warning to be specific):
Update level is 2126/2129, some [endeavouros] packages may be outdated if this mirror is in use.

Afterwards I updated my system using a command stated above:

➜  ~ sudo pacman -Syu
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra is up to date
 multilib is up to date
:: Starting full system upgrade...
 there is nothing to do

I have got no clue how to fix this, any help would be much appreciated! Cheers!

Your system seems OK.

The warning is specific to the mirror, and outdated mirrors will be in the end of the list, thus not really used.

You can check the list or show it here with command

cat /etc/pacman.d/endeavouros-mirrorlist | eos-sendlog

and post the output.

1 Like

here you go

You can also force pacman to manually refresh the mirror list with the following:

sudo pacman -Syyu

It’s good to do this if/when you edit your mirror list file.

2 Likes

The endeavouros-mirrorlist looks OK.
That one mirror warning about not being up to date is listed as the last, so no problem. Other mirrors will be used instead.

1 Like

Pacman updates package databases with that command. Mirror lists will be updated with other commands, e.g. eos-rankmirrors.

Indeed, you are correct. But the yy part of the command forces (see 2.1) the manual refresh prior to completing the update.

It throws me bunch of warnings

warning: util-linux: local (2.39.3-2) is newer than core (2.39.2-1)
warning: util-linux-libs: local (2.39.3-2) is newer than core (2.39.2-1)
warning: v4l-utils: local (1.26.1-1) is newer than extra (1.24.1-2)
warning: vapoursynth: local (R65-1) is newer than extra (R64-1)
warning: vlc: local (3.0.20-7) is newer than extra (3.0.19-1)
warning: vmaf: local (3.0.0-1) is newer than extra (2.3.1-1)
warning: vulkan-headers: local (1:1.3.279-1) is newer than extra (1:1.3.264-2)
warning: vulkan-icd-loader: local (1.3.279-1) is newer than extra (1.3.263-1)
warning: vulkan-tools: local (1.3.269-1) is newer than extra (1.3.263-1)
warning: webkit2gtk-4.1: local (2.42.5-2) is newer than extra (2.42.1-2)
warning: wget: local (1.24.5-1) is newer than extra (1.21.4-1)
warning: whois: local (5.5.21-1) is newer than extra (5.5.19-1)
warning: wireless-regdb: local (2024.01.23-1) is newer than core (2023.09.01-1)
warning: wireplumber: local (0.4.17-1) is newer than extra (0.4.15-1)
warning: xcb-util-cursor: local (0.1.5-1) is newer than extra (0.1.4-1)
warning: xdg-desktop-portal: local (1.18.2-1) is newer than extra (1.18.0-2)
warning: xdg-desktop-portal-kde: local (6.0.2-3) is newer than extra (5.27.8-4)
warning: xdg-utils: local (1.2.1-1) is newer than extra (1.1.3+45+g301a1a4-1)
warning: xfsprogs: local (6.6.0-1) is newer than core (6.4.0-1)
warning: xkeyboard-config: local (2.41-1) is newer than extra (2.40-1)
warning: xmlsec: local (1.3.3-2) is newer than extra (1.2.37-1)
warning: xorg-fonts-encodings: local (1.1.0-1) is newer than extra (1.0.7-1)
warning: xorg-server: local (21.1.11-1) is newer than extra (21.1.8-2)
warning: xorg-server-common: local (21.1.11-1) is newer than extra (21.1.8-2)
warning: xorg-xauth: local (1.1.3-1) is newer than extra (1.1.2-1)
warning: xorg-xkbcomp: local (1.4.7-1) is newer than extra (1.4.6-1)
warning: xorg-xmessage: local (1.0.7-1) is newer than extra (1.0.6-1)
warning: xorg-xprop: local (1.2.7-1) is newer than extra (1.2.6-1)
warning: xorg-xwayland: local (23.2.4-2) is newer than extra (23.2.1-1)
warning: xz: local (5.6.1-1) is newer than core (5.4.4-1)
warning: zathura: local (0.5.5-1) is newer than extra (0.5.2-2)
warning: zathura-pdf-poppler: local (0.3.2-3) is newer than extra (0.3.1-2)
warning: zeromq: local (4.3.5-2) is newer than extra (4.3.5-1)
warning: zlib: local (1:1.3.1-1) is newer than core (1:1.3-1)
warning: zxing-cpp: local (2.2.1-1) is newer than extra (2.1.0-1)

There are more warnings

It seems you got a mirror that is outdated. So you already installed packages from a mirror with newer version available. Try eos-rankmirrors from inside the terminal and update again.

Those warnings are from the Arch repos, not EndeavourOS.

There might be a couple of reasons:

  1. /etc/pacman.d/mirrorlist is not OK.
    Remedy: re-rank Arch mirrors with one of: rate-mirrors, reflector-simple, reflector

  2. /etc/pacman.conf had testing repos activated before
    Remedy: run: sudo pacman -Syuu

I guess case 1. is more probable.

1 Like

Not the mirrorlist. It forces the download of the sync data bases even if they seem to be up do date.

-y, --refresh

Download a fresh copy of the master package databases (repo.db) from the server(s) defined in pacman.conf(5). This should typically be used each time you use --sysupgrade or -u.

Passing two --refresh or -y flags will force a refresh of all package databases, even if they appear to be up-to-date.

For refreshing the mirrorlist (/etc/pacman.d/mirrorlist for example) you would need other tools like reflector etc.

3 Likes

Thanks for the clarification. Apparently I was wrong. Oh well, I’m sure it’ll happen again. Learn something new, thanks. :+1:

I’ll have to take a look at reflector for my own use then.

1 Like