Athena-OS / athena

Athena OS is a Arch/Nix-based distro focused on Cybersecurity. Learn, practice and enjoy with any hacking tool!
https://athenaos.org
MIT License
992 stars 75 forks source link

[BUG]: update fail, levon signature #103

Closed Mohadib2 closed 5 months ago

Mohadib2 commented 5 months ago

Athena OS version

Athena os

Which environment or technology are you using?

Kernel version

6.1.70-lts

Involved software

No response

Repro steps

When updating getting error levon signature. Latest iso just downloaded it Fresh installation. Even in the installation process i saw these error when installer tried to install packages

Expected behavior

To update

Actual behavior

Error

Diagnostic logs

No response

D3vil0p3r commented 5 months ago

Download this file and

chmod + x strap.sh
sudo ./strap.sh
sudo pacman -Syy
Mohadib2 commented 5 months ago

I will, thank you

On Thu, Jan 11, 2024, 15:21 D3vil0p3r @.***> wrote:

Download this file https://github.com/BlackArch/blackarch-site/blob/master/strap.sh and

chmod + x strap.sh sudo ./strap.sh sudo pacman -Syy

— Reply to this email directly, view it on GitHub https://github.com/Athena-OS/athena-iso/issues/103#issuecomment-1887152011, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVQKAPKNGIIXPT44KKCXYJTYN7RNBAVCNFSM6AAAAABBWLZVPSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBXGE2TEMBRGE . You are receiving this because you authored the thread.Message ID: @.***>

Mohadib2 commented 5 months ago

the output of the script

[+] checking gnupg version... error: blackarch: signature from "Levon 'noptrix' Kayan (BlackArch Developer) noptrix@nullsecurity.net" is invalid [+] installing blackarch keyring... [+] backing up pacman.conf [+] downgrade gnupg to stable release [+] fixing gnupg trust database... '/etc/pacman.conf' -> '/etc/pacman.conf.blackarch' error: blackarch: signature from "Levon 'noptrix' Kayan (BlackArch Developer) noptrix@nullsecurity.net" is invalid :: Retrieving packages... gnupg-2.2.41-2-x... 2.4 MiB 2.14 MiB/s 00:01 100% error: database 'blackarch' is not valid (invalid or corrupted database (PGP signature)) loading packages... warning: downgrading package gnupg (2.4.3-2 => 2.2.41-2) error: failed to prepare transaction (invalid or corrupted database) gpg: /etc/pacman.d/gnupg/trustdb.gpg: trustdb created gpg: no ultimately trusted keys found gpg: starting migration from earlier GnuPG versions gpg: porting secret keys from '/etc/pacman.d/gnupg/secring.gpg' to gpg-agent gpg: migration succeeded ==> Generating pacman master key. This may take some time. gpg: Generating pacman keyring master key... gpg: directory '/etc/pacman.d/gnupg/openpgp-revocs.d' created gpg: revocation certificate stored as '/etc/pacman.d/gnupg/openpgp-revocs.d/2F9EE4C51242B4495129C6E10A15F03C8163E89C.rev' gpg: Done ==> Updating trust database... gpg: marginals needed: 3 completes needed: 1 trust model: pgp gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u ==> Appending keys from archlinux.gpg... ==> Appending keys from blackarch.gpg... ==> Locally signing trusted keys in keyring... -> Locally signed 9 keys. ==> Importing owner trust values... gpg: setting ownertrust to 4 gpg: setting ownertrust to 4 gpg: setting ownertrust to 4 gpg: inserting ownertrust of 4 gpg: setting ownertrust to 4 gpg: setting ownertrust to 4 gpg: setting ownertrust to 4 gpg: setting ownertrust to 4 gpg: setting ownertrust to 4 ==> Disabling revoked keys in keyring... -> Disabled 44 keys. ==> Updating trust database... gpg: Note: third-party key signatures using the SHA1 algorithm are rejected gpg: (use option "--allow-weak-key-signatures" to override) gpg: marginals needed: 3 completes needed: 1 trust model: pgp gpg: depth: 0 valid: 1 signed: 9 trust: 0-, 0q, 0n, 0m, 0f, 1u gpg: depth: 1 valid: 9 signed: 99 trust: 0-, 0q, 0n, 9m, 0f, 0u gpg: depth: 2 valid: 74 signed: 22 trust: 74-, 0q, 0n, 0m, 0f, 0u gpg: next trustdb check due at 2024-01-21 ==> Updating trust database... gpg: next trustdb check due at 2024-01-21 [+] setting IngorePkg gnupg... loading packages... warning: blackarch-keyring-20140118-3 is up to date -- reinstalling resolving dependencies... looking for conflicting packages...

Packages (1) blackarch-keyring-20140118-3

Total Installed Size: 0.04 MiB Net Upgrade Size: 0.00 MiB

