You are not logged in.

#1 2021-06-12 16:58:15

Ferdinand
Member
From: Norway
Registered: 2020-01-02
Posts: 338

[SOLVED] An updated mirror serves me an old package?

First in my mirrorlist is:

Server = https://archlinux.thaller.ws/$repo/os/$arch

From the Mirror Status page, I see that the mirror is 100% updated.
Still, I get an old package:

$ pacman -Ss virtualbox-host-modules-arch
community/virtualbox-host-modules-arch 6.1.22-15 [installed]
    Virtualbox host kernel modules for Arch Kernel

But the new package, for kernel 5.12.10-arch1-1 is virtualbox-host-modules-arch 6.1.22-16

$ uname -r
5.12.10-arch1-1
$ sudo pacman -Syu
:: Synchronising package databases...
 core is up to date
 extra is up to date
 community is up to date
:: Starting full system upgrade...
 there is nothing to do

I'm a bit at a loss... I guess something is wrong on the packaging side - or is there anything I could do or should be aware of?

Last edited by Ferdinand (2021-06-13 07:30:24)

Offline

#2 2021-06-12 16:59:02

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: [SOLVED] An updated mirror serves me an old package?

Because it's not an updated mirror. 100% refers to the checks completing, nothing more.

Last edited by Scimmia (2021-06-12 16:59:45)

Offline

#3 2021-06-12 17:06:49

Ferdinand
Member
From: Norway
Registered: 2020-01-02
Posts: 338

Re: [SOLVED] An updated mirror serves me an old package?

Thanks, Scimmia - that explains it smile

Just out of interest - and because it's confusing that 100.0% completion doesn't mean that the mirror is updated - do you know what the tests checks are all about?

Last edited by Ferdinand (2021-06-12 17:08:35)

Offline

#4 2021-06-12 17:11:55

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: [SOLVED] An updated mirror serves me an old package?

The page you linked to explains what the completion percentage means at the top of the page.

The checks check for the other information, delay, etc, which in this case are wrong because the mirror is not syncing correctly.

Offline

#5 2021-06-13 07:13:39

Ferdinand
Member
From: Norway
Registered: 2020-01-02
Posts: 338

Re: [SOLVED] An updated mirror serves me an old package?

Just an update, in case it can be of use to anybody else smile

The most recent version of virtualbox-host-modules-arch is virtualbox-host-modules-arch 6.1.22-16.
I'm using reflector, and none of the mirrors in my mirrorlist have anything but virtualbox-host-modules-arch 6.1.22-15.

Reflector has been a great help; keeping my mirrorlist updated - but it runs once a week, and virtualbox-host-modules-arch was updated after reflector last updated.

With my week-old mirrorlist, running pacman -Syu gives me this:

:: Synchronising package databases...
 core                  134,4 KiB   234 KiB/s 00:01 [----------------------] 100%
 extra                1566,8 KiB   853 KiB/s 00:02 [----------------------] 100%
 community               5,6 MiB  1615 KiB/s 00:04 [----------------------] 100%
:: Starting full system upgrade...
 there is nothing to do

However, first updating the mirrorlist by running reflector @/etc/xdg/reflector/reflector.conf, and then trying pacman -Syu again, gives me this:

:: Synchronising package databases...
 core is up to date
 extra is up to date
 community                                                                              5,6 MiB  1690 KiB/s 00:03 [--------------------------------------------------------------------] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (56) 0ad-a24.b-5  calibre-5.21.0-1  freecad-0.19.2-2  ghc-libs-8.10.5-1  haskell-aeson-1.5.6.0-32  haskell-assoc-1.0.2-85  haskell-attoparsec-0.14.1-16
              haskell-base-compat-0.11.2-5  haskell-base-compat-batteries-0.11.2-124  haskell-base-orphans-0.8.4-111  haskell-bifunctors-5.5.11-10  haskell-comonad-5.0.8-89
              haskell-data-fix-0.3.1-32  haskell-diff-0.4.0-10  haskell-distributive-0.6.2.1-93  haskell-dlist-1.0-89  haskell-erf-2.0.0.0-22  haskell-hashable-1.3.2.0-11
              haskell-indexed-traversable-0.1.1-4  haskell-integer-logarithms-1.0.3.1-4  haskell-primitive-0.7.1.0-139  haskell-quickcheck-2.14.2-175  haskell-random-1.2.0-233
              haskell-regex-base-0.94.0.1-2  haskell-regex-tdfa-1.3.1.1-3  haskell-scientific-0.3.7.0-6  haskell-splitmix-0.1.0.3-119  haskell-strict-0.4.0.1-59  haskell-tagged-0.8.6.1-3
              haskell-th-abstraction-0.4.2.0-3  haskell-these-1.1.1.1-86  haskell-time-compat-1.9.6-6  haskell-transformers-compat-0.6.6-4  haskell-unordered-containers-0.2.14.0-6
              haskell-uuid-types-1.0.5-10  haskell-vector-0.12.3.0-23  hugin-2020.0.0-4  linssid-3.6-9  mujs-1.1.3-1  node-gyp-8.1.0-2  nodejs-nopt-5.0.0-2  npm-7.17.0-1  ocrfeeder-0.8.3-5
              openscenegraph-3.6.5-6  python-pikepdf-2.12.2-1  python-websockets-9.1-1  remmina-1:1.4.18-1  rubberband-1.9.2-1  shellcheck-0.7.2-34  trash-cli-0.21.5.25-1  vigra-1.11.1-33
              virtualbox-host-modules-arch-6.1.22-16  vtk-8.2.0-19  wesnoth-1:1.14.16-3  wireshark-cli-3.4.6-1  wireshark-qt-3.4.6-1

Total Download Size:    828,57 MiB
Total Installed Size:  1726,95 MiB
Net Upgrade Size:        -0,12 MiB

Now, that's an eye-opener!

I read the completion percentage description on the mirror status page to say that the package lists on the mirror are up to date:
The mirror status page states that:

The check script runs on a regular basis and polls for the lastsync file in the root of our repository layout.

And the lastsync file is mentioned in the warning about forcing pacman to refresh the package lists, in the Mirrors wiki page:

(pacman -Syyuu) is not necessary when using successfully syncing mirrors or checking timestamp of mirror's lastsync file to ensure package lists are up to date.

Therefore, checking that the mirrors I already had was 100% completed, made me think they had up to date package lists - but not so, as @Scimmia quite correctly pointed out.

I still don't quite get how the mirror checking works, but I'm quite sure my new update procedure will be to first do the manual mirrorlist update, and then update:

  1. reflector @/etc/xdg/reflector/reflector.conf systemctl start reflector.service

  2. pacman -Syu

smile

Last edited by Ferdinand (2021-06-13 07:39:54)

Offline

#6 2021-06-15 03:56:30

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [SOLVED] An updated mirror serves me an old package?


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB