Tag: 依赖

如何只安装包的依赖项?

运行sudo apt-get install 将安装包,其依赖项和任何其他推荐的包。 但是,似乎没有办法只安装包的依赖项并排除包本身。 怎么会这样做呢?

安装ubuntu-restricted-extras时出错

在安装通过运行此命令启动的ubuntu-restricted-extras期间: sudo apt-get install ubuntu-restricted-extras 我收到了这些错误: Selecting previously unselected package libvo-amrwbenc0:amd64. Preparing to unpack …/libvo-amrwbenc0_0.1.3-1_amd64.deb … Unpacking libvo-amrwbenc0:amd64 (0.1.3-1) … dpkg: libavcodec56:amd64: dependency problems, but removing anyway as you requested: libchromaprint0:amd64 depends on libavcodec56 (>= 6:11~beta1) | libavcodec-extra-56 (>= 6:11); however: Package libavcodec56:amd64 is to be removed. Package libavcodec-extra-56 is not installed. vlc depends on […]

如何从另一个包的依赖列表中删除特定包?

由于我正在使用Qt5,我想卸载所有的qt4库。 我用以下命令尝试了它 sudo apt-get remove libqt4-* 它试图删除所有的qt4库,但另外它想要删除我不想卸载的texlive和vlc 。 有没有办法保留这两个包? 我找到了apt-mark hold但是它们也不会更新,所以这不适合我。

Ubuntu 14.04上php7.1的未满足依赖

当我运行以下命令时出现错误: $ sudo apt-get update php7.1 The following packages have unmet dependencies: php7.1 : Depends: libapache2-mod-php7.1 but it is not going to be installed or php7.1-fpm but it is not going to be installed or php7.1-cgi but it is not going to be installed Depends: php7.1-common but it is not going to be installed

apt-get由于依赖问题而停止工作 – libegl1-mesa

tl; dr:每个apt-get命令都因此而失败: Depends: libgl1-mesa-dri (= 10.5~git1411191810.9460cd~gd~u) but 10.4~git1411171930.920f87~gd~u is to be installed 我无法移除或安装任何东西。 我该怎么办? 很长的故事: 我正在使用Ubuntu 14.10,昨天我尝试使用本手册: https : //github.com/MobileChromeApps/mobile-chrome-apps/blob/master/docs/Installation.md 并最终弄乱了一些东西。 我在任务栏上的时钟旁边有一个停止标志,上面写着“请运行包管理器”和“包有未满足的依赖关系” sudo apt-get upgrade停止工作(但update似乎正在运行)。 我试图删除包但sudo apt-get remove停止工作,这是我得到的错误: Reading package lists… Done Building dependency tree Reading state information… Done You might want to run ‘apt-get -f install’ to correct these: The following packages have unmet […]

Trelby没有安装在16.04

尝试使用sudo dpkg -i trelby_2.2_all.deb安装trelby会产生此错误: Selecting previously unselected package trelby. (Reading database … 267174 files and directories currently installed.) Preparing to unpack trelby_2.2_all.deb … Unpacking trelby (2.2) … dpkg: dependency problems prevent configuration of trelby: trelby depends on python-wxgtk2.8; however: Package python-wxgtk2.8 is not installed. dpkg: error processing package trelby (–install): dependency problems – leaving unconfigured […]

如何在Terminal中列出作为依赖项安装的所有软件包,以及安装它们的内容?

在终端中是否有一种方法可以列出我尚未安装的所有程序,但其他程序是必要的依赖项? 我可以同时查看他们安装的程序吗?

无法安装LibreOffice后无法更新/安装其他软件

我试图通过软件中心安装LibreOffice,但发生了错误,安装失败。 现在它显示为“已安装”在软件中心,而实际上并非如此。 我意识到这是因为我安装了OpenOffice4.1.1。 我试图删除OpenOffice,但到目前为止,我在任何互联网论坛上找不到任何命令。 软件中心现在陷入了修复循环,无法修复OpenOffice引起的问题。 现在我的笔记本电脑无法更新或安装其他软件。 我手动删除了终端中的所有LibreOffice文件,并希望它会停止进程,但当然没有。 有人可以告诉我如何才能暂时停止LibreOffice的安装过程吗? 提前致谢。 这是我在软件中心尝试修复问题时遇到的错误: installArchives() failed: Preparing to unpack …/libreoffice-common_1%3a4.2.8-0ubuntu2_all.deb … Unpacking libreoffice-common (1:4.2.8-0ubuntu2) … dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a4.2.8-0ubuntu2_all.deb (–unpack): trying to overwrite ‘/usr/bin/soffice’, which is also in package openoffice-debian-menus 4.1.1-9775 rmdir: failed to remove /var/lib/libreoffice/share/prereg/: No such file or directory rmdir: failed to remove /var/lib/libreoffice/share/: No such […]

无法再安装任何东西,linux-image-的未满足依赖项

每当我尝试安装任何东西时,我都会收到以下消息: Reading package lists… Done Building dependency tree Reading state information… Done You might want to run ‘apt-get -f install’ to correct these: The following packages have unmet dependencies: clang : Depends: clang-3.4 (>= 3.4~rc3-1~) but it is not going to be installed linux-image-extra-3.16.0-52-generic : Depends: linux-image-3.16.0-52-generic but it is not going to be installed […]

如何解决卸载和重新安装软件包的未满足的依赖项

我已经尝试了几个askubuntu线程,但没有用,没有一个都满足资格。 我安装了allvideodownloader,并在早期版本中找到了更好的版本; 我从软件中心下载,所以应该没有相关的程序版本问题,我收到此错误: The following packages have unmet dependencies: allvideodownloader : Depends: allvideodownloader-bin (= 2.6.0-0ubuntu1) apache2.2-bin : Depends: libaprutil1-ldap but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. 我在突触,软件中心和能力方面尝试过常见的嫌疑人。 apt-get autoremove –purge allvideodownloader Package allvideodownloader is not installed, so not removed 0 upgraded, 0 […]