我想向 Geany 添加新的调试插件。但我遇到了以下问题:
Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: geany-plugins : Depends: geany-plugin-git-changebar (>= 1.36+dfsg-1~16.04) but it is not going to be installed Depends: geany-plugin-workbench (>= 1.36+dfsg-1~16.04) but it is not going to be installed E: Unable to correct problems, you have held broken packages.
我该怎么做才能安装它?
我用:sudo apt install geany-plugins
答案1
您将需要更新geany-plugin-workbench
。
Ubuntu Focal 计划发布 1.36 版本= 20.04,因此 Ubuntu 用户无法通过常规安装使用(即apt
)。
源码安装来自 git:
直接从版本控制下载
您也可以直接从版本控制中提取 Geany-Plugins 的源代码。为此,只需像这样克隆 Git 存储库:git clone git://github.com/geany/geany-plugins.git geany-plugins
构建并安装所有插件:
./autogen.sh # Note this already runs ./configure make && make install