После какого-то обновления началось:
aclocal: warning: couldn't open directory 'm4': No such file or directory
/usr/bin/libtoolize: 1: /bin/sed: not found
/usr/bin/libtoolize: 1: /bin/sed: not found
/usr/bin/libtoolize: 1: /bin/grep: not found
/usr/bin/libtoolize: 1: /bin/sed: not found
/usr/bin/libtoolize: 1: /bin/sed: not found
: putting auxiliary files in '.'.
: copying file './ltmain.sh'
/usr/bin/libtoolize: 1: /bin/sed: not found
Или:
$ sudo apt full-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up cpio (2.15+dfsg-1) ...
update-alternatives: error: alternative path /bin/mt-gnu doesn't exist
dpkg: error processing package cpio (--configure):
installed cpio package post-installation script subprocess returned error exit status 2
Setting up nano (7.2-2) ...
update-alternatives: error: alternative path /bin/nano doesn't exist
dpkg: error processing package nano (--configure):
installed nano package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
cpio
nano
E: Sub-process /usr/bin/dpkg returned an error code (1)
И действительно, sed
, grep
и т. д. есть только в /usr/bin
.
Памагите! :)