[Testing Update] 2022-12-01 - Mkinitcpio, Systemd, NVIDIA, Qt, Gtk, SDL, LibreOffice, Cinnamon, Plasma

I’m getting the following error:

Package (1)             Old Version  New Version  Net Change

core/archlinux-keyring  20221110-1   20221123-1     0,00 MiB

Total Installed Size:  1,58 MiB
Net Upgrade Size:      0,00 MiB

:: Proceed with installation? [Y/n] 
(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%
:: Processing package changes...
(1/1) upgrading archlinux-keyring                                                                                                              [----------------------------------------------------------------------------------------] 100%
==> Appending keys from archlinux.gpg...
==> Disabling revoked keys in keyring...
  -> Disabled 1 keys.
==> 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: [don't know]: invalid packet (ctb=00)
gpg: keyring_get_keyblock: read error: Invalid packet
gpg: keydb_get_keyblock failed: Invalid keyring
gpg: validate_key_list failed
==> ERROR: Trust database could not be updated.
==> Updating trust database...
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keyring_get_keyblock: read error: Invalid packet
gpg: keyring_get_keyblock failed: Invalid keyring
gpg: failed to rebuild keyring cache: Invalid keyring
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: [don't know]: invalid packet (ctb=00)
gpg: keyring_get_keyblock: read error: Invalid packet
gpg: keydb_get_keyblock failed: Invalid keyring
gpg: validate_key_list failed
==> ERROR: Trust database could not be updated.
error: command failed to execute correctly
:: Running post-transaction hooks...
(1/2) Reloading system manager configuration...
(2/2) Arming ConditionNeedsUpdate...

same error

I dont get an error but Update via GUI didnt work, even with manual DB refresh.
Terminal did the trick after excepting the new arch keyring.

On second pass, it continues with update… seems that error with updating key ring
doesn’t repeat, actually it goes anyway… will see if rest of update finishes…

rebooted, seems fine.

1 Like

Unclear from the notes, has the issue with systemd been resolved:

You’re linking to a duplicate issue. See systemd:amd64 (252-2 -> 252.1-1) brakes suspend/resume · Issue #25356 · systemd/systemd · GitHub. It’s a known regression added to the v253 milestone.

EDIT: Just FYI, you can review the changes between point releases; i.e., from 251.8 > 252.2.

No such issue on my second machine.
This should be resolved though!
I’d highly discourage from “just going on and ignoring it”
Any input from @Yochanan maybe?

My grub menu doesn’t show up anymore after the update (kernel 6.0.10). In /etc/default/grub there is no longer the GRUB_HIDDEN_TIMEOUT=0. Has something changed recently with grub?

I’m guessing it’s something to do with the pacnew listed in the OP. Did you run the merge script from post 2?

I suggest sharing latest version instead of my old script. This one has a couple changes so it doesn’t consider .pacsave files.

#!/bin/bash
pacnews=($(/usr/bin/pacdiff --output|grep -v pacsave))
nb="${#pacnews[@]}"
if [[ $nb -gt 0 ]]; then
    echo; echo; echo -e "$nb .pacnew found in system"
    printf "%s\n" "${pacnews[@]}"
    echo; read -p "See the PacDiff? " -n 1 -r
    if [[ $REPLY =~ ^[YyOo]$ ]]; then
        echo; set -euo pipefail
        export PATH=/usr/bin:/usr/sbin
        for i in $(/usr/bin/pacdiff --output|grep -v pacsave); do
            echo; echo "Processing $i ..."
            /usr/bin/meld "admin://$i" "admin://${i/.pacnew/}"
            echo; read -p "Delete the file $i? " -n 1 -r
            if [[ $REPLY =~ ^[YyOo]$ ]]; then
                echo; sudo rm -v "$i"
            fi
        done
    fi
fi

If you wonder about the triple echo; or indentation (I cleaned it up here), it is because this is part of a bigger script I made and use, and it makes overall output more readable this way. Also you can answer in english and french for Yes/Oui or No/Non.

//EDIT: originally inspired by Warning when updating mkinitcpio 29-1 - #6 by jonathon - Newbie - EndeavourOS I didn’t know the existence of this admin:// protocol before :slight_smile:

6 Likes

Trying to resinstall gives me:

$ yay -S archlinux-keyring 
warning: archlinux-keyring-20221123-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Package (1)             Old Version  New Version  Net Change

core/archlinux-keyring  20221123-1   20221123-1     0,00 MiB

Total Installed Size:  1,58 MiB
Net Upgrade Size:      0,00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                                                 [----------------------------------------------------------------------------------------] 100%
(1/1) checking package integrity                                                                                                               [----------------------------------------------------------------------------------------] 100%
error: archlinux-keyring: signature from "Christian Hesse (Arch Linux Package Signing) <arch@eworm.de>" is unknown trust
:: File /var/cache/pacman/pkg/archlinux-keyring-20221123-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.
 -> error installing repo packages

Solved it via https://forum.archlinux.de/d/34531-update-mit-fehlermeldung:

sudo rm -r /etc/pacman.d/gnupg
sudo pacman-key --init
sudo pacman-key --populate archlinux
sudo pacman-key --refresh-keys
sudo pacman -Sy gnupg archlinux-keyring
1 Like

I checked the difference on my system which is relatively freshly installed (last month actually), never touched this file so far (not sure if I have ever touch this file on any install I have ever done so far actually).

The only differences between the two is that they put parameters between parentheses instead of quotation marks, and a bunch of comments rewritten too. For example:

Before:
MODULES=""
HOOKS="base udev autodetect modconf block keyboard keymap consolefont filesystems fsck"

After:
MODULES=()
HOOKS=(base udev autodetect modconf kms keyboard keymap consolefont block filesystems fsck)

It doesn’t seem to have any impact on the system so far, still booting just fine (I even did a sudo mkinicpio -P without changing my mkinicpio.conf to see if it would kill my system; fortunately it didn’t) even if you do not change how it is now written.

Still good to be warned though. Who knows, it may be relevant for people who actually tweak this file on their system.

1 Like

The transition from a string to an array happend quite a while ago IIRC :thinking:

There is anther difference:

No need to manually add gpu driver modules manually to get early kms.

Indeed, there were some people asking questions about .pacnew files for mkinitcpio.conf before on the forum. I suppose Manjaro is using a custom conf file by default and the devs never bothered to change " " for ( ). lol

I haven’t even noticed. Oh well, it works fine without it for me, so I’ll leave it as it is.

1 Like

From memory it has been at least a year for this change about quote/parenthesis. How fresh was the install/ISO?

External display for my laptop (NVIDIA hybrid graphics) became unusable after update, with some applications running at high framerates but most running at less than 1 FPS. Reverting to stable branch temporarily resolves issue. Possibly related to NVIDIA 525?

EDIT: This seems to be the issue described here 525.60.11 external display render problems · Issue #419 · NVIDIA/open-gpu-kernel-modules · GitHub

EDIT 2: More confirmation of the issue here 525.60.11 breaks composited desktop on X11 if laptop lid is closed - Linux - NVIDIA Developer Forums

Well, as I said, my system was installed back in november. The ISO image that I used is manjaro-kde-21.3.7-220816-linux515, which was the most recent one back then.

There is something weird maybe indeed. On the live session the config file has parenthesis, on the installed system it has quotes. I just tried in a VM I had the ISO on my machine.

Getting the same issue here on external displays on my dock via thunderbolt