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

No install Ubuntu #48

Open
artscripts opened this issue Sep 18, 2021 · 7 comments
Open

No install Ubuntu #48

artscripts opened this issue Sep 18, 2021 · 7 comments

Comments

@artscripts
Copy link

Hello, I can not install the agent on ubuntu. When you send the command shh, an error pops up and nothing is installed.
wget --no-check-certificate -N https://www.nixstats.com/nixstatsagent.sh && bash nixstatsagent.sh

Tell me how to fix this?

@vfuse
Copy link
Contributor

vfuse commented Sep 20, 2021

Which version of Ubuntu? Please take a look at nixstatsagent.log it should be in the same directory as the installer. You can send the installer log to [email protected]

@artscripts
Copy link
Author

artscripts commented Sep 20, 2021 via email

@artscripts
Copy link
Author

I wrote to you in the mail and sent a log

@vfuse
Copy link
Contributor

vfuse commented Sep 22, 2021

I don't see any e-mail from your side. Most likely on ubuntu it is a broken repository, can you run apt update successfully or does it return an error?

@artscripts
Copy link
Author

I sent you a letter 2 times by mail, but apparently the letters do not reach. Here is a part of the log that is here

Hit:1 http://zabbix.repo.timeweb.ru/ubuntu bionic InRelease
Hit:2 http://nginx.org/packages/mainline/ubuntu bionic InRelease
Hit:3 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease
Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:5 http://apt.vestacp.com/bionic bionic InRelease
Hit:6 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Hit:7 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:8 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
python3-pip is already the newest version (9.0.1-2.3~ubuntu1.18.04.5).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Collecting nixstatsagent
Downloading nixstatsagent-1.2.17.tar.gz (34 kB)
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-5_xwh75i/nixstatsagent_21973d527a5a463faff5cc4b583a8f1c/setup.py'"'"'; file='"'"'/tmp/pip-install-5_xwh75i/nixstatsagent_21973d527a5a463faff5cc4b583a8f1c/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-tej478oe
cwd: /tmp/pip-install-5_xwh75i/nixstatsagent_21973d527a5a463faff5cc4b583a8f1c/
Complete output (3 lines):
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'setuptools'
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/e3/23/53b561c7c7adfb67e6075a7b09988172c8bd45e1a3fcb43cb2560c9a5c76/nixstatsagent-1.2.17.tar.gz#sha256=2ab083f187c113d1ad5c4630a8b709e87b32b2a5acdaa73da52683d5edad687a (from https://pypi.org/simple/nixstatsagent/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading nixstatsagent-1.2.12.tar.gz (34 kB)
ERROR: Command errored out with exit status 1:

@vfuse
Copy link
Contributor

vfuse commented Sep 23, 2021

It seems like setuptools is missing in your system: apt install python-setuptools

@artscripts
Copy link
Author

unfortunately this does not solve the problem

apt install python-setuptools

Reading package lists... Done
Building dependency tree
Reading state information... Done
python-setuptools is already the newest version (39.0.1-2).
The following packages were automatically installed and are no longer required:
gyp libc-ares2 libhttp-parser2.7.1 libjs-async libjs-inherits libjs-node-uuid libuv1 libuv1-dev nodejs-doc
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants