nicolargo / glancesautoinstall

Glances Auto Install script
MIT License
60 stars 42 forks source link

Install script isn't working on Ubuntu 20.04 #41

Open somera opened 4 years ago

somera commented 4 years ago

The script is not working on Ubuntu 20.04

[So Aug 02][14:52:00][root]@[nuc-mini-server]:[~]# curl -L https://bit.ly/glances | /bin/bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   167  100   167    0     0    521      0 --:--:-- --:--:-- --:--:--   521
100  5081  100  5081    0     0   7353      0 --:--:-- --:--:-- --:--:-- 4961k
Detected system: Ubuntu
...
Es wurden 777 kB in 1 s geholt (633 kB/s).
Paketlisten werden gelesen... Fertig
W: --force-yes ist veraltet, verwenden Sie stattdessen eine der Optionen, die mit --allow beginnen.
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Hinweis: »python-dev-is-python2« wird an Stelle von »python-dev« gewählt.
W: --force-yes ist veraltet, verwenden Sie stattdessen eine der Optionen, die mit --allow beginnen.
E: Paket python-pip kann nicht gefunden werden.
nicolargo commented 4 years ago

A workaround here: https://github.com/nicolargo/glances/issues/1719#issue-694038060

abdomuftah commented 4 years ago

replace "python-pip" withe "python3-pip" in install.sh if you install pip3

Ivar418 commented 3 years ago

all python-pip need to be replaced with python3-pip and all pip commands (like pip install) with pip3 and possibly some others that use python3- instead of python-

thats how i got it working on linuxmint