Advertisement
Guest User

Untitled

a guest
Oct 25th, 2024
14
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.00 KB | None | 0 0
  1. $ sudo mv /etc/pacman.d/gnupg /root/pacman-key.bak
  2. [gametest@gametest ~]$ sudo pacman-key --init
  3. gpg: /etc/pacman.d/gnupg/trustdb.gpg: trustdb created
  4. gpg: no ultimately trusted keys found
  5. gpg: starting migration from earlier GnuPG versions
  6. gpg: porting secret keys from '/etc/pacman.d/gnupg/secring.gpg' to gpg-agent
  7. gpg: migration succeeded
  8. ==> Generating pacman master key. This may take some time.
  9. gpg: Generating pacman keyring master key...
  10. gpg: directory '/etc/pacman.d/gnupg/openpgp-revocs.d' created
  11. gpg: revocation certificate stored as '/etc/pacman.d/gnupg/openpgp-revocs.d/C9BE4066706054F52B071C02BFFBD190E359B4EE.rev'
  12. gpg: Done
  13. ==> Updating trust database...
  14. gpg: marginals needed: 3 completes needed: 1 trust model: pgp
  15. gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
  16. [gametest@gametest ~]$ sudo pacman-key --populate archlinux endeavouros
  17. ==> Appending keys from archlinux.gpg...
  18. ==> Appending keys from endeavouros.gpg...
  19. ==> Locally signing trusted keys in keyring...
  20. -> Locally signed 12 keys.
  21. ==> Importing owner trust values...
  22. gpg: setting ownertrust to 4
  23. gpg: setting ownertrust to 4
  24. gpg: setting ownertrust to 4
  25. gpg: inserting ownertrust of 4
  26. gpg: setting ownertrust to 4
  27. gpg: setting ownertrust to 4
  28. gpg: setting ownertrust to 4
  29. gpg: setting ownertrust to 4
  30. gpg: setting ownertrust to 4
  31. gpg: setting ownertrust to 4
  32. gpg: setting ownertrust to 4
  33. gpg: setting ownertrust to 4
  34. ==> Disabling revoked keys in keyring...
  35. -> Disabled 45 keys.
  36. ==> Updating trust database...
  37. gpg: marginals needed: 3 completes needed: 1 trust model: pgp
  38. gpg: depth: 0 valid: 1 signed: 12 trust: 0-, 0q, 0n, 0m, 0f, 1u
  39. gpg: depth: 1 valid: 12 signed: 102 trust: 0-, 0q, 0n, 12m, 0f, 0u
  40. gpg: depth: 2 valid: 78 signed: 29 trust: 78-, 0q, 0n, 0m, 0f, 0u
  41. gpg: next trustdb check due at 2024-11-18
  42. [gametest@gametest ~]$ sudo pacman -Syy archlinux-keyring endeavouros-keyring
  43. :: Synchronizing package databases...
  44. core
  45. core 116.2 KiB 672 KiB/s 00:00 [-------------] 100%
  46. extra 7.5 MiB 2.75 MiB/s 00:03 [-------------] 100%
  47. multilib 133.5 KiB 835 KiB/s 00:00 [-------------] 100%
  48. endeavouros 14.2 KiB 48.0 KiB/s 00:00 [-------------] 100%
  49. warning: archlinux-keyring-20241015-1 is up to date -- reinstalling
  50. resolving dependencies...
  51. looking for conflicting packages...
  52.  
  53. warning: insufficient columns available for table display
  54. Packages (2) archlinux-keyring-20241015-1
  55. endeavouros-keyring-20231222-1
  56.  
  57. Total Download Size: 0.02 MiB
  58. Total Installed Size: 1.68 MiB
  59. Net Upgrade Size: 0.00 MiB
  60.  
  61. :: Proceed with installation? [Y/n]
  62. :: Retrieving packages...
  63. endeavouros-keyr... 21.1 KiB 285 KiB/s 00:00 [-------------] 100%
  64. (2/2) checking keys in keyring [-------------] 100%
  65. (2/2) checking package integrity [-------------] 100%
  66. error: endeavouros-keyring: signature from "manuel <[email protected]>" is unknown trust
  67. :: File /var/cache/pacman/pkg/endeavouros-keyring-20231222-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
  68. Do you want to delete it? [Y/n]
  69. error: failed to commit transaction (invalid or corrupted package (PGP signature))
  70. Errors occurred, no packages were upgraded.
  71. [gametest@gametest ~]$ sudo pacman -U /var/cache/pacman/pkg/{archlinux,endeavouros}-keyring
  72. loading packages...
  73. error: '/var/cache/pacman/pkg/archlinux-keyring': could not find or read package
  74. error: '/var/cache/pacman/pkg/endeavouros-keyring': could not find or read package
  75. [gametest@gametest ~]$ sudo rm /var/cache/pacman/pkg/archlinux-keyring
  76. rm: cannot remove '/var/cache/pacman/pkg/archlinux-keyring': No such file or directory
  77. [gametest@gametest ~]$ sudo rm /var/cache/pacman/pkg/endeavouros-keyring
  78. rm: cannot remove '/var/cache/pacman/pkg/endeavouros-keyring': No such file or directory
  79. [gametest@gametest ~]$ sudo pacman -S endeavouros-keyring
  80. resolving dependencies...
  81. looking for conflicting packages...
  82.  
  83. warning: insufficient columns available for table display
  84. Packages (1) endeavouros-keyring-20231222-1
  85.  
  86. Total Download Size: 0.02 MiB
  87. Total Installed Size: 0.01 MiB
  88. Net Upgrade Size: 0.00 MiB
  89.  
  90. :: Proceed with installation? [Y/n]
  91. :: Retrieving packages...
  92. endeavouros-keyr... 21.1 KiB 103 KiB/s 00:00 [-------------] 100%
  93. (1/1) checking keys in keyring [-------------] 100%
  94. (1/1) checking package integrity [-------------] 100%
  95. error: endeavouros-keyring: signature from "manuel <[email protected]>" is unknown trust
  96. :: File /var/cache/pacman/pkg/endeavouros-keyring-20231222-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
  97. Do you want to delete it? [Y/n]
  98. error: failed to commit transaction (invalid or corrupted package (PGP signature))
  99. Errors occurred, no packages were upgraded.
  100. [gametest@gametest ~]$ sudo rm /var/cache/pacman/pkg/*.part
  101. rm: cannot remove '/var/cache/pacman/pkg/*.part': No such file or directory
  102.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement