Tag: 适合

无法安装ia32-libs

我不知道为什么我不能安装ia32-libs。 它声称在repos上找不到依赖项。 junior@mediacenter:~$ sudo apt-get install ia32-libs 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 […]

sudo apt-get -f install究竟做了什么?

我以前见过它。 我只是想知道它到底是做什么的?

将软件包安装到本地目录?

我想安装软件包,类似于apt-get install 但是: 没有sudo ,和 进入本地目录 本练习的目的是隔离我的持续集成服务器中的独立构建。 我不介意从源代码编译,如果这是需要的,但显然我更喜欢最简单的方法。 我试过像这里提到的apt-get source –compile ,但我不能让它适用于像autoconf这样的软件包。 我收到以下错误: dpkg-checkbuilddeps: Unmet build dependencies: help2man 我已经在本地目录中编译了help2man,但我不知道如何通知apt-get。 有任何想法吗? 更新 :我找到了一个几乎可以在https://askubuntu.com/a/350/23678上运行的答案。 chroot的问题在于它需要sudo。 apt-get source的问题是我不知道如何解决依赖关系。 我必须说, chroot看起来非常吸引人。 是否有一个不需要sudo的等效命令?

尝试安装WINE时,为什么会出现“未满足的依赖项”错误?

当试图安装WINE( sudo apt-get install wine )时,我收到以下错误: 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 […]

下载软件时出现GPG错误:“清除文件无效,得到’NODATA’”

安装Ubuntu 13.10后,我尝试安装ubuntu-restricted-extras或任何软件,它告诉我: E: GPG error: http://archive.canonical.com saucy InRelease: Clearsigned file isn’t valid, got ‘NODATA’ (does the network require authentication

由于appstreamcli数据库错误,无法“apt-get dist-upgrade”

我创建了一个带有持久性Ubuntu 16.04(发行版)的USB记忆棒。 我尝试了几种方法,使用Startup Disk Creator和MultiSystem,但我得到了相同的最终结果。 当我启动USB并进行’apt-get update’时,一切都很顺利。 当我尝试’apt-get dist-upgrade’时,我得到: **(appstreamcli:2761):CRITICAL **:将旧数据库移开时出错。 AppStream缓存更新失败。 我可以找到这个错误消息的唯一参考是https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1561472,但似乎是修复的,至少在Ubuntu发布版本时修复16.04。 旁白:我想测试Unity8,其中包括安装软件。 我没有备用电脑,所以我认为持久的USB可以解决问题。 任何接受者?

如何通过命令行显示apt-get包管理历史记录?

有没有办法显示apt-get通过命令行更改的包的历史记录?

从脚本或二进制文件创建.deb包

我搜索了一个简单的方法来创建.deb包没有可编译的源代码(configs,shellscripts,专有软件)。 这是一个非常严重的问题,因为大多数软件包教程都假设您有一个要编译的源tarball。 然后我找到了这个简短的教程(德语)。 之后,我创建了一个小脚本来创建一个简单的存储库。 像这样: rm /export/my-repository/repository/* cd /home/tdeutsch/deb-pkg for i in $(ls | grep my); do dpkg -b ./$i /export/my-repository/repository/$i.deb; done cd /export/avanon-repository/repository gpg –armor –export “My Package Signing Key” > PublicKey apt-ftparchive packages ./ | gzip > Packages.gz apt-ftparchive packages ./ > Packages apt-ftparchive release ./ > /tmp/Release.tmp; mv /tmp/Release.tmp Release gpg –output […]