Installation problem 16.04 ubuntu

--2016-06-30 13:03:35--  link://raw.githubusercontent.com/frappe/bench/develop/playbooks/install.py
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.100.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.100.133|:443... connected.
link request sent, awaiting response... 200 OK
Length: 8055 (7.9K) [text/plain]
Saving to: ‘install.py.1’

install.py.1        100%[===================>]   7.87K  --.-KB/s    in 0s      

2016-06-30 13:03:35 (22.2 MB/s) - ‘install.py.1’ saved [8055/8055]

innolearn@innolearn-Lenovo-B460:~$ sudo python install.py.1 --develop
[sudo] password for innolearn: 
Sorry, try again.
[sudo] password for innolearn: 
Sorry, try again.
[sudo] password for innolearn: 
Hit:1 link://in.archive.ubuntu.com/ubuntu xenial InRelease                     
Hit:2 link://in.archive.ubuntu.com/ubuntu xenial-updates InRelease             
Hit:3 link://in.archive.ubuntu.com/ubuntu xenial-backports InRelease           
Get:4 link://ams2.mirrors.digitalocean.com/mariadb/repo/10.0/ubuntu xenial InRelease [3,874 B]
Get:5 link://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]    
Ign:4 link://ams2.mirrors.digitalocean.com/mariadb/repo/10.0/ubuntu xenial InRelease
Hit:6 link://deb.nodesource.com/node_0.12 xenial InRelease   
Fetched 98.3 kB in 3s (29.1 kB/s)                              
Reading package lists... Done
W: GPG error: link://ams2.mirrors.digitalocean.com/mariadb/repo/10.0/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F1656F24C74CD1D8
W: The repository 'link://ams2.mirrors.digitalocean.com/mariadb/repo/10.0/ubuntu xenial InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: There is no public key available for the following key IDs:
F1656F24C74CD1D8  
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version (12.1ubuntu2).
git is already the newest version (1:2.7.4-0ubuntu1).
libffi-dev is already the newest version (3.2.1-4).
python-dev is already the newest version (2.7.11-1).
python-setuptools is already the newest version (20.7.0-1).
libssl-dev is already the newest version (1.0.2g-1ubuntu4.1).
0 upgraded, 0 newly installed, 0 to remove and 273 not upgraded.
The directory '/home/innolearn/.cache/pip/link' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/innolearn/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.

Requirement already up-to-date: setuptools in /usr/local/lib/python2.7/dist-packages
Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages
The directory '/home/innolearn/.cache/pip/link' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/innolearn/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already satisfied (use --upgrade to upgrade): ansible==2.0.2.0 in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied (use --upgrade to upgrade): paramiko in /usr/local/lib/python2.7/dist-packages (from ansible==2.0.2.0)
Requirement already satisfied (use --upgrade to upgrade): jinja2 in /usr/local/lib/python2.7/dist-packages (from ansible==2.0.2.0)
Requirement already satisfied (use --upgrade to upgrade): PyYAML in /usr/local/lib/python2.7/dist-packages (from ansible==2.0.2.0)
Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/local/lib/python2.7/dist-packages (from ansible==2.0.2.0)
Requirement already satisfied (use --upgrade to upgrade): pycrypto>=2.6 in /usr/local/lib/python2.7/dist-packages (from ansible==2.0.2.0)
Requirement already satisfied (use --upgrade to upgrade): pyasn1>=0.1.7 in /usr/local/lib/python2.7/dist-packages (from paramiko->ansible==2.0.2.0)
Requirement already satisfied (use --upgrade to upgrade): cryptography>=1.1 in /usr/local/lib/python2.7/dist-packages (from paramiko->ansible==2.0.2.0)
Requirement already satisfied (use --upgrade to upgrade): MarkupSafe in /usr/local/lib/python2.7/dist-packages (from jinja2->ansible==2.0.2.0)
Requirement already satisfied (use --upgrade to upgrade): idna>=2.0 in /usr/local/lib/python2.7/dist-packages (from cryptography>=1.1->paramiko->ansible==2.0.2.0)
Requirement already satisfied (use --upgrade to upgrade): six>=1.4.1 in /usr/local/lib/python2.7/dist-packages (from cryptography>=1.1->paramiko->ansible==2.0.2.0)
Requirement already satisfied (use --upgrade to upgrade): enum34 in /usr/local/lib/python2.7/dist-packages (from cryptography>=1.1->paramiko->ansible==2.0.2.0)
Requirement already satisfied (use --upgrade to upgrade): ipaddress in /usr/local/lib/python2.7/dist-packages (from cryptography>=1.1->paramiko->ansible==2.0.2.0)
Requirement already satisfied (use --upgrade to upgrade): cffi>=1.4.1 in /usr/local/lib/python2.7/dist-packages (from cryptography>=1.1->paramiko->ansible==2.0.2.0)
Requirement already satisfied (use --upgrade to upgrade): pycparser in /usr/local/lib/python2.7/dist-packages (from cffi>=1.4.1->cryptography>=1.1->paramiko->ansible==2.0.2.0)
Traceback (most recent call last):
  File "install.py.1", line 263, in <module>
    install_bench(args)
  File "install.py.1", line 70, in install_bench
    raise Exception('Please run this script as a non-root user with sudo privileges, but without using sudo or pass --user=USER')
Exception: Please run this script as a non-root user with sudo privileges, but without using sudo or pass --user=USER
1 Like

Run it without sudo?

1 Like

@bhagyashree1 thanks for reporting this! I’ve pushed a fix, so can you download the new install.py and run it again with sudo?

1 Like

Ya sir.got it.Thanku