i-nex
由于以下原因我无法安装:
The following packages have unmet dependencies:
i-nex : Depends: gambas3-runtime (>= 3.5.0) but it is not going to be installed
Depends: gambas3-gb-image (>= 3.5.0) but it is not going to be installed
Depends: gambas3-gb-qt4 (>= 3.5.0) but it is not going to be installed
Depends: gambas3-gb-form (>= 3.5.0) but it is not going to be installed
Depends: gambas3-gb-desktop (>= 3.5.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
答案1
你需要在系统中添加libcpuid11
PPAGambas Stable Builds
libcpuid11
通过运行此命令添加PPA
sudo add-apt-repository ppa:i-nex-development-team/libcpuid11
Gambas Stable Builds
通过运行此命令添加PPA
sudo add-apt-repository ppa:gambas-team/gambas3
然后安装i-nex
sudo apt-get install i-nex
如果在安装结束时显示此输出
Errors were encountered while processing:
i-nex
E: Sub-process /usr/bin/dpkg returned an error code (1)
删除安装脚本。运行此命令
sudo rm /var/lib/dpkg/info/i-nex.postinst
并再次运行安装命令
sudo apt-get install -f
然后运行 i-nex
i-nex