OpenVoiceOS / ovos-installer

Open Voice OS and/or HiveMind installer using Ansible with an intuitive and easy Text-based User Interface
https://www.openvoiceos.org
69 stars 21 forks source link

Fail the installer if requirements fail #18

Closed goldyfruit closed 10 months ago

goldyfruit commented 10 months ago
Hit:1 http://deb.debian.org/debian bookworm InRelease
Get:2 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:3 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
Get:4 http://archive.raspberrypi.com/debian bookworm InRelease [23.6 kB]
Get:5 http://deb.debian.org/debian-security bookworm-security/main armhf Packages [96.0 kB]
Get:6 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages [98.5 kB]
Get:7 http://deb.debian.org/debian-security bookworm-security/main Translation-en [58.7 kB]
Get:8 http://deb.debian.org/debian-security bookworm-security/contrib Translation-en [372 B]
Get:9 http://deb.debian.org/debian bookworm-updates/main armhf Packages [6,648 B]
Get:10 http://deb.debian.org/debian bookworm-updates/main arm64 Packages [6,672 B]
Get:11 http://deb.debian.org/debian bookworm-updates/main Translation-en [5,204 B]
Get:12 http://archive.raspberrypi.com/debian bookworm/main armhf Packages [346 kB]
Get:13 http://archive.raspberrypi.com/debian bookworm/main arm64 Packages [338 kB]
Fetched 1,080 kB in 11s (96.2 kB/s)
Reading package lists...
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1329 (apt)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
The virtual environment was not created successfully because ensurepip is not
available.  On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.

    apt install python3.11-venv

You may need to use sudo with that command.  After installing the python3-venv
package, recreate your virtual environment.

Failing command: /home/goldyfruit/.venvs/ovos-installer/bin/python3

utils/common.sh: line 187: pip3: command not found
utils/common.sh: line 207: pip3: command not found
utils/common.sh: line 208: ansible-galaxy: command not found
goldyfruit commented 10 months ago

Fixed by https://github.com/OpenVoiceOS/ovos-installer/commit/4af452ad0c2a21582105d469001639ac4e7646cb