==> ERROR: module not found: ...' ==> ERROR: module not found: …’
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.15-x86_64-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.
erro: comando não executado corretamente
Update went fine.
Just one curious question: Is there some way to prevent pamac from trying to downgrade packages if the version number in the repository is lower than the version number of locally installed package?
Fortunately, sudo pacman -Syyu in the terminal only warns in this situation but does not actually downgrade the packages installed locally.
I got a GPGME error today, I searched for some solutions on the forum but none of them work.
Packages (3) archlinux-keyring-20211028-1 gnupg-2.2.32-2 manjaro-keyring-20210910-2
Total Download Size: 3.47 MiB
Total Installed Size: 11.49 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
gnupg-2.2.32-2-x86_64 2.4 MiB 21.6 MiB/s 00:00 [------------------------------------------] 100%
archlinux-keyring-20211028-1-any 979.1 KiB 9.56 MiB/s 00:00 [------------------------------------------] 100%
manjaro-keyring-20210910-2-any 141.6 KiB 2.20 MiB/s 00:00 [------------------------------------------] 100%
Total (3/3) 3.5 MiB 12.7 MiB/s 00:00 [------------------------------------------] 100%
(3/3) checking keys in keyring [------------------------------------------] 100%
(3/3) checking package integrity [------------------------------------------] 100%
(3/3) loading package files [------------------------------------------] 100%
(3/3) checking for file conflicts [------------------------------------------] 100%
(3/3) 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/3) reinstalling gnupg [------------------------------------------] 100%
(2/3) reinstalling archlinux-keyring [------------------------------------------] 100%
==> Appending keys from archlinux.gpg...
gpg: public key DB323392796CA067 is 3037 days newer than the signature
==> Updating trust database...
gpg: next trustdb check due at 2022-01-20
==> Updating trust database...
gpg: next trustdb check due at 2022-01-20
(3/3) reinstalling manjaro-keyring [------------------------------------------] 100%
==> Appending keys from manjaro.gpg...
gpg: public key DB323392796CA067 is 3037 days newer than the signature
gpg: error reading key: No public key
gpg: error reading key: No public key
==> Disabling revoked keys in keyring...
-> Disabled 2 keys.
==> Updating trust database...
gpg: next trustdb check due at 2022-01-20
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Refreshing PackageKit...
(3/3) Updating the info directory file...
(base) [firestar@ThinkPad ~]$ sudo pacman -Syu
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
:: Synchronizing package databases...
core 169.1 KiB 502 KiB/s 00:00 [------------------------------------------] 100%
extra 1957.2 KiB 11.9 MiB/s 00:00 [------------------------------------------] 100%
community 6.8 MiB 36.9 MiB/s 00:00 [------------------------------------------] 100%
multilib 176.1 KiB 3.02 MiB/s 00:00 [------------------------------------------] 100%
archlinuxcn is up to date
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
error: failed to synchronize all databases (unexpected error)
Is there a particular reason why you are using the AUR versions of those packages? If there is, I’d suggest using an AUR helper, such as yay, to perform the update. pamac sometimes has issues with AUR packages.
After this update booting from btrfs snapshots causes “Failed to load kernel modules” even though booting the current subvolume works just fine. Also it doesn’t mount ext4 partitions. Not sure whether the former error is causing the latter or vice-versa. /etc/mkinitcpio.conf
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run. Advanced users may wish to specify all system modules
# in this array. For instance:
# MODULES=(piix ide_disk reiserfs)
#MODULES=(crc32c vmxnet3 nvidia nvidia_modeset nvidia_uvm nvidia_drm drm vfat usbhid xhci_hcd ext2? reiserfs)
#MODULES=(crc32c vmxnet3 vfat usbhid xhci_hcd nvidia nvidia_modeset nvidia_uvm nvidia_drm drm)
MODULES=(crc32c vmxnet3 vfat usbhid xhci_hcd)
# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image. This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=()
# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way. This is useful for config files.
FILES="/etc/modprobe.d/nvidia-suspend.conf"
# HOOKS
# This is the most important setting in this file. The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
## This setup specifies all modules in the MODULES setting above.
## No raid, lvm2, or encrypted root is needed.
# HOOKS=(base)
#
## This setup will autodetect all modules for your system and should
## work as a sane default
# HOOKS=(base udev autodetect block filesystems)
#
## This setup will generate a 'full' image which supports most systems.
## No autodetection is done.
# HOOKS=(base udev block filesystems)
#
## This setup assembles a pata mdadm array with an encrypted root FS.
## Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
# HOOKS=(base udev block mdadm encrypt filesystems)
#
## This setup loads an lvm2 volume group on a usb device.
# HOOKS=(base udev block lvm2 filesystems)
#
## NOTE: If you have /usr on a separate partition, you MUST include the
# usr, fsck and shutdown hooks.
HOOKS=(base systemd btrfs autodetect modconf block keyboard keymap fsck filesystems grub-btrfs-overlayfs)
#HOOKS=(base udev resume btrfs autodetect modconf block keyboard keymap fsck filesystems grub-btrfs-overlayfs)
# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"
COMPRESSION="zstd"
# COMPRESSION_OPTIONS
# Additional options for the compressor
COMPRESSION_OPTIONS=(-19 -T16)
#COMPRESSION_OPTIONS=(--ultra -16 -M12800)