Athena-OS / athena

Athena OS is a Arch/Nix-based distro focused on Cybersecurity. Learn, practice and enjoy with any hacking tool!

Home Page:https://athenaos.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG]: update fail, levon signature

Mohadib2 opened this issue · comments

Athena OS version

Athena os

Which environment or technology are you using?

  • Baremetal
  • VirtualBox Virtual Machine
  • VMware Virtual Machine
  • Hyper-V Virtual Machine
  • QEMU/KVM
  • Parallels
  • UTM
  • Container
  • WSL

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

Download this file and

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

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

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

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

All good for now.
Installatin finished without errors.