dinesh@dinesh-G3-3579:~$ sudo apt-get install python-setuptools python-virtualenv python3-dev git gcc node-less nodejs postfix
[sudo] password for dinesh:
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-setuptools is already the newest version (39.0.1-2).
gcc is already the newest version (4:7.3.0-3ubuntu2.1).
git is already the newest version (1:2.17.1-1ubuntu0.4).
nodejs is already the newest version (8.10.0~dfsg-2ubuntu0.4).
The following packages were automatically installed and are no longer required:
liblockfile-bin liblockfile1 libsigsegv2 lockfile-progs m4 sendmail-base
sendmail-cf sensible-mda
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
dh-python libpython3-dev libpython3.6-dev node-amdefine node-source-map
python3.6-dev
Suggested packages:
postfix-mysql postfix-pgsql postfix-ldap postfix-pcre postfix-lmdb
postfix-sqlite sasl2-bin dovecot-common resolvconf postfix-cdb postfix-doc
The following packages will be REMOVED:
sendmail sendmail-bin
The following NEW packages will be installed:
dh-python libpython3-dev libpython3.6-dev node-amdefine node-less
node-source-map postfix python-virtualenv python3-dev python3.6-dev
0 upgraded, 10 newly installed, 2 to remove and 262 not upgraded.
1 not fully installed or removed.
Need to get 0 B/46.7 MB of archives.
After this operation, 79.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
Setting up install-info (6.5.0.dfsg.1-2) ...
/usr/sbin/update-info-dir: 2: /etc/environment: Syntax error: Unterminated quoted string
dpkg: error processing package install-info (--configure):
installed install-info package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
install-info
E: Sub-process /usr/bin/dpkg returned an error code (1)