Installation log

mail@pastecode.io avatar
unknown
plain_text
2 years ago
9.1 kB
4
Indexable
Never
Hit:1 http://packages.microsoft.com/repos/code stable InRelease
Hit:2 https://deb.nodesource.com/node_16.x focal InRelease
Ign:3 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease
Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:5 https://dl.google.com/linux/chrome/deb stable InRelease
Ign:6 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 InRelease
Hit:7 http://in.archive.ubuntu.com/ubuntu focal InRelease
Hit:8 http://ppa.launchpad.net/deluge-team/stable/ubuntu focal InRelease
Hit:9 http://in.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:10 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release
Hit:11 http://in.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:13 https://download.sublimetext.com apt/stable/ InRelease
Hit:14 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 Release
Reading package lists...
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 46266 (apt-get)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
Requirement already satisfied: pip in /usr/local/lib/python3.8/dist-packages (22.2.2)
Requirement already satisfied: setuptools in /usr/local/lib/python3.8/dist-packages (65.3.0)
Requirement already satisfied: wheel in /usr/local/lib/python3.8/dist-packages (0.37.1)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Collecting sqlalchemy==1.4.41
  Using cached SQLAlchemy-1.4.41-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB)
Collecting flask==1.1.2
  Using cached Flask-1.1.2-py2.py3-none-any.whl (94 kB)
Requirement already satisfied: passlib==1.7.4 in /usr/local/lib/python3.8/dist-packages (from -r /var/www/sample-platform/requirements.txt (line 3)) (1.7.4)
Collecting pymysql==1.0.2
  Using cached PyMySQL-1.0.2-py3-none-any.whl (43 kB)
Collecting python-magic==0.4.27
  Using cached python_magic-0.4.27-py2.py3-none-any.whl (13 kB)
Collecting flask-wtf==0.14.3
  Using cached Flask_WTF-0.14.3-py2.py3-none-any.whl (13 kB)
Collecting gunicorn==20.1.0
  Using cached gunicorn-20.1.0-py3-none-any.whl (79 kB)
Collecting githubpy==1.1.0
  Using cached githubpy-1.1.0-py3-none-any.whl
Collecting requests==2.28.1
  Using cached requests-2.28.1-py3-none-any.whl (62 kB)
Collecting pyIsEmail==1.4.0
  Using cached pyIsEmail-1.4.0-py2.py3-none-any.whl (25 kB)
Collecting GitPython==3.1.27
  Using cached GitPython-3.1.27-py3-none-any.whl (181 kB)
Collecting xmltodict==0.13.0
  Using cached xmltodict-0.13.0-py2.py3-none-any.whl (10.0 kB)
Collecting lxml==4.9.1
  Using cached lxml-4.9.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (6.9 MB)
Requirement already satisfied: pytz==2022.2 in /usr/local/lib/python3.8/dist-packages (from -r /var/www/sample-platform/requirements.txt (line 14)) (2022.2)
Collecting tzlocal==4.1
  Using cached tzlocal-4.1-py3-none-any.whl (19 kB)
Collecting libvirt-python==7.1.0
  Using cached libvirt-python-7.1.0.tar.gz (215 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting markdown2==2.4.3
  Using cached markdown2-2.4.3-py2.py3-none-any.whl (35 kB)
Collecting flask-migrate==3.1.0
  Using cached Flask_Migrate-3.1.0-py3-none-any.whl (20 kB)
Collecting flask-script==2.0.6
  Using cached Flask_Script-2.0.6-py3-none-any.whl
Collecting email_validator
  Using cached email_validator-1.3.0-py2.py3-none-any.whl (22 kB)
Collecting gitdb==4.0.9
  Using cached gitdb-4.0.9-py3-none-any.whl (63 kB)
Collecting Werkzeug==1.0.1
  Using cached Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
Collecting WTForms==2.3.3
  Using cached WTForms-2.3.3-py2.py3-none-any.whl (169 kB)
Requirement already satisfied: MarkupSafe<=2.0.1 in /usr/lib/python3/dist-packages (from -r /var/www/sample-platform/requirements.txt (line 24)) (1.1.0)
Collecting jinja2==3.0.2
  Using cached Jinja2-3.0.2-py3-none-any.whl (133 kB)
Collecting itsdangerous==2.0.1
  Using cached itsdangerous-2.0.1-py3-none-any.whl (18 kB)
Collecting greenlet!=0.4.17
  Using cached greenlet-1.1.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (157 kB)
Requirement already satisfied: click>=5.1 in /usr/lib/python3/dist-packages (from flask==1.1.2->-r /var/www/sample-platform/requirements.txt (line 2)) (7.0)
Requirement already satisfied: setuptools>=3.0 in /usr/local/lib/python3.8/dist-packages (from gunicorn==20.1.0->-r /var/www/sample-platform/requirements.txt (line 7)) (65.3.0)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3/dist-packages (from requests==2.28.1->-r /var/www/sample-platform/requirements.txt (line 9)) (1.25.8)
Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3/dist-packages (from requests==2.28.1->-r /var/www/sample-platform/requirements.txt (line 9)) (2.8)
Collecting charset-normalizer<3,>=2
  Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests==2.28.1->-r /var/www/sample-platform/requirements.txt (line 9)) (2019.11.28)
