Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libxcrypt corrupted error #2

Open
damian-w opened this issue Apr 30, 2023 · 10 comments
Open

libxcrypt corrupted error #2

damian-w opened this issue Apr 30, 2023 · 10 comments
Assignees

Comments

@damian-w
Copy link

I'm getting the following error when trying to use this script...

error: lib32-libxcrypt-compat: signature from "Alexander Epaneshnikov <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/lib32-libxcrypt-compat-4.4.28-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
@Tritschla
Copy link
Owner

Hi,

may you please try the following:
In Konsole, when you use the command "sudo -S pacman -Syyu --noconfirm lib32-libxcrypt-compat" it is giving you the error message following with "Do you want to delete it? [Y/n]". Please press Y and hit enter to delete the file

After that, please also do: "sudo pacman-key --list-sigs Master"

Afterwards please try again running the insaller for R4SD

@Tritschla Tritschla self-assigned this May 3, 2023
@damian-w
Copy link
Author

damian-w commented May 7, 2023

Still getting the same error, I'm afraid!

error: lib32-libxcrypt-compat: signature from "Alexander Epaneshnikov <[email protected]>" is unknown trust :: File /var/cache/pacman/pkg/lib32-libxcrypt-compat-4.4.28-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded.

@Xeyrruken
Copy link

Xeyrruken commented May 15, 2023

Hi,

may you please try the following: In Konsole, when you use the command "sudo -S pacman -Syyu --noconfirm lib32-libxcrypt-compat" it is giving you the error message following with "Do you want to delete it? [Y/n]". Please press Y and hit enter to delete the file

After that, please also do: "sudo pacman-key --list-sigs Master"

Afterwards please try again running the insaller for R4SD

I'm getting the same error, i tried your suggestions still getting the error.

I found out the keys where outdated i ran this sudo pacman-key --refresh-keys and after it finished i reran the install and all good now

@Toylerrr
Copy link

Im getting this same error

