There is an error during install jre1.8.0.72. How should I remove it? I get an error during purge:
sudo apt-get purge jre1.8.0-72
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
jre1.8.0-72
0 to upgrade, 0 to newly install, 1 to remove and 26 not to upgrade.
1 not fully installed or removed.
After this operation, 126 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 454719 files and directories currently installed.)
Removing jre1.8.0-72 ...
/var/lib/dpkg/info/jre1.8.0-72.postrm: line 586: /usr/sbin/alternatives: No such file or directory
dpkg: error processing jre1.8.0-72 (--remove):
subprocess installed post-removal script returned error exit status 127
Errors were encountered while processing:
jre1.8.0-72
E: Sub-process /usr/bin/dpkg returned an error code (1)
*.deb
files in the link you redirected to. Are you sure you installed it in that way?