238得票11回答
如何在使用“apt-get”安装软件包之前检查版本?

我想要安装最新版本的 5.5.4,该版本于上个月发布,安装在我的Debian电脑上。 我检查了dpkg -l | grep "hylafax"并发现当前版本是5.5.3。然后我检查了apt-cache search hylafax,看到有相关软件包可用,但我找不到任何版本号。 如何找到apt-...

93得票7回答
PHP5软件包在Ubuntu 16.04中无法安装

当我尝试在Ubuntu 16.04中使用以下代码安装php5时:sudo apt-get install php5 php5-mcrypt 我遇到了以下错误:Reading package lists... Done Building dependency tree Readin...

82得票2回答
Ansible Command模块报错:'|'是非法字符。

我正在使用Ansible部署我的项目,并尝试检查是否安装了指定的软件包,但我在这个任务上遇到了问题,以下是任务内容:- name: Check if python-apt is installed command: dpkg -l | grep python-apt register:...

51得票8回答
"dpkg-shlibdeps: error: 找不到依赖信息"

我正在编译一个Deb包,当我运行dpkg-buildpackage时,我得到以下错误:dpkg-shlibdeps: error: no dependency information found for /usr/local/lib/libopencv_highgui.so.2.3 ...

39得票17回答
dpkg: 处理软件包mysql-server时出现依赖问题错误

当我尝试安装 mysql-server 时,会出现一个错误:dpkg: error processing package mysql-server (--configure): dependency problems - leaving unconfigured Errors were enc...

35得票2回答
Ubuntu dpkg版本号中冒号(:)和短横线(-)代表什么意思?

我正在尝试获取已安装软件包的版本号,以便为 dpkg 构建依赖项列表。 如果我在终端中输入 "dpkg -l | grep libqtcore4",我会得到以下结果:ii libqtgui4 4:4.7.4-0ubuntu8 Qt 4 GUI module ii l...

31得票6回答
无法在Ubuntu 16.04中安装StarUML

我正在使用Ubuntu 16.04 - 64位。我尝试使用.deb文件安装Start UML,但从Ubuntu软件中心得到了以下消息:This software comes from a 3rd party and may contain non-free components 然后我尝试使用...

30得票1回答
dpkg:如何忽略 post/pre 脚本中的错误

我开发了Debian软件包并在我的post/pre脚本中(在我的情况下是postrm)出现语法错误。我成功安装了软件包,但现在无法删除它:/var/lib/dpkg/info/blablabla.postrm: 11: Syntax error: ";;" unexpected dpkg: e...

29得票5回答
如何在Mac OS X上创建.deb软件包

我试图将我的应用上传到Cydia,需要一个 .deb 包。我不知道如何在 Mac 上制作 .deb 包。我正在使用 10.6.3 版本,当我在终端上输入此命令时:dpkg-deb -b MyProgram 终端输出是-bash: dpkg-deb: command not found 我已经安...

24得票9回答
dpkg错误:pycompile未找到

sudo apt-get remove --purge mysql-server mysql-client mysql-common 在尝试使用上述命令移除MySQL时,我遇到了以下错误:Reading package lists... Done Building dependency tre...