:: Proceed with installation? [Y/n] (1/1) checking keys in keyring 100% (1/1) checking package integrity 100% (1/1) loading package files 100% (1/1) checking for file conflicts 100% :: Processing package changes... (1/1) reinstalling blackarch-keyring 100% ==> Appending keys from blackarch.gpg... ==> Updating trust database... gpg: next trustdb check due at 2024-01-21 :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Appending keys from archlinux.gpg... ==> Appending keys from athena.gpg... ==> Appending keys from blackarch.gpg... ==> Appending keys from chaotic.gpg... ==> Locally signing trusted keys in keyring... -> Locally signed 7 keys. ==> Importing owner trust values... gpg: inserting ownertrust of 4 gpg: setting ownertrust to 4 gpg: inserting ownertrust of 4 gpg: setting ownertrust to 4 gpg: inserting ownertrust of 4 gpg: setting ownertrust to 4 gpg: setting ownertrust to 4 ==> Disabling revoked keys in keyring... -> Disabled 3 keys. ==> Updating trust database... gpg: Note: third-party key signatures using the SHA1 algorithm are rejected gpg: (use option "--allow-weak-key-signatures" to override) gpg: marginals needed: 3 completes needed: 1 trust model: pgp gpg: depth: 0 valid: 1 signed: 14 trust: 0-, 0q, 0n, 0m, 0f, 1u gpg: depth: 1 valid: 14 signed: 99 trust: 0-, 0q, 0n, 14m, 0f, 0u gpg: depth: 2 valid: 74 signed: 22 trust: 74-, 0q, 0n, 0m, 0f, 0u gpg: next trustdb check due at 2024-01-21

[+] keyring installed successfully [+] updating package databases error: blackarch: signature from "Levon 'noptrix' Kayan (BlackArch Developer) noptrix@nullsecurity.net" is invalid :: Synchronizing package databases... athena 82.9 KiB 286 KiB/s 00:00 100% core 128.9 KiB 276 KiB/s 00:00 100% extra 8.3 MiB 5.70 MiB/s 00:01 100% community 45.0 B 110 B/s 00:00 100% multilib 139.5 KiB 202 KiB/s 00:01 100% chaotic-aur 2.6 MiB 416 KiB/s 00:06 100% blackarch 4.0 MiB 2.95 MiB/s 00:01 100% error: blackarch: signature from "Levon 'noptrix' Kayan (BlackArch Developer) noptrix@nullsecurity.net" is invalid error: failed to synchronize all databases (invalid or corrupted database (PGP signature)) [!] WARNING: Synchronizing pacman has failed. Please try manually: pacman -Syy [+] restoring pacman.conf [+] BlackArch Linux is ready!

pacman -Syy

pacman -Syy error: blackarch: signature from "Levon 'noptrix' Kayan (BlackArch Developer) noptrix@nullsecurity.net" is invalid :: Synchronizing package databases... athena 82.9 KiB 132 KiB/s 00:01 100% core 128.9 KiB 623 KiB/s 00:00 100% extra 8.3 MiB 5.89 MiB/s 00:01 100% community 45.0 B 254 B/s 00:00 100% multilib 139.5 KiB 655 KiB/s 00:00 100% chaotic-aur 2.6 MiB 436 KiB/s 00:06 100% blackarch 4.0 MiB 2.42 MiB/s 00:02 100% error: blackarch: signature from "Levon 'noptrix' Kayan (BlackArch Developer) noptrix@nullsecurity.net" is invalid error: failed to synchronize all databases (invalid or corrupted database (PGP signature))

same error

D3vil0p3r commented 5 months ago

I uploaded a new ISO where I removed BA. Download it and try.

Mohadib2 commented 5 months ago

In the github or in the https://athenaos.org/ link?

On Sat, Jan 13, 2024, 13:26 D3vil0p3r @.***> wrote:

I uploaded a new ISO where I removed BA. Download it and try.

— Reply to this email directly, view it on GitHub https://github.com/Athena-OS/athena-iso/issues/103#issuecomment-1890423833, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVQKAPL46CW6OKHLBNE5G33YOJVPJAVCNFSM6AAAAABBWLZVPSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJQGQZDGOBTGM . You are receiving this because you authored the thread.Message ID: @.***>

D3vil0p3r commented 5 months ago

Both. Use the link in the athenaos.org download link.

Mohadib2 commented 5 months ago

Thanks, I'll check it out.

On Sat, Jan 13, 2024, 13:34 D3vil0p3r @.***> wrote:

Both. Use the link in the athenaos.org download link.

— Reply to this email directly, view it on GitHub https://github.com/Athena-OS/athena-iso/issues/103#issuecomment-1890425563, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVQKAPLWDPFAENA4RFRVM73YOJWM7AVCNFSM6AAAAABBWLZVPSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJQGQZDKNJWGM . You are receiving this because you authored the thread.Message ID: @.***>

Mohadib2 commented 5 months ago

All good for now. Installatin finished without errors.