:: File /var/cache/pacman/pkg/lib32-libxcrypt-compat-4.4.28-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).```

I have also tried the fiixes listed in both issues any ideas

@luckycold
Copy link

I've tried everything suggested and nothing has worked heres my "sudo pacman-key --list-sigs Master"

pub   rsa4096 2023-07-05 [SC]
      B828FD2B0578E87F4D12989229C3E31CAFE0F7FA
uid           [ultimate] Pacman Keyring Master Key <pacman@localhost>
sig 3        29C3E31CAFE0F7FA 2023-07-05  Pacman Keyring Master Key <pacman@localhost>

pub   rsa3072 2011-11-18 [SC] [revoked: 2018-10-07]
      0E8B644079F599DFC1DDC3973348882F6AC6A4C2
rev          3348882F6AC6A4C2 2018-10-07  Pierre Schmitz (Arch Linux Master Key) <[email protected]>
      reason for revocation: No reason specified
uid           [ revoked] Pierre Schmitz (Arch Linux Master Key) <[email protected]>
sig 3        3348882F6AC6A4C2 2020-11-21  Pierre Schmitz (Arch Linux Master Key) <[email protected]>
sig          7F2D434B9741E8AC 2011-11-18  Pierre Schmitz <[email protected]>
sig   L      29C3E31CAFE0F7FA 2023-07-05  Pacman Keyring Master Key <pacman@localhost>

pub   rsa4096 2022-02-13 [SC] [revoked: 2022-02-13]
      159F3A43AEB246C5746C033814BC4F30B3B92EBA
rev          14BC4F30B3B92EBA 2022-02-13  Giancarlo Razzolini (Arch Linux Master Key) <[email protected]>
      reason for revocation: No reason specified
uid           [ revoked] Giancarlo Razzolini (Arch Linux Master Key) <[email protected]>
sig 3        14BC4F30B3B92EBA 2022-02-13  Giancarlo Razzolini (Arch Linux Master Key) <[email protected]>

pub   rsa3072 2011-11-29 [SC] [revoked: 2011-11-29]
      27FFC4769E19F096D41D9265A04F9397CDFD6BB0
rev          A04F9397CDFD6BB0 2011-11-29  Dan McGee (Arch Linux Master Key) <[email protected]>
      reason for revocation: No reason specified
         revocation comment: Revocation certificate held by another developer
uid           [ revoked] Dan McGee (Arch Linux Master Key) <[email protected]>
sig 3        A04F9397CDFD6BB0 2011-11-29  Dan McGee (Arch Linux Master Key) <[email protected]>
sig          06096A6AD1CEDDAC 2011-11-30  Laurent Carlier <[email protected]>
sig          5C2E46A0F53A76ED 2011-11-29  Dan McGee <[email protected]>

pub   ed25519 2021-04-26 [SC]
      2AC0A42EFB0B5CBC7A0402ED4DC95B6D7BE9892E
uid           [  full  ] David Runge (Arch Linux Master Key) <[email protected]>
sig 3        4DC95B6D7BE9892E 2021-04-26  David Runge (Arch Linux Master Key) <[email protected]>
sig   L      29C3E31CAFE0F7FA 2023-07-05  Pacman Keyring Master Key <pacman@localhost>
sub   cv25519 2021-04-26 [E]
sig          4DC95B6D7BE9892E 2021-04-26  David Runge (Arch Linux Master Key) <[email protected]>

pub   rsa3072 2011-11-25 [SC] [revoked: 2011-11-25]
      44D4A033AC140143927397D47EFD567D4C7EA887
rev          7EFD567D4C7EA887 2011-11-25  Ionut Biru (Arch Linux Master Key) <[email protected]>
      reason for revocation: No reason specified
         revocation comment: Something bad happened
uid           [ revoked] Ionut Biru (Arch Linux Master Key) <[email protected]>
sig 3        7EFD567D4C7EA887 2011-11-25  Ionut Biru (Arch Linux Master Key) <[email protected]>
sig          E8F18BA1615137BC 2011-11-25  Ionut Biru <[email protected]>

pub   rsa3072 2011-11-19 [SC] [revoked: 2011-11-20]
      684148BB25B49E986A4944C55184252D824B18E8
rev          5184252D824B18E8 2011-11-20  Thomas Bächler (Arch Linux Master Key) <[email protected]>
      reason for revocation: No reason specified
         revocation comment: Master Key revoked by Revocation Certificate holder Tobias Powalowski.
uid           [ revoked] Thomas Bächler (Arch Linux Master Key) <[email protected]>
sig 3        5184252D824B18E8 2011-11-19  Thomas Bächler (Arch Linux Master Key) <[email protected]>
sig          284FC34C8E4B1A25 2011-11-19  Thomas Bächler <[email protected]>

pub   ed25519 2022-10-24 [SC]
      69E6471E3AE065297529832E6BA0F5A2037F4F41
uid           [  full  ] Johannes Löthberg (Arch Linux Master Key) <[email protected]>
sig 3        6BA0F5A2037F4F41 2022-10-24  Johannes Löthberg (Arch Linux Master Key) <[email protected]>
sig   L      29C3E31CAFE0F7FA 2023-07-05  Pacman Keyring Master Key <pacman@localhost>
sub   cv25519 2022-10-24 [E]
sig          6BA0F5A2037F4F41 2022-10-24  Johannes Löthberg (Arch Linux Master Key) <[email protected]>

pub   rsa4096 2022-06-30 [SC]
      75BD80E4D834509F6E740257B1B73B02CC52A02A
uid           [  full  ] Jonas Witschel (Arch Linux Master Key) <[email protected]>
sig 3        B1B73B02CC52A02A 2022-06-30  Jonas Witschel (Arch Linux Master Key) <[email protected]>
sig          6E80CA1446879D04 2022-06-30  Jonas Witschel <[email protected]>
sig   L      29C3E31CAFE0F7FA 2023-07-05  Pacman Keyring Master Key <pacman@localhost>
sub   rsa4096 2022-06-30 [E]
sig          B1B73B02CC52A02A 2022-06-30  Jonas Witschel (Arch Linux Master Key) <[email protected]>

pub   rsa4096 2015-12-17 [SC]
      91FFE0700E80619CEB73235CA88E23E377514E00
uid           [  full  ] Florian Pritz (Arch Linux Master Key) <[email protected]>
sig 3        A88E23E377514E00 2015-12-17  Florian Pritz (Arch Linux Master Key) <[email protected]>
sig          6D1655C14CE1C13E 2015-12-17  Florian Pritz <[email protected]>
sig   L      29C3E31CAFE0F7FA 2023-07-05  Pacman Keyring Master Key <pacman@localhost>
sub   rsa4096 2015-12-17 [E]
sig          A88E23E377514E00 2015-12-17  Florian Pritz (Arch Linux Master Key) <[email protected]>

pub   rsa4096 2011-11-29 [SC] [revoked: 2022-05-10]
      AB19265E5D7D20687D303246BA1DFB64FFF979E7
rev          BA1DFB64FFF979E7 2022-05-10  Allan McRae (Arch Linux Master Key) <[email protected]>
      reason for revocation: Key is no longer used
         revocation comment: Retired Arch Linux master key
uid           [ revoked] Allan McRae (Arch Linux Master Key) <[email protected]>
sig 3        BA1DFB64FFF979E7 2020-11-03  Allan McRae (Arch Linux Master Key) <[email protected]>
sig          06096A6AD1CEDDAC 2011-11-30  Laurent Carlier <[email protected]>
sig          F99FFE0FEAE999BD 2011-11-30  Allan McRae <[email protected]>

pub   rsa4096 2018-11-08 [SC]
      D8AFDDA07A5B6EDFA7D8CCDAD6D055F927843F1C
uid           [  full  ] Levente Polyak (Arch Linux Master Key) <[email protected]>
sig 3        D6D055F927843F1C 2018-11-08  Levente Polyak (Arch Linux Master Key) <[email protected]>
sig          39E4B877E62EB915 2018-12-28  Sven-Hendrik Haase <[email protected]>
sig          FC1B547C8D8172C8 2018-11-12  Levente Polyak (anthraxx) <[email protected]>
sig   L      29C3E31CAFE0F7FA 2023-07-05  Pacman Keyring Master Key <pacman@localhost>
sub   rsa4096 2018-11-08 [E]
sig          D6D055F927843F1C 2018-11-08  Levente Polyak (Arch Linux Master Key) <[email protected]>
sub   rsa4096 2018-11-08 [A]
sig          D6D055F927843F1C 2018-11-08  Levente Polyak (Arch Linux Master Key) <[email protected]>

pub   rsa4096 2017-05-15 [SC] [revoked: 2017-05-15]
      DDB867B92AA789C165EEFA799B729B06A680C281
rev          9B729B06A680C281 2017-05-15  Bartłomiej Piotrowski (Arch Linux Master Key) <[email protected]>
      reason for revocation: No reason specified
uid           [ revoked] Bartłomiej Piotrowski (Arch Linux Master Key) <[email protected]>
sig 3        9B729B06A680C281 2017-05-15  Bartłomiej Piotrowski (Arch Linux Master Key) <[email protected]>
sig          BBE43771487328A9 2017-05-15  Bartlomiej Piotrowski <[email protected]>

@Tritschla
Copy link
Owner

May you please try a "pacman-key --list-sigs Master"?
With that, you should get a list with information regarding the signature.
Is it the sig of Alexander Epaneshnikov [email protected] also having issues for you?

@luckycold
Copy link

May you please try a "pacman-key --list-sigs Master"?
With that, you should get a list with information regarding the signature.
Is it the sig of Alexander Epaneshnikov [email protected] also having issues for you?

Yes, I tried that command in that post and that was the output. As for the sig being Alexander and the email, that's correct. I also noticed that when I try to install anything else like Vim it also gives me the same signature error. I've tried reinitializing the keys, I've tried refreshing the keys like in the comments above. I keep getting the same issue.

@markschabacker
Copy link

markschabacker commented Nov 25, 2023

I worked around this (quickly) by following these steps: "Resetting all the keys" - ArchWiki.

Remove or reset all the keys installed in your system by removing the /etc/pacman.d/gnupg directory (as root) and by rerunning pacman-key --init followed by pacman-key --populate to re-add the default keys.

@Tritschla
Copy link
Owner

Thank you, added this to the install.sh script. You may retry installation.

@Tritschla Tritschla mentioned this issue Jan 5, 2024
@luckycold
Copy link

Sorry I took so long. I tested this and it worked!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants