Do I have a mirror issue?

I haven’t had any updates for a few days.
Is there anything I need to check on my system:

[demo@manjaro ~]$ inxi -r
Repos:
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https://mirror.clarkson.edu/manjaro/unstable/$repo/$arch
    2: https://mirrors.ocf.berkeley.edu/manjaro/unstable/$repo/$arch
    3: https://repo.ialab.dsu.edu/manjaro/unstable/$repo/$arch
    4: https://mirror.math.princeton.edu/pub/manjaro/unstable/$repo/$arch
    5: https://mirrors.sonic.net/manjaro/unstable/$repo/$arch
    6: https://mirrors.gigenet.com/manjaro/unstable/$repo/$arch

pacman-mirrors --status
1 Like
[demo@manjaro ~]$ pacman-mirrors --status
Local mirror status for unstable branch
Mirror #1   --  02:18   United_States  https://mirrors.gigenet.com/manjaro/
Mirror #2   OK  00:18   United_States  https://mirror.math.princeton.edu/pub/manjaro/
Mirror #3   --  01:18   United_States  https://mirrors.ocf.berkeley.edu/manjaro/
Mirror #4   --  03:13   United_States  https://mirrors.sonic.net/manjaro/
Mirror #5   OK  00:18   United_States  https://repo.ialab.dsu.edu/manjaro/
[
1 Like

Looks like maybe i had a keyring issue:

[demo@manjaro ~]$ sudo pacman -Su
:: Some packages should be upgraded first...
resolving dependencies...
looking for conflicting packages...

Packages (1) archlinux-keyring-20220224-1

Total Download Size:   1.02 MiB
Total Installed Size:  1.44 MiB
Net Upgrade Size:      0.01 MiB

:: Proceed with installation? [Y/n] 

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 archlinux-keyring-20220224-1-any                                          1040.1 KiB  1643 KiB/s 00:01 [##############################################################] 100%
(1/1) checking keys in keyring                                                                          [##############################################################] 100%
(1/1) checking package integrity                                                                        [##############################################################] 100%
(1/1) loading package files                                                                             [##############################################################] 100%
(1/1) checking for file conflicts                                                                       [##############################################################] 100%
(1/1) checking available disk space                                                                     [##############################################################] 100%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
:: Processing package changes...
(1/1) upgrading archlinux-keyring                                                                       [##############################################################] 100%
==> Appending keys from archlinux.gpg...
==> Locally signing trusted keys in keyring...
  -> Locally signed 1 keys.
==> Importing owner trust values...
gpg: inserting ownertrust of 4
==> Updating trust database...
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 1EB2638FF56C0C53: no user ID for key signature packet of class 10
gpg: key 1EB2638FF56C0C53: no user ID for key signature packet of class 10
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   1  signed:  28  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1  valid:  28  signed:  95  trust: 0-, 0q, 0n, 28m, 0f, 0u
gpg: depth: 2  valid:  88  signed:  32  trust: 88-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2022-04-20
==> Updating trust database...
gpg: next trustdb check due at 2022-04-20
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Refreshing PackageKit...

:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (122) accountsservice-22.07.5-1  appstream-0.15.2-1  appstream-qt-0.15.2-1  bluedevil-1:5.24.2-1  breeze-5.24.2-1  breeze-gtk-5.24.2-1  bubblewrap-0.6.1-1
               clang-13.0.1-2  desktop-file-utils-0.26-2  discover-5.24.2.1-1  ell-0.49-1  etcher-1.7.7-1  expat-2.4.6-1  flac-1.3.4-2  flatpak-1.12.6-1  geoclue-2.6.0-1
               grub-btrfs-4.11-2  gvfs-1.48.1-3  gvfs-afc-1.48.1-3  gvfs-gphoto2-1.48.1-3  gvfs-mtp-1.48.1-3  gvfs-nfs-1.48.1-3  gvfs-smb-1.48.1-3  imagemagick-7.1.0.26-1
               inxi-3.3.13.1-1  jre-openjdk-headless-17.0.3.u3-1  kactivitymanagerd-5.24.2-1  kde-cli-tools-5.24.2-1  kde-gtk-config-5.24.2-1  kdecoration-5.24.2-1
               kdeplasma-addons-5.24.2-1  kgamma5-5.24.2-1  khotkeys-5.24.2-1  kinfocenter-5.24.2-1  kmenuedit-5.24.2-1  kscreen-5.24.2-1  kscreenlocker-5.24.2-1
               ksshaskpass-5.24.2-1  ksystemstats-5.24.2-1  kwallet-pam-5.24.2-1  kwayland-integration-5.24.2-1  kwayland-server-5.24.2-1  kwin-5.24.2-1  kwrited-5.24.2-1
               layer-shell-qt-5.24.2-1  lib32-expat-2.4.6-1  lib32-flac-1.3.4-2  lib32-libdrm-2.4.110-1  lib32-libva-mesa-driver-21.3.7-1  lib32-mesa-21.3.7-1
               lib32-mesa-vdpau-21.3.7-1  lib32-vulkan-intel-21.3.7-1  lib32-vulkan-radeon-21.3.7-1  libgit2-1:1.4.1-1  libinput-1.20.0-1  libkscreen-5.24.2-1
               libksysguard-5.24.2-1  libmfx-21.3.5-3  libnfs-5.0.1-1  libnghttp2-1.47.0-1  libnm-1.36.0-1  libpamac-11.2.0-12  libpamac-flatpak-plugin-11.2.0-12
               libpamac-snap-plugin-11.2.0-12  libpulse-15.0-4  libqrtr-glib-1.2.2-1  libsecret-0.20.5-1  libva-mesa-driver-21.3.7-1  libxcrypt-4.4.28-2  libxml2-2.9.13-1
               linux516-5.16.11-2  linux516-nvidia-510.54-5  linux516-virtualbox-host-modules-6.1.32-13  mesa-21.3.7-1  mesa-vdpau-21.3.7-1  milou-5.24.2-1
               networkmanager-1.36.0-1  nodejs-17.6.0-1  openconnect-1:8.20-1  openssh-8.9p1-1  oxygen-5.24.2-1  perl-http-daemon-6.13-1
               plasma-browser-integration-5.24.2-1  plasma-desktop-5.24.2-1  plasma-integration-5.24.2-1  plasma-nm-5.24.2-1  plasma-pa-5.24.2-1
               plasma-systemmonitor-5.24.2-1  plasma-workspace-5.24.2-1  plasma-workspace-wallpapers-5.24.2-1  polkit-kde-agent-5.24.2-1  powerdevil-5.24.2-1
               pulseaudio-15.0-4  pulseaudio-bluetooth-15.0-4  pulseaudio-jack-15.0-4  pulseaudio-lirc-15.0-4  pulseaudio-rtp-15.0-4  pulseaudio-zeroconf-15.0-4
               python-distro-1.7.0-1  python-pip-21.0-1  python-pyparsing-3.0.0-1  python-soupsieve-2.3.1-1  python-yaml-6.0-1  qpdf-10.6.2-3  qt5-base-5.15.2+kde+r302-1
               qt5-wayland-5.15.2+kde+r54-1  qt5-webengine-5.15.8-9  sddm-kcm-5.24.2-1  socat-1.7.4.3-1  sqlite-3.38.0-1  system-config-printer-1.5.16-1
               systemsettings-5.24.2-1  unrar-1:6.1.5-1  upower-0.99.16-2  vpnc-1:0.5.3.r501.r196-1  vulkan-headers-1:1.3.206-1  vulkan-intel-21.3.7-1
               vulkan-radeon-21.3.7-1  wpa_supplicant-2:2.10-3  xdg-desktop-portal-kde-5.24.2-1  xf86-video-amdgpu-22.0.0-1  zensu-0.3-6

Total Download Size:    544.23 MiB
Total Installed Size:  1474.64 MiB
Net Upgrade Size:       -11.17 MiB

:: Proceed with installation? [Y/n] 

No, that would not have prevented your system from “seeing” the updates.

1 Like

Never update (-u) without syncing (-y); Never sync without updating.

Always use:

sudo pacman -Syu
1 Like

ah I think I was doing -Syy not -Syu
and then -Su

When your first mirror is not labelled OK - you will have to change the order of the mirrors.

Run

sudo pacman-mirrors -f && sudo pacman -Syyu
1 Like

Assuming no other problem, try either:

Option Command Documentation
1 checkupdates man checkupdates
2 pamac checkupdates man pamac
3 pamac GUI wiki
[demo@manjaro ~]$ sudo pacman-mirrors -f && sudo pacman-mirrors -Syyu
[sudo] password for demo: 
::INFO Downloading mirrors from Manjaro
::INFO => Mirror pool: https://repo.manjaro.org/mirrors.json
::INFO => Mirror status: https://repo.manjaro.org/status.json
::INFO Using custom mirror file
::INFO Querying mirrors - This may take some time
  0.615 United_States  : https://repo.ialab.dsu.edu/manjaro/
  0.951 United_States  : https://mirrors.ocf.berkeley.edu/manjaro/
  1.150 United_States  : https://mirror.math.princeton.edu/pub/manjaro/
::INFO Writing mirror list
::United_States   : https://repo.ialab.dsu.edu/manjaro/unstable/$repo/$arch
::United_States   : https://mirrors.ocf.berkeley.edu/manjaro/unstable/$repo/$arch
::United_States   : https://mirror.math.princeton.edu/pub/manjaro/unstable/$repo/$arch
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
Version 4.23.2
USAGE:
 pacman-mirrors [-h] [-f [NUMBER]] [-i [-d]] [-m METHOD] [--status]
                [-c COUNTRY [COUNTRY...] | [--geoip] | [--continent]]
                [-l] [-lc] [-q] [-t SECONDS] [-v] [-n]
                [--api] [-S/-B BRANCH] [-p PREFIX]
                        [-P PROTO [PROTO...]] [-R] [-U URL]
pacman-mirrors: error: argument -S/-B/--set-branch: invalid choice: 'yyu' (choose from 'stable', 'testing', 'unstable')

OOOpppsss…

The second command should be pacman not pacman-mirrors, thus the errors. The second command doesn’t recognize those options (-Syyu).

Side note: The 2 commands do not need to be chained together with && ( and). It just means if the exit status from the first is 0, the next command will execute.

pacman-mirrors is going to update files (i.e., /etc/pacman.d/mirrorlist) on your system with similar content that is shown at https://repo.manjaro.org/. pacman will use those locations to download packages to /var/cache/pacman/pkg and then verify, extract, install the software.

wiki documenation

But you can also view the manual pages, man pacman or man pacman-mirrors to verify the options before executing. Using pamac GUI might be more convenient if you don’t understand the command line yet.

Going back to the OP, I believe Manjaro is suppose to have an automatic update notifier. I have my own setup, so I have no experience using it. But perhaps someone could chime in (or search the forum) — then you don’t need to do anything in-between updates :wink: When you are notified, just read the Announcement for any issues that might impact your particular installation on your particular hardware, and then install.

ouch - that happened twice today - the typos

thanks for all the info. I have allot of reading to do.
System seems to be updating fine now.
Not sure if it was updating mirrors or something else but thanks.
I will mark this as solved.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.