Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] failing installation #706

Open
1 task done
highrider0602 opened this issue Nov 17, 2023 · 4 comments
Open
1 task done

[BUG] failing installation #706

highrider0602 opened this issue Nov 17, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@highrider0602
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Empire Version

5.7.3

Python Version

3.116

Operating System

kali linux

Database

SQLite

Current Behavior

so the issue comes during the installation. everything seems to go fine, i watch the terminal and see no errors until the end it says installation failed. heres the output from terminal

-o build/obj/lsbom.o -c -O2 -g0 -s -Wall src/lsbom.cpp
g++ -o build/bin/lsbom build/obj/lsbom.o build/obj/printnode.o build/obj/crc32.o
g++ -o build/obj/ls4mkbom.o -c -O2 -g0 -s -Wall src/ls4mkbom.cpp
g++ -o build/bin/ls4mkbom build/obj/ls4mkbom.o build/obj/printnode.o build/obj/crc32.o
gzip -c man/mkbom.1 > build/man/mkbom.1.gz
gzip -c man/dumpbom.1 > build/man/dumpbom.1.gz
gzip -c man/lsbom.1 > build/man/lsbom.1.gz
gzip -c man/ls4mkbom.1 > build/man/ls4mkbom.1.gz
install -d /usr/bin
install -d /usr/share/man/man1
install -m 0755 build/bin/mkbom build/bin/dumpbom build/bin/lsbom build/bin/ls4mkbom /usr/bin
install -m 0644 build/man/mkbom.1.gz build/man/dumpbom.1.gz build/man/lsbom.1.gz build/man/ls4mkbom.1.gz /usr/share/man/man1
[>] Do you want to install OpenJDK? It is only needed to generate a .jar stager (y/N)? y
[] Installing OpenJDK
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
default-jdk is already the newest version (2:1.17-75).
The following packages were automatically installed and are no longer required:
libdav1d6 libjsoncpp25 libphonon4qt5-data libplacebo292
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.
[
] Installing dotnet for C# agents and modules
--2023-11-16 22:51:36-- https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb
Resolving packages.microsoft.com (packages.microsoft.com)... 13.66.3.153
Connecting to packages.microsoft.com (packages.microsoft.com)|13.66.3.153|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3124 (3.1K) [application/octet-stream]
Saving to: ‘packages-microsoft-prod.deb’

packages-microsoft-prod.deb 100%[========================================================================================================================================>] 3.05K --.-KB/s in 0s

2023-11-16 22:51:36 (51.1 MB/s) - ‘packages-microsoft-prod.deb’ saved [3124/3124]

(Reading database ... 882376 files and directories currently installed.)
Preparing to unpack packages-microsoft-prod.deb ...
Unpacking packages-microsoft-prod (1.0-debian10.1) over (1.0-debian10.1) ...
Setting up packages-microsoft-prod (1.0-debian10.1) ...
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://deb.debian.org/debian buster-updates InRelease
Ign:3 http://dl.google.com/linux/chrome-remote-desktop/deb stable InRelease
Hit:4 http://deb.debian.org/debian bullseye InRelease
Hit:5 http://security.debian.org/debian-security buster/updates InRelease
Hit:6 http://deb.debian.org/debian bullseye-updates InRelease
Hit:7 http://security.debian.org/debian-security bullseye-security InRelease
Hit:8 http://dl.google.com/linux/chrome-remote-desktop/deb stable Release
Hit:9 http://deb.debian.org/debian bullseye-backports InRelease
Hit:10 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:11 https://deb.opera.com/opera-stable stable InRelease
Hit:12 https://updates.signal.org/desktop/apt xenial InRelease
Get:14 https://packages.microsoft.com/debian/10/prod buster InRelease [6517 B]
Hit:15 https://ngrok-agent.s3.amazonaws.com buster InRelease
Hit:13 http://mirrors.jevincanders.net/kali kali-rolling InRelease
Ign:17 https://deb.i2p2.de unstable InRelease
Ign:17 https://deb.i2p2.de unstable InRelease
Ign:17 https://deb.i2p2.de unstable InRelease
Err:17 https://deb.i2p2.de unstable InRelease
Could not connect to deb.i2p2.de:443 (193.150.121.17), connection timed out
Fetched 6517 B in 37s (174 B/s)
Reading package lists... Done
W: Skipping acquire of configured file 'maindeb/source/Sources' as repository 'http://deb.debian.org/debian bullseye-updates InRelease' doesn't have the component 'maindeb' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'bullseye-backports/source/Sources' as repository 'http://deb.debian.org/debian bullseye-updates InRelease' doesn't have the component 'bullseye-backports' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'http://deb.debian.org/debian/source/Sources' as repository 'http://deb.debian.org/debian bullseye-updates InRelease' doesn't have the component 'http://deb.debian.org/debian' (component misspelt in sources.list?)
W: Failed to fetch https://deb.i2p2.de/dists/unstable/InRelease Could not connect to deb.i2p2.de:443 (193.150.121.17), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
apt-transport-https is already the newest version (2.7.6).
dotnet-sdk-6.0 is already the newest version (6.0.417-1).
The following packages were automatically installed and are no longer required:
libdav1d6 libjsoncpp25 libphonon4qt5-data libplacebo292
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.
[>] Do you want to install Nim and MinGW? It is only needed to generate a Nim stager (y/N)? y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
curl is already the newest version (8.4.0-2).
git is already the newest version (1:2.42.0-1).
gcc is already the newest version (4:13.2.0-1).
The following packages were automatically installed and are no longer required:
libdav1d6 libjsoncpp25 libphonon4qt5-data libplacebo292
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.
choosenim-init: Downloading choosenim-0.8.4_linux_amd64
Prompt: Symlink for 'nimble' detected in '/root/.nimble/bin'. Can I remove it? [y/N]
Answer: Exception: EOF reached
Error: /__w/choosenim/choosenim/src/choosenim.nim(350) choosenim
... /__w/choosenim/choosenim/src/choosenim.nim(340) performAction
... /__w/choosenim/choosenim/src/choosenim.nim(128) choose
... /__w/choosenim/choosenim/src/choosenim.nim(113) chooseVersion
... /__w/choosenim/choosenim/src/choosenim.nim(60) safeSwitchTo
... Installation failed

