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]: installation fail #104

Open Mohadib2 opened 5 months ago

Mohadib2 commented 5 months ago

Athena OS version

athena-rolling

Which environment or technology are you using?

Kernel version

No response

Involved software

No response

Repro steps

hello i have problem installing the latest iso the installation ends with errors of levon signature in the live environment i managed to fix the problem and installed keyring and run pacman -Syu and all ran well but when installed to to hd i got the errors again and it seems setup didnot install lot of needed packages include the grub and i cant boot to the system.

i tried to follow this article https://wiki.archlinux.org/title/GRUB

mount the linux partition to /mnt mount the boot partition to the /mnt/boot chroot to /mnt there where lot of missing binaries even nano was not there so i copy it from the live /bin tried to install grub and efibootmgr bot the lovon error prevented me to do so.

strap.sh fix did not work tried comment out everything in /etc/pacman.d/mirrorlist, add Server = https://www.blackarch.org/ at the bottom, run pacman -Scc, pacman-key --refresh-keys and pacman -Syy

rm /var/lib/pacman/sync/blackarch.db.sig pacman-key --init pacman-key --populate

no luck siglevel = optional trustall

still getting the same error

any suggestions? thank you

Expected behavior

install correctly

Actual behavior

install fail

Diagnostic logs

No response

D3vil0p3r commented 5 months ago

Before running the install, download https://github.com/BlackArch/blackarch-site/blob/master/strap.sh and run it. If no errors are produced, run the installer.

Mohadib2 commented 5 months ago

script run without errors but installation still have the same problem

Mohadib2 commented 5 months ago

For now there is no way to install athena, If you manage to update the iso plz let me know. And if there is a manual installation instructions without the automatic installer plz send it to me and i will try to install manually. Thank you

D3vil0p3r commented 5 months ago

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

HHhne commented 5 months ago

INFO ] 19:12:16 :: Synchronizing package databases... [ ERROR ] 19:12:16 pacman err (exit code 1): error: failed to synchronize all databases (no servers configured for repository) [ ERROR ] 19:12:16 The package manager failed with exit code: 1 [ INFO ] 19:12:16 The system has 8 cores [ INFO ] 19:12:16 Sed '#MAKEFLAGS=.' to 'MAKEFLAGS="-j8"' in file /mnt/etc/makepkg.conf [ INFO ] 19:12:16 Set available cores on MAKEFLAGS [ INFO ] 19:12:16 Sed '#BUILDDIR=.' to 'BUILDDIR=/tmp/makepkg' in file /mnt/etc/makepkg.conf [ INFO ] 19:12:16 Improving compilation times [ INFO ] 19:12:16 Sed 'COMPRESSXZ=(xz -c -z -)' to 'COMPRESSXZ=(xz -c -z - --threads=0)' in file /mnt/etc/makepkg.conf [ INFO ] 19:12:16 Changing the compression settings [ INFO ] 19:12:16 Sed 'COMPRESSZST=(zstd -c -z -q -)' to 'COMPRESSZST=(zstd -c -z -q - --threads=0)' in file /mnt/etc/makepkg.conf [ INFO ] 19:12:16 Changing the compression settings [ INFO ] 19:12:16 Sed 'PKGEXT='.pkg.tar.xz'' to 'PKGEXT='.pkg.tar.zst'' in file /mnt/etc/makepkg.conf [ INFO ] 19:12:16 Changing the compression settings [ INFO ] 19:12:16 AMD CPU detected. [ INFO ] 19:12:16 :: Synchronizing package databases... [ ERROR ] 19:12:16 pacman err (exit code 1): error: failed to synchronize all databases (no servers configured for repository) [ ERROR ] 19:12:16 The package manager failed with exit code: 1 [ INFO ] 19:12:16 :: Synchronizing package databases... [ ERROR ] 19:12:16 pacman err (exit code 1): error: failed to synchronize all databases (no servers configured for repository) [ ERROR ] 19:12:16 The package manager failed with exit code: 1 [ INFO ] 19:12:17 Enable vmware-vmblock-fuse [ INFO ] 19:12:17 Enable vmtoolsd sed: can't read /mnt/etc/mkinitcpio.conf: No such file or directory [ INFO ] 19:12:17 Set vmware modules sed: can't read /mnt/etc/mkinitcpio.conf: No such file or directory [ INFO ] 19:12:17 Set mkinitcpio hooks [ INFO ] 19:12:17 Copy /etc/skel/.bashrc to /mnt/etc/skel/.bashrc [ ERROR ] 19:12:17 Copy /mnt/usr/lib/os-release-athena to /mnt/usr/lib/os-release: Failed with error No such file or directory (os error 2)

D3vil0p3r commented 5 months ago

Need the entire /tmp/aegis.log file

HHhne commented 5 months ago

aegis.log

HHhne commented 5 months ago

[Uploading aegis.log…]() new

D3vil0p3r commented 5 months ago

aegis.log

If you are in China, you should use a VPN

D3vil0p3r commented 2 weeks ago

@Mohadib2 the new ISO does not use those keys anymore. Get it by https://github.com/Athena-OS/athena/releases/tag/v23.11