Requirement already satisfied: dnspython>=1.15.0 in /usr/lib/python3/dist-packages (from pyIsEmail==1.4.0->-r /var/www/sample-platform/requirements.txt (line 10)) (1.16.0)
Collecting backports.zoneinfo
  Using cached backports.zoneinfo-0.2.1-cp38-cp38-manylinux1_x86_64.whl (74 kB)
Collecting pytz-deprecation-shim
  Using cached pytz_deprecation_shim-0.1.0.post0-py2.py3-none-any.whl (15 kB)
Collecting alembic>=0.7
  Using cached alembic-1.8.1-py3-none-any.whl (209 kB)
Collecting Flask-SQLAlchemy>=1.0
  Using cached Flask_SQLAlchemy-2.5.1-py2.py3-none-any.whl (17 kB)
Collecting smmap<6,>=3.0.1
  Using cached smmap-5.0.0-py3-none-any.whl (24 kB)
Collecting MarkupSafe<=2.0.1
  Using cached MarkupSafe-2.0.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (30 kB)
Requirement already satisfied: Mako in /usr/lib/python3/dist-packages (from alembic>=0.7->flask-migrate==3.1.0->-r /var/www/sample-platform/requirements.txt (line 18)) (1.1.0)
Collecting importlib-metadata
  Using cached importlib_metadata-4.12.0-py3-none-any.whl (21 kB)
Collecting importlib-resources
  Using cached importlib_resources-5.9.0-py3-none-any.whl (33 kB)
Collecting tzdata
  Using cached tzdata-2022.2-py2.py3-none-any.whl (336 kB)
Collecting zipp>=0.5
  Using cached zipp-3.8.1-py3-none-any.whl (5.6 kB)
Building wheels for collected packages: libvirt-python
  Building wheel for libvirt-python (setup.py): started
  Building wheel for libvirt-python (setup.py): finished with status 'error'
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [16 lines of output]
      Package libvirt was not found in the pkg-config search path.
      Perhaps you should add the directory containing `libvirt.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'libvirt' found
      Package libvirt was not found in the pkg-config search path.
      Perhaps you should add the directory containing `libvirt.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'libvirt' found
      running bdist_wheel
      running build
      /usr/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt
      Package libvirt was not found in the pkg-config search path.
      Perhaps you should add the directory containing `libvirt.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'libvirt' found
      error: command '/usr/bin/pkg-config' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for libvirt-python
  Running setup.py clean for libvirt-python
Failed to build libvirt-python
Installing collected packages: libvirt-python, githubpy, zipp, xmltodict, Werkzeug, tzdata, smmap, python-magic, pymysql, pyIsEmail, MarkupSafe, markdown2, lxml, itsdangerous, gunicorn, greenlet, email_validator, charset-normalizer, backports.zoneinfo, WTForms, sqlalchemy, requests, pytz-deprecation-shim, jinja2, importlib-resources, importlib-metadata, gitdb, tzlocal, GitPython, flask, alembic, flask-wtf, Flask-SQLAlchemy, flask-script, flask-migrate
  Attempting uninstall: libvirt-python
    Found existing installation: libvirt-python 6.1.0
ERROR: Cannot uninstall 'libvirt-python'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
mysql: [Warning] Using a password on the command line interface can be insecure.
ln: failed to create symbolic link '/etc/nginx/sites-enabled/platform': File exists
Job for nginx.service failed.
See "systemctl status nginx.service" and "journalctl -xe" for details.