Tag: package management

在apt-get安装之前,如何接受Lience协议?

我正在摆弄使用ansible来设置我的机器和我选择的配置/应用程序等…我已经遇到了一个绊脚石和它的许可协议。 我一直在尝试使用debconf来预先接受它。 这是蒸汽源中的相关文件之一: http : //bazaar.launchpad.net/~ubuntu-branches/ubuntu/utopic/steam/utopic/view/head :/ debian/preinst 我试过echo steam steam/question select “I AGREE” | sudo debconf-set-selections echo steam steam/question select “I AGREE” | sudo debconf-set-selections和一大堆其他非常相似的命令也涉及尝试设置许可证。 这是sudo debconf-show steam的输出: steam/purge: * steam/license: * steam/question: I AGREE 我尝试过的所有内容都导致我认为我已经不同意许可协议,我必须在安装Steam之前删除这些条目。 有没有人有任何想法?

安装skype将无法正常工作 – skype-bin无法安装,并且“保持破损包裹”

所以,我试图通过apt-get安装skype,但在多次遇到这个问题,并试图找到解决方案后,它仍然无法正常工作…… 我在这里尝试了所有答案: 在12.04 64位上安装Skype会导致错误 ,但我仍然会收到错误消息。 (我的问题也与那个问题完全一样)我甚至手动编辑了包状态,并删除了所有对’skype’或’skype-bin’的引用。 我仍然遇到问题…我正在运行ubuntu 12.10,作为Windows 7的双启动。它是一台64位计算机。

Apt没有安装大多数已知的包

我安装了一个新的Ubuntu 14.04.03,我遇到了一个我以前从未遇到过的问题。 登录新安装时我做的第一件事就是apt-get update和upgrade。 然后我想安装apache2但是我收到一个错误,我已经破坏了包。 我甚至都不知道我应该从哪里开始看,因为之前从未发生过这件事。 我尝试了apt-get autoclean和apt-get -f install但它没有做任何事情。 任何帮助深表感谢! 编辑: sync-s@sync-s:~$ apt-cache policy apache2 apache2-bin ssl-cert apache2: Installed: (none) Candidate: 2.4.7-1ubuntu4.5 Version table: 2.4.7-1ubuntu4.5 0 500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages apache2-bin: Installed: (none) Candidate: 2.4.7-1ubuntu4.5 Version table: 2.4.7-1ubuntu4.5 0 500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages ssl-cert: Installed: (none) Candidate: (none) Version table: 试图安装php5: sync-s@sync-s:~$ […]

如何删除特定包的所有构建依赖项?

当我想在Ubuntu / Debian中从源代码编译时,我通常通过在终端中运行“ sudo apt-get build-dep PACKAGE_NAME ”来获得构建依赖性。 编译工作完成后,它们(通常)无用。 那么,如何删除特定包的所有构建依赖项 ?

随着时间的推移跟踪包的受欢迎程度?

是否有任何软件或网站允许用户查看特定包装的受欢迎程度图表? popcon.ubuntu.com网站上有关于有多少人的原始信息 (安装了popularity-contest )安装了一个特定的软件包,但看看软件包的受欢迎程度如何随时间变化会很有趣。 我记得使用过这个图表的网站,但我不知道它是否仍然存在。

破坏内核包阻止安装/更新

首先,我已经查看了关于这个主题的各种其他问题和答案,并且他们没有解决我的问题,因此我不会在Google和这里没有长时间的工作。 此外,没有单独的启动分区,并且有足够的可用空间。 我在16.04,我认为发生的事情是我的笔记本电脑在运行更新时重新启动或崩溃。 当我回到它时,它出乎意料地关闭了,现在我无法用apt-get安装任何东西。 在我追求解决方案的过程中,唯一的重大变化就是我在某处尝试强制删除linux-generic,但是虽然成功删除了包,但它不会重新安装。 目前我已经能够回归到内核4.8.0-54-generic,它运行得相当好(我现在正在使用笔记本电脑)。 我将从dpkg开始–audit: The following packages have been unpacked but not yet configured. They must be configured using dpkg –configure or the configure menu option in dselect for them to work: linux-generic-hwe-16.04 Complete Generic Linux kernel and headers linux-image-extra-4.8.0-56-generic Linux kernel extra modules for version 4.8. linux-image-extra-4.8.0-58-generic Linux kernel extra modules […]

为什么在清除应用程序时未删除隐藏的设置文件夹?

我做到了 sudo apt-get remove –purge 对于几个包,但显然保留了个人设置。 是否有自动删除它们的命令或工具?

apt remove vs purge

我看到sudo apt remove package_name和sudo apt purge package_name , 但有什么区别? 是一个比另一个更安全还是删除该软件包安装的软件包?

download.01.org证书validation失败 – 缺少CRLfile?

所以我的计算机上安装了intel-Linux-graphics-installer,但最近我才知道 sudo apt-get update 我收到以下错误 Err https://download.01.org trusty/main amd64 Packages server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none 尝试重新安装intel-linux-graphics-installer但没有发生任何事情。 在askubuntu.com上可以找到有关证书问题的各种解决方案,但在任何地方都没有。 有关如何获取该CRL文件的任何想法? 这也是我身边或服务器端的问题?

如何让`apt-get update`在没有互联网访问和手动分配IP地址的机器上工作?

我已经设置了apt-mirror并在可以访问互联网的机器上成功下载了最新的ubuntu软件包。 目标是在无法访问Internet的目标计算机上执行apt-get update时将此计算机用作存储库。 两台机器都设置了手动IP地址,两台机器都运行Ubuntu 16.04作为操作系统。 目标机器中的etc/apt/sources.list只有一行: deb http:///ubuntu/ xenial main restricted multiverse universe 但是当我在目标机器上执行sudo apt-get update时,我收到以下错误: Ign:1 http:///ubuntu/dists/xenial main InRelease Ign:2 http:///ubuntu/dists/xenial main Release Ign:3 http:///ubuntu/dists/xenial main/restricted amd64 Packages Ign:4 http:///ubuntu/dists/xenial main/restricted i386 Packages Ign:5 http:///ubuntu/dists/xenial main/restricted all Packages Ign:6 http:///ubuntu/dists/xenial main/restricted Translation-en_HK Ign:7 http:///ubuntu/dists/xenial main/restricted Translation-en Ign:8 http:///ubuntu/dists/xenial main/multiverse amd64 Packages Ign:9 http:///ubuntu/dists/xenial main/multiverse […]