使用apt安装软件包时,遇到以下问题:
The following packages have unmet dependencies:
ruby2.3-dev : Breaks: ruby2.3-dev:i386 (!= 2.3.1-2~16.04.12) but 2.3.0-5ubuntu1 is to be installed
ruby2.3-dev:i386 : Depends: libgmp-dev:i386 but it is not going to be installed
Depends: libruby2.3:i386 (= 2.3.0-5ubuntu1) but it is not going to be installed
Breaks: ruby2.3-dev (!= 2.3.0-5ubuntu1) but 2.3.1-2~16.04.12 is to be installed
我不知道发生了什么。我该如何解决?
答案 0 :(得分:0)
似乎64位和32位软件包与ruby安装冲突。尝试从软件包管理器中临时删除i386,然后尝试再次使用apt安装它。请参阅https://superuser.com/questions/714391/how-do-i-remove-all-i386-architecture-packages-from-my-debian-installation以获取指南。