Error: failed to synchronize all databases (invalid or corrupted database (PGP signature)) after SCP failure

know that there are a lot of similar things on this forum, but none of the ones I tried worked for me.
I recently:

  • shut down my computer by using the shutdown now command in the terminal

  • while a scp command was backing up my home directory to a NAS

    scp -r /home/user username@IP:/home/user
    

I don’t know if that could be it. But I have spent the past 2 days trying to fix it.
I have so far refreshed keys:

sudo pacman-key --refresh-keys

And I have edited the pacman.conf file so that database is optional, and Sig level is optional.

System info:

System:
  Kernel: 5.10.68-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64 
  root=UUID=adcb4911-d436-4deb-8a0f-0f103bb885bd rw quiet apparmor=1 
  security=apparmor resume=UUID=f72528bc-823d-4c0a-9131-5020ef63a010 
  udev.log_priority=3 
  Desktop: KDE Plasma 5.22.5 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1 
  dm: SDDM Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Desktop System: HP product: Sona v: 1.0 serial: <filter> Chassis: 
  type: 3 serial: <filter> 
  Mobo: HP model: Sona v: 1.0 serial: <filter> UEFI: coreboot 
  v: MrChromebox-4.14 date: 07/25/2021 
Battery:
  ID-1: BAT0 charge: 29.9 Wh (56.8%) condition: 52.6/61.2 Wh (85.9%) 
  volts: 11.4 min: 11.6 model: 333-2C- SY03060 type: Li-ion serial: <filter> 
  status: Discharging cycles: 411 
