Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] glib update fails (Read 609 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] glib update fails

Tried an update today and get an error as follows
Quote
$ sudo pacman -Syu
:: Synchronising package databases...
 system is up to date
 world is up to date
 galaxy is up to date
 armtix is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (20) artix-keyring-20211026-1  ca-certificates-mozilla-3.72-1  device-mapper-2.03.14-1  esysusers-249.5-2  etmpfiles-249.5-2  eudev-249.5-2
              ffmpeg-2:4.4-6  gc-8.2.0-1  glib2-2.70.1-1  gtk-update-icon-cache-1:4.4.1-1  harfbuzz-3.1.0-1  harfbuzz-icu-3.1.0-1  iproute2-5.15.0-1
              libeudev-249.5-2  linux-raspberrypi4-5.10.76-3  linux-raspberrypi4-headers-5.10.76-3  nss-3.72-1  poppler-21.11.0-1
              poppler-glib-21.11.0-1  python-gobject-3.42.0-1
........ looking at
error: failed retrieving file 'glib2-2.70.1-1-aarch64.pkg.tar.xz' from repo.armtixlinux.org : The requested URL returned error: 404
warning: failed to retrieve some files
looking at the repo I see https://repo.armtixlinux.org/system/os/aarch64/glib2-2.70.0-2.1-aarch64.pkg.tar.xz so I suppose the repo db index is ahead of the actual content.

Edit: the update is now working as expected.

Re: glib update fails

Reply #1
Passing two -y or --refresh flags to the -S command will force a refresh of all local package databases by downloading a fresh copy of the master package database from the server(s), even if local databases appear to be up-to-date:

Code: [Select]
sudo pacman -Syyu


Re: glib update fails

Reply #3
I had already done the pacman -Sy and pacman -Syy commands; the armtix update is now working.