【apt-get】报错"E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a so"
root@fish2:~# apt-get install -f
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
libdrm-amdgpu1 libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libisl22 libllvm3.9 libpciaccess0 libruby2.3
libtxc-dxtn-s2tc libzstd1 ruby-did-you-mean ruby2.3
Use ‘apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 588 not upgraded.
8 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
apt-listchanges: Can’t set locale; make sure $LC_* and $LANG are correct!
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “zh_CN.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Processing triggers for cracklib-runtime (2.9.2-5) …
Setting up libmpfr6:amd64 (4.1.0-3) …
Setting up libzstd1:amd64 (1.4.5+dfsg-4) …
Setting up ncal (12.1.7) …
Setting up libbsd0:amd64 (0.10.0-1) …
Setting up calendar (12.1.7) …
Processing triggers for libc-bin (2.31-3) …
Setting up libmpc3:amd64 (1.2.0-1) …
Setting up libisl22:amd64 (0.22.1-1) …
Setting up bsdmainutils (12.1.7) …
Processing triggers for man-db (2.7.6.1-2) …
Processing triggers for libc-bin (2.31-3) …
再用apt-get install就好了