装docker时碰到的问题,
sudo apt install docker
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
docker
0 upgraded, 1 newly installed, 0 to remove and 188 not upgraded.
1 not fully installed or removed.
Need to get 0 B/12.9 kB of archives.
After this operation, 45.1 kB of additional disk space will be used.
Setting up install-info (6.5.0.dfsg.1-2) ...
/usr/sbin/update-info-dir: 52: /usr/sbin/update-info-dir: rm: not found
dpkg: error processing package install-info (--configure):
installed install-info package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
install-info
找了一圈找到了解决方案
https://askubuntu.com/questions/1069702/dpkg-error-processing-package-install-info
sudo mv /var/lib/dpkg/info/install-info.postinst /var/lib/dpkg/info/install-info.postinst.bad
完美解决,,,