我有一个很大的头痛试图安装R.我去安装R基地,我得到以下。 root@10:/etc/apt > apt-get install r-base 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 […]
我不小心安装了zabbix-frontend-php ,将apache2作为依赖项。 我不想使用,我想完全删除这两个软件包。 不幸的是,似乎apt-get不会让我删除zabbix,直到我让apache2正常工作zabbix。 我真的不想花时间修复我即将删除的破损软件包。 我如何覆盖apt-get并继续删除? $ apt-get删除apache2 zabbix-frontend-php 包'apache2'没有安装,所以不能删除 以下软件包已自动安装,不再需要: apache2-bin apache2-data 使用“apt-get autoremove”删除它们。 以下软件包将被删除: ZABBIX-前端的PHP 0升级,0新安装,1删除和0未升级。 1没有完全安装或删除。 完成此操作后,将释放28.2 MB的磁盘空间。 你想继续吗? [Y / N] (正在读取数据库…目前安装的28117个文件和目录。) 正在删除zabbix-frontend-php(1:2.4.7-1 + jessie)… 作业apache2.service失败。 有关详细信息,请参阅“systemctl status apache2.service”和“journalctl -xn”。 invoke-rc.d:initscript apache2,action“restart”失败。 dpkg:error handling包zabbix-frontend-php(–remove): 安装subprocess后删除脚本返回错误退出状态1 处理过程中遇到错误: ZABBIX-前端的PHP E:subprocess/ usr / bin / dpkg返回错误码(1)
我将这些行添加到“/etc/apt/sources.list”中: deb http://nginx.org/packages/mainline/debian/ jessie nginx deb-src http://nginx.org/packages/mainline/debian/ jessie nginx 之后,我尝试更新nginx: sudo apt-get clean && sudo apt-get install nginx 但是我得到以下错误: Unpacking nginx (1.9.15-1~jessie) over (1.6.2-5+deb8u1) … dpkg: error processing archive /var/cache/apt/archives/nginx_1.9.15-1~jessie_amd64.deb (–unpack): trying to overwrite '/usr/share/nginx/html/index.html', which is also in package nginx-common 1.6.2-5+deb8u1 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered […]
我有我的服务器上的Debiantesting。 什么时候升级,它想升级openssh-server并失败… openssh-server (1:7.3p1-1) wird eingerichtet … Job for ssh.service failed because the control process exited with error code. See "systemctl status ssh.service" and "journalctl -xe" for details. invoke-rc.d: initscript ssh, action "start" failed. ● ssh.service – OpenBSD Secure Shell server Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Mo 2016-08-22 […]
我的服务器的inode使用率已经上升到100%,因此我无法卸载额外的linux-kernel-headers和linux-kernel-images $ df -i Filesystem Inodes IUsed IFree IUse% Mounted on /dev/xvda1 524288 523970 318 100% / none 481856 2 481854 1% /sys/fs/cgroup udev 480561 396 480165 1% /dev tmpfs 481856 317 481539 1% /run none 481856 1 481855 1% /run/lock none 481856 1 481855 1% /run/shm none 481856 3 481853 1% /run/user /dev/xvdb 262144 […]
我正在尝试使用mozjpeg作为jpeg-turbo的替代库。 我完全可以获取源代码并根据需要进行编译,甚至可以创build一个deb文件来安装软件包(例如, apt-get install ./mozjpeg_3.2_amd64.deb )。 要清楚,请注意,这两个包应该提供完全相同的界面,因此在function上是等同的。 因此,对jpeg-turbo的依赖应该由mozjpeg满足。 好的,继续,当我继续安装相关软件包(例如ghostscript开发头文件, libgs-dev )时,我遇到了错误,因为它们声明了libjpeg62-turbo-dev的依赖关系: dpkg: error processing archive /tmp/apt-dpkg-install-HuzNRO/0-libjpeg62-turbo-dev_1%3a1.5.1-2_amd64.deb (–unpack): trying to overwrite '/usr/include/jerror.h', which is also in package mozjpeg 3.2-20170219 现在,在这一点上出现冲突当然是合乎逻辑的。 有没有办法来防止这一点? 我可以告诉依赖系统,mozjpeg满足对jpeg-turbo的依赖,这样任何依赖于jpeg-turbo的包都将使用替换来安装吗? 提前致谢。
我正在创build一个企业debian存储库,以简化在服务器上安装自定义应用程序的过程。 我正在使用reprepro 。 到目前为止,我阅读文档,并创build了一个分发和一个组件的存储库,通过processincoming规则集导入包。 有效。 现在,我需要在分发中创build两个不同的组件,并在组件A中导入一些软件包,并在组件B中导入一些软件包。 我错过了我可以把逻辑“这些软件包进入组件A和这些在B”的逻辑…在每个包“.changes”文件? 在传入的规则集? 怎么样? 非常感谢您的帮助。
我运行sudo apt-get update时遇到了以下错误,但是我发现了类似的问题,但并不能帮助我。 实际上我需要解决这个问题。 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/Release Unable to find expected entry 'restricted/source/Sources' in Release file (Wrong sources.list entry or malformed file) W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/Release Unable to find expected entry 'universe/source/Sources' in Release file (Wrong sources.list entry or malformed file) E: Some index files failed to download. They have been ignored, […]
请有人帮忙 我刚刚购买了这个VPS,安装了Ubuntu-16。 以root用户身份login并发出apt-get update 。 我得到了下面的错误。 什么可能是错的。 错误日志 : Read-only file system) W: Problem unlinking the file /var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_xenial-updates_universe_binary-amd64_Packages – TransactionAbort (30: Read-only file system) W: Problem unlinking the file /var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_xenial-updates_universe_binary-i386_Packages – TransactionAbort (30: Read-only file system) W: Problem unlinking the file /var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_xenial-updates_universe_i18n_Translation-en – TransactionAbort (30: Read-only file system) W: Problem unlinking the file /var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_xenial-updates_multiverse_binary-amd64_Packages – […]
更新:添加why-not输出build议( why输出也)。 # aptitude why-not libwbclient0 Unable to find a reason to remove libwbclient0.` `why` gives this reasoning. # aptitude why libwbclient0 i nagios-plugins-standard Recommends smbclient p smbclient Depends samba-libs (= 2:4.3.11+dfsg-0ubuntu0.14.04.11) p samba-libs Depends libwbclient0 (>= 2:4.0.3+dfsg1) 为什么aptitude upgrade无法在apt-get upgrade愿意执行的情况下实际升级软件包? 据我所知,这两个命令在function上应该是一样的,但显然他们不同意。 任何人都可以解释如何find问题在这里,为什么它适用于一个命令,但不是另一个? 能力倾向 # aptitude upgrade No packages will be installed, upgraded, or removed. […]