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]: Can't update system #105

Closed MrDiFazio closed 5 months ago

MrDiFazio commented 5 months ago

Athena OS version

Anthena OS Rolling

Which environment or technology are you using?

Kernel version

6.5.3-zen1-1-zen

Involved software

No response

Repro steps

Снимок экрана от 2024-01-16 14-54-14

Expected behavior

Haven't used the system in a while and decided to run it and update it, but it gives an error when updating.

Actual behavior

sudo pacman -Syu

Diagnostic logs

No response

D3vil0p3r commented 5 months ago

Error about athena.db during the usage of pacmancommand

Lithuania

Server = https://hub.athenaos.org/$repo/$arch

MrDiFazio commented 5 months ago

Снимок экрана от 2024-01-17 18-50-29 Now i have this eror

D3vil0p3r commented 5 months ago

Download this file and run it. Then sudo pacman -Syy.

MrDiFazio commented 5 months ago

Снимок экрана от 2024-01-17 20-37-23 Root privileges have been added by me via visudo Снимок экрана от 2024-01-17 20-39-56

D3vil0p3r commented 5 months ago

Give strap.sh executable permission and run it by sudo.

MrDiFazio commented 5 months ago

Снимок экрана от 2024-01-17 22-13-56 Done. But its not working.

D3vil0p3r commented 5 months ago

dont care about those first messages. What are the last messages?

MrDiFazio commented 5 months ago

dont care about those first messages. What are the last messages?

Снимок экрана от 2024-01-17 22-32-59 The last mesage: Incorrect or corrupted database

MrDiFazio commented 5 months ago

Found this article, tried it but no result. You can also import the key into your pacman keyring yourself. This is necessary when the official keyserver does not provide the desired key (yet). To do so, follow the next steps. https://aronschueler.de/blog/2022/01/30/arch-signature-is-unknown-trust/

D3vil0p3r commented 5 months ago

BlackArch resources currently are producing several issues. I would suggest you to wait we migrate Athena from Arch to Nix. Or just remove BlackArch mirrors and server references from pacman.conf.

MrDiFazio commented 5 months ago

BlackArch resources currently are producing several issues. I would suggest you to wait we migrate Athena from Arch to Nix. Or just remove BlackArch mirrors and server references from pacman.conf.

I remove it, but it didn't help. The same error as above. So I'll wait for a solution.

MrDiFazio commented 5 months ago

I have made this: https://blackarch.org/faq.html and this: https://github.com/jc141x/rumpowered-packages Blackarch, rumpowered is working, but Athena no Снимок экрана от 2024-01-18 22-34-22

D3vil0p3r commented 5 months ago

Try to run init-keys command.

MrDiFazio commented 5 months ago

Try to run init-keys command. Снимок экрана от 2024-01-18 22-43-45 Command not found

D3vil0p3r commented 5 months ago
sudo pacman-key --init
sudo pacman-key --populate
sudo pacman -Syy
MrDiFazio commented 5 months ago

Снимок экрана от 2024-01-18 23-29-07 It's done. And it looks like it's working.

MrDiFazio commented 5 months ago

Снимок экрана от 2024-01-18 23-33-06 But there are questions. Which one to choose?

D3vil0p3r commented 5 months ago

Try the 1st one.

MrDiFazio commented 5 months ago

Снимок экрана от 2024-01-18 23-46-35 At the end I get this error: An unresolvable package conflict was detected. Failed to prepare transaction (conflicting dependencies)

Resolved: sudo pacman -Sy jdk-openjdk

MrDiFazio commented 5 months ago

Снимок экрана от 2024-01-19 00-10-04 It's worked! Thanks for help!

MrDiFazio commented 5 months ago

Снимок экрана от 2024-01-19 00-58-27 Updated, but i have this isuses Снимок экрана от 2024-01-19 01-01-41

D3vil0p3r commented 5 months ago

It is the TokyoNight theme that is bugged. U can try to change it or manually reapplying it. I already informed the theme dev

MrDiFazio commented 5 months ago

It is the TokyoNight theme that is bugged. U can try to change it or manually reapplying it. I already informed the theme dev

I changed it manually. Unfortunately, it still doesn't work. So I'll wait.