无法 sudo apt-get upgrade 并且顶部还有红色减号

无法 sudo apt-get upgrade 并且顶部还有红色减号
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 libicu-dev : Depends: libicu55 (= 55.1-7ubuntu0.2) but 55.1-7 is installed
 libicu55 : Breaks: libicu55:i386 (!= 55.1-7) but 55.1-7ubuntu0.2 is installed
 libicu55:i386 : Breaks: libicu55 (!= 55.1-7ubuntu0.2) but 55.1-7 is installed
E: Unmet dependencies. Try using -f.

请帮忙!SOS

答案1

您可以使用此命令:

sudo apt install libicu55=55.1-7ubuntu0.2

如果它不起作用,可以使用这个:

sudo dpkg -r --force-all libicu55 libicu55:i386
sudo apt install libicu-dev
sudo apt install -f

相关内容