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

MrDiFazio opened this issue · comments

Athena OS version

Anthena OS Rolling

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.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

Error about athena.db during the usage of pacmancommand

  • Solution: edit /etc/pacman.conf and replace [athena-repository] by [athena]. Then replace the content of /etc/pacman.d/athena-mirrorlist by:
# Global
Server = https://athena-os.github.io/$repo-repository/$arch

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

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

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

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

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

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

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

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

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

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/

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.

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.

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

Try to run init-keys command.

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

sudo pacman-key --init
sudo pacman-key --populate
sudo pacman -Syy

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

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

Try the 1st one.

Снимок экрана от 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

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

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

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

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.

  • conflicting files:
    • tokyonight-gtk-theme-git: /usr/share/themes/Tokyonight-Dark-B/cinnamon/assets/add-workspace-active.svg уже exists on the file system (owner— athena-blue-eyes-theme)