Memory:
  RAM: total: 7.67 GiB used: 4.25 GiB (55.4%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: Dual Core model: Intel Core i3-8130U bits: 64 type: MT MCP 
  arch: Kaby Lake note: check family: 6 model-id: 8E (142) stepping: A (10) 
  microcode: EA cache: L2: 4 MiB bogomips: 17605 
  Speed: 800 MHz min/max: 400/2200 MHz Core speeds (MHz): 1: 800 2: 800 3: 801 
  4: 800 
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_perfmon art 
  avx avx2 bmi1 bmi2 bts clflush clflushopt cmov constant_tsc cpuid 
  cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est 
  f16c flexpriority flush_l1d fma fpu fsgsbase fxsr ht hwp hwp_act_window 
  hwp_epp hwp_notify ibpb ibrs ida intel_pt invpcid invpcid_single lahf_lm lm 
  mca mce md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae pat 
  pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts 
  rdrand rdseed rdtscp rep_good sdbg sep smap smep ss ssbd sse sse2 sse4_1 
  sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust 
  tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt 
  xsaves xtopology xtpr 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
  Type: srbds mitigation: Microcode 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel UHD Graphics 620 driver: i915 v: kernel bus-ID: 00:02.0 
  chip-ID: 8086:5917 class-ID: 0300 
  Device-2: Chicony HP Wide Vision HD Camera type: USB driver: uvcvideo 
  bus-ID: 1-7:3 chip-ID: 04f2:b687 class-ID: 0e02 serial: <filter> 
  Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver: 
  loaded: modesetting alternate: fbdev,vesa display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
  s-diag: 582mm (22.9") 
  Monitor-1: eDP-1 res: 1920x1080 hz: 60 dpi: 158 size: 309x173mm (12.2x6.8") 
  diag: 354mm (13.9") 
  OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 21.2.2 
  direct render: Yes 
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio driver: snd_soc_skl v: kernel 
  alternate: snd_hda_intel bus-ID: 00:1f.3 chip-ID: 8086:9d71 class-ID: 0401 
  Sound Server-1: ALSA v: k5.10.68-1-MANJARO running: yes 
  Sound Server-2: JACK v: 1.9.19 running: no 
  Sound Server-3: PulseAudio v: 15.0 running: yes 
  Sound Server-4: PipeWire v: 0.3.37 running: yes 
Network:
  Device-1: Intel Wireless 7265 driver: iwlwifi v: kernel port: efa0 
  bus-ID: 01:00.0 chip-ID: 8086:095a class-ID: 0280 
  IF: wlp1s0 state: up mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  IF-ID-1: docker0 state: down mac: <filter> 
  IP v4: <filter> scope: global broadcast: <filter> 
  WAN IP: <filter> 
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 
  bus-ID: 1-5:2 chip-ID: 8087:0a2a class-ID: e001 
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends 
Logical:
  Message: No logical block device data found. 
RAID:
  Message: No RAID data found. 
Drives:
  Local Storage: total: 116.48 GiB used: 34.7 GiB (29.8%) 
  ID-1: /dev/mmcblk0 maj-min: 179:0 vendor: SanDisk model: DA4064 
  size: 58.24 GiB block-size: physical: 512 B logical: 512 B type: SSD 
  serial: <filter> rev: 0x8 scheme: GPT 
  SMART Message: Unknown smartctl error. Unable to generate data. 
  ID-2: /dev/sda maj-min: 8:0 type: USB vendor: Generic model: STORAGE DEVICE 
  size: 58.24 GiB block-size: physical: 512 B logical: 512 B type: N/A 
  serial: <filter> rev: 0819 scheme: MBR 
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
  Message: No optical or floppy data found. 
Partition:
  ID-1: / raw-size: 52.15 GiB size: 51.03 GiB (97.85%) used: 34.7 GiB (68.0%) 
  fs: ext4 dev: /dev/mmcblk0p2 maj-min: 179:2 label: N/A 
  uuid: adcb4911-d436-4deb-8a0f-0f103bb885bd 
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) 
  used: 296 KiB (0.1%) fs: vfat dev: /dev/mmcblk0p1 maj-min: 179:1 
  label: NO_LABEL uuid: 06C8-FACB 
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 5.79 GiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/mmcblk0p3 maj-min: 179:3 label: N/A 
  uuid: f72528bc-823d-4c0a-9131-5020ef63a010 
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 3.83 GiB fs: iso9660 
  ID-2: /dev/sda2 maj-min: 8:2 size: 4 MiB fs: vfat label: MISO_EFI 
  uuid: DA10-C9D9 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 12 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 1-5:2 info: Intel Bluetooth wireless interface type: Bluetooth 
  driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA 
  chip-ID: 8087:0a2a class-ID: e001 
  Device-2: 1-7:3 info: Chicony HP Wide Vision HD Camera type: Video 
  driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA 
  chip-ID: 04f2:b687 class-ID: 0e02 serial: <filter> 
  Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 6 rev: 3.0 speed: 5 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Device-1: 2-4:3 info: Genesys Logic USB Storage type: Mass Storage 
  driver: usb-storage interfaces: 1 rev: 3.0 speed: 5 Gb/s power: 896mA 
  chip-ID: 05e3:0747 class-ID: 0806 serial: <filter> 
Sensors:
  System Temperatures: cpu: 37.5 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 237 Uptime: 4h 18m wakeups: 22492 Init: systemd v: 249 
  tool: systemctl Compilers: gcc: 11.1.0 Packages: 1304 pacman: 1296 lib: 339 
  flatpak: 0 snap: 8 Shell: Bash v: 5.1.8 running-in: konsole inxi: 3.3.06

How could I solve this problem?

1 Like

:+1: Welcome to Manjaro! :+1:

  1. Please read this:
    How to provide good information
    and press the three dots below your post and press the :pencil2: to give us more information so we can see what’s really going on.
    Now we know the symptom of the disease, but we need some more probing to know where the origin lies… :grin:
  2. An inxi --admin --verbosity=7 --filter --no-host --width would be the minimum required information for us to be able to help you. (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)
    Also, please copy-paste that output in-between 3 backticks ``` at the beginning and end of the code/text.
  3. How?
  4. which exact command?

:+1:

P.S. If you want to notify me that you did provide this information, please :heart: this message and I’ll come back and have another look.

1 Like

Thank you for the additional information. (I’ve edited your post to make it more clear to myself :wink: ) Could you please try this:

:crossed_fingers:

It is most likely caused by the mirror sending html as response to the request for database.

The symptoms is identical to the gpgme error messages and solution is the same

1 Like

Thank You!

1 Like

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