I follow the intructions on the main git repo README.md step by step with no issues until that shows install failed, I thought maybe i could try doing it in a virtualenv as well with no luck. Any advice would be appreciated

Expected Behavior

I would llike to be able to install and use the tool.

Steps To Reproduce

  1. environment = NAME="Kali GNU/Linux"
    VERSION_ID="2023.3"
    VERSION="2023.3"

2 using the terminator terminal,

  1. followed the step by step on the README.md on github copied each command in order

Anything else?

No response

@highrider0602 highrider0602 added the bug Something isn't working label Nov 17, 2023
@Cx01N
Copy link

Cx01N commented Nov 25, 2023

Do you have access to the internet? It's odd that it reports that you cannot access these addresses.
"Could not connect to deb.i2p2.de:443 (193.150.121.17), connection timed out"

@highrider0602
Copy link
Author

oh that is a repository that gets called when i run apt update. but yes i definitely have internet access

@highrider0602
Copy link
Author

removed that repository from my sources.list and ran the install again and below is what it says, still the same error. everything else along the install had no error. just this last part. right when it gets to " Prompt: Symlink for 'nimble' detected in '/root/.nimble/bin'. Can I remove it? [y/N]" Prompt: Symlink for 'nimble' detected in '/root/.nimble/bin'. Can I remove it? [y/N]"

0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
[*] Installing dotnet for C# agents and modules
--2023-11-25 11:49:15-- https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb
Resolving packages.microsoft.com (packages.microsoft.com)... 40.74.238.15
Connecting to packages.microsoft.com (packages.microsoft.com)|40.74.238.15|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3124 (3.1K) [application/octet-stream]
Saving to: ‘packages-microsoft-prod.deb’

packages-microsoft-prod.deb 100%[========================================================================================================================================>] 3.05K --.-KB/s in 0s

2023-11-25 11:49:16 (60.4 MB/s) - ‘packages-microsoft-prod.deb’ saved [3124/3124]

(Reading database ... 882847 files and directories currently installed.)
Preparing to unpack packages-microsoft-prod.deb ...
Unpacking packages-microsoft-prod (1.0-debian10.1) over (1.0-debian10.1) ...
Setting up packages-microsoft-prod (1.0-debian10.1) ...
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://deb.debian.org/debian buster-updates InRelease
Hit:3 http://security.debian.org/debian-security buster/updates InRelease
Hit:4 http://security.debian.org/debian-security bullseye-security InRelease
Hit:5 http://deb.debian.org/debian bullseye InRelease
Hit:6 http://deb.debian.org/debian bullseye-updates InRelease
Hit:8 https://ngrok-agent.s3.amazonaws.com buster InRelease
Hit:7 http://mirrors.jevincanders.net/kali kali-rolling InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
apt-transport-https is already the newest version (2.7.6).
dotnet-sdk-6.0 is already the newest version (6.0.417-1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
[>] Do you want to install Nim and MinGW? It is only needed to generate a Nim stager (y/N)? y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
curl is already the newest version (8.4.0-2).
git is already the newest version (1:2.42.0-1).
gcc is already the newest version (4:13.2.0-1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
choosenim-init: Downloading choosenim-0.8.4_linux_amd64
Prompt: Symlink for 'nimble' detected in '/root/.nimble/bin'. Can I remove it? [y/N]
Answer: Exception: EOF reached
Error: /__w/choosenim/choosenim/src/choosenim.nim(350) choosenim
... /__w/choosenim/choosenim/src/choosenim.nim(340) performAction
... /__w/choosenim/choosenim/src/choosenim.nim(128) choose
... /__w/choosenim/choosenim/src/choosenim.nim(113) chooseVersion
... /__w/choosenim/choosenim/src/choosenim.nim(60) safeSwitchTo
... Installation failed

@Cx01N
Copy link

Cx01N commented Jan 25, 2024

There seem to be a lot of issues with the nim package. I'm looking into what our options are right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants