3

Whenever I try to install any new package or upgrade a package, it fails with below mentioned error:

Setting up install-info (4.13a.dfsg.1-5ubuntu1) ...
/etc/environment: line 1: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games: No such file or directory

dpkg: error processing install-info (--configure):
 subprocess installed post-installation script returned error exit status 1

No apport report written because MaxReports is reached already
Errors were encountered while processing:
 install-info
E: Sub-process /usr/bin/dpkg returned an error code (1)

I checked all the directories mentioned in PATH variable exists.

mahima
  • 31

1 Answers1

1

Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command below.

sudo dpkg -r install-info
sudo apt-get update
sudo apt-get install -f
sudo apt-get upgrade
Mitch
  • 107,631
Raja G
  • 102,391
  • 106
  • 255
  • 328