Corrupt packages

I know, this issue has been posted i ten's of times in the forum, but sadly solutions mentioned there were not helpful to me. That's why I'm opening a new thread of the similar issue.

:: Proceed with installation? [Y/n] y
(69/69) checking keys in keyring                                               [--------------------------------------------] 100%
(69/69) checking package integrity                                             [--------------------------------------------] 100%
error: brave-bin: signature from "Nico Jensch (Chaotic-AUR) <dr460nf1r3@garudalinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/brave-bin-1:1.28.106-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: konsole-git: signature from "Nico Jensch (Chaotic-AUR) <dr460nf1r3@garudalinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/konsole-git-21.11.70_r7921.g9691d3f24-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: latte-dock-git: signature from "Nico Jensch (Chaotic-AUR) <dr460nf1r3@garudalinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/latte-dock-git-0.10.0.r30.g25e05070-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: paru: signature from "Nico Jensch (Chaotic-AUR) <dr460nf1r3@garudalinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/paru-1.8.2-1-x86_64.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)
Errors occurred, no packages were upgraded.

I don't think I have to describe this issue and to remind that I have **already read ** this post https://forum.garudalinux.org/t/issues-with-signature-is-marginal-trust-or-invalid-or-corrupted-package/2951

But still this post was'nt a solution to me.
I hope, you'll will address my issue.
Thanks.

Please post all the steps you have tried, in order, with associated output.

I am confident that it is.

4 Likes

Honestly, I had a few internet disconnects while downloading the packages, which resulted in failure, so I tried until all the packages were downloaded successfully, but after checking package integrity, pacman always throws the errors only for these 4 packages..

And I have literally tried all the methods mentioned in your post, but sadly none were helpful...

This does not provide the information I requested.

Updating the keyring will fix issues with "unknown trust" keys, therefore try again and paste the output here, as text.

4 Likes

I'm quite sure that these packages aren't broken as I'm using 3 of them myself. You can refresh the keyring:

  1. Using Garuda Assistant
  2. Using Garuda System Maintenance (rightclick tray Icon)

If you don't like the terminal way.

4 Likes

Please understand, the point of asking for the output is to find out why the methods didn't help. It's far better to provide the information requested than to argue with a person who is trying to help.

2 Likes
sudo pacman-key --init

gpg: Generating pacman keyring master key...
gpg: key BE09867F2BD0948F marked as ultimately trusted
gpg: revocation certificate stored as '/etc/pacman.d/gnupg/openpgp-revocs.d/EEF923C98DBF555651C63FFBBE09867F2BD0948F.rev'
gpg: Done
==> Updating trust database...
gpg: public key of ultimately trusted key 08763807E41F36D4 not found
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   2  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 2u
==> ERROR: Trust database could not be updated.

sudo pacman-key --refresh-keys

gpg: error retrieving 'dr460nf1r3@garudalinux.org' via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key 8ADB4AEC585061CF: "Nico Jensch (Chaotic-AUR birdrepo builder) <dr460nf1r3@garudalinux.org>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
gpg: error retrieving 'dr460nf1r3@garudalinux.org' via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key 57F3D9CC660431DD: "Nico Jensch <dr460nf1r3@garudalinux.org>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
gpg: error retrieving 'dr460nf1r3@garudalinux.org' via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key FBA220DFC880C036: "Nico Jensch (Chaotic-AUR) <dr460nf1r3@garudalinux.org>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
gpg: error retrieving 'root@pedrohlc.com' via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key 3056513887B78AEB: "Pedro Henrique Lara Campos <root@pedrohlc.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
gpg: error retrieving 'noptrix@nullsecurity.net' via WKD: General error
gpg: error reading key: General error
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key 7533BAFE69A25079: "Levon 'noptrix' Kayan (BlackArch Developer) <noptrix@nullsecurity.net>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1


sudo pacman -Syy archlinux-keyring chaotic-keyring

error: blackarch: key "F9A6E68A711354D84A9B91637533BAFE69A25079" is unknown
:: Import PGP key F9A6E68A711354D84A9B91637533BAFE69A25079? [Y/n] y
error: blackarch: signature from "Levon 'noptrix' Kayan (BlackArch Developer) <noptrix@nullsecurity.net>" is unknown trust
:: Synchronizing package databases...
core                                              136.1 KiB  79.6 KiB/s 00:02 [--------------------------------------------] 100%
extra                                            1565.0 KiB   367 KiB/s 00:04 [--------------------------------------------] 100%
community                                           5.6 MiB   589 KiB/s 00:10 [--------------------------------------------] 100%
multilib                                          149.7 KiB  70.7 KiB/s 00:02 [--------------------------------------------] 100%
chaotic-aur                                      1448.9 KiB   704 KiB/s 00:02 [--------------------------------------------] 100%
blackarch                                           3.5 MiB  1524 KiB/s 00:02 [--------------------------------------------] 100%
error: blackarch: signature from "Levon 'noptrix' Kayan (BlackArch Developer) <noptrix@nullsecurity.net>" is unknown trust
error: failed to synchronize all databases (invalid or corrupted database (PGP signature))

Btw, any more outputs needed ?

Sadly, it doesn't worked for me :frowning_face:

Firstly, not sure why you didn't do it in the order in the FAQ post.

Secondly,

The BlackArch keyring is entirely separate and not supported by Garuda. If you have issues with BlackArch then contact the BlackArch community support routes.

This is now an entirely different issue caused by you not following the instructions as written.

Please run:

sudo pacman -S archlinux-keyring chaotic-keyring
sudo pacman -S brave-bin
1 Like

Hey running the above command do throws the same error

error: blackarch: signature from "Levon 'noptrix' Kayan (BlackArch Developer) <noptrix@nullsecurity.net>" is unknown trust
error: database 'blackarch' is not valid (invalid or corrupted database (PGP signature))

So how can I solve the blacarch problem? If it isn't related to garuda

No it doesn't.

Try again, and post the actual output.

2 Likes

Idk why, but literally why you guys have so much of believing issue, have you all taken an oath to not to believe the guy. Anyway, here is your required output..

dev@pikahack in ~ took 8m40s
[🔴] × sudo pacman -S archlinux-keyring chaotic-keyring
[sudo] password for dev:
error: blackarch: signature from "Levon 'noptrix' Kayan (BlackArch Developer) <noptrix@nullsecurity.net>" is unknown trust
error: database 'blackarch' is not valid (invalid or corrupted database (PGP signature))

╭─dev@pikahack in ~ took 4s
[🔴] × sudo pacman -S brave-bin
error: blackarch: signature from "Levon 'noptrix' Kayan (BlackArch Developer) <noptrix@nullsecurity.net>" is unknown trust
error: database 'blackarch' is not valid (invalid or corrupted database (PGP signature))

Hm.

sudo rm /var/lib/pacman/sync/blackarch*

then try again. You can contact the BlackArch people for help with their repo.

4 Likes

Now this is even worse than before


╭─dev@pikahack in ~ took 2ms
[🔴] × sudo pacman -S archlinux-keyring chaotic-keyring
warning: database file for 'blackarch' does not exist (use '-Sy' to download)
warning: chaotic-keyring-20210617-1 is up to date -- reinstalling
error: failed to prepare transaction (could not find database)

╭─dev@pikahack in ~ took 2s
[🔴] × sudo pacman -Syy archlinux-keyring chaotic-keyring
:: Synchronizing package databases...
core                                              136.1 KiB  76.7 KiB/s 00:02 [--------------------------------------------] 100%
extra                                            1565.0 KiB   305 KiB/s 00:05 [--------------------------------------------] 100%
community                                           5.6 MiB   612 KiB/s 00:09 [--------------------------------------------] 100%
multilib                                          149.7 KiB  82.4 KiB/s 00:02 [--------------------------------------------] 100%
chaotic-aur                                      1448.9 KiB   828 KiB/s 00:02 [--------------------------------------------] 100%
blackarch                                           3.5 MiB  2.31 MiB/s 00:02 [--------------------------------------------] 100%
error: blackarch: signature from "Levon 'noptrix' Kayan (BlackArch Developer) <noptrix@nullsecurity.net>" is unknown trust
error: failed to synchronize all databases (invalid or corrupted database (PGP signature))

No, it's exactly the same.

So, contact the BlackArch people for help with adding their repo to your install.

3 Likes
sudo pacman -Sy blackarch-keyring

Make sure to provide system information and the edition you are currently using btw.

3 Likes

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