Tag: 依赖项

Ubuntu 12.04 LTS initramfs-tools依赖问题

我知道已经多次询问过,但每个问题和解决方案似乎都有所不同。 我已经尝试了几乎所有我能想到的东西,但我无法解决这个问题。 我有一个运行12.04.03 LTS的VM(我认为是VMware),它已经卡住了依赖关系。 VM位于租用的主机上,运行实时系统,所以我不想打破它(进一步)。 uname -a Linux support 3.5.0-36-generic #57~precise1-Ubuntu SMP Thu Jun 20 18:21:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux 多一点: sudo apt-get update [sudo] password for tracker: 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 […]

如何从apt-get问题中恢复

我试图安装readline作为octave 4.0.0的依赖。 然后apt-get install和提示执行的问题 sudo apt-get -f install. 以下是我收到的内容: xxxx@xxxx-MS-7577:~$ sudo apt-get -f install [sudo] password for xxxx: Reading package lists… Done Building dependency tree Reading state information… Done Correcting dependencies… Done The following extra packages will be installed: libc6-dev-i386 The following NEW packages will be installed: libc6-dev-i386 0 upgraded, 1 newly installed, 0 to […]

试图修复破坏的依赖项(Libre Office)

我卸载了Libreoffice并仅安装了Openoffice以了解我不再喜欢OpenOffice了。 我今天卸载了OpenOffice并尝试安装LibreOffice并且我收到了错误。 The following packages have unmet dependencies: libreoffice-core : Depends: libreoffice-common (> 1:4.2.7) but it is not installed libreoffice-help-en-us : Depends: libreoffice-l10n-en-us libreoffice-java-common : Depends: libreoffice-common but it is not installed libreoffice-l10n-en-gb : Depends: libreoffice-common but it is not installed libreoffice-l10n-en-za : Depends: libreoffice-common but it is not installed y-ppa-manager : Depends: yad (>= […]

无法在ubuntu 14.04中安装jdk和jre

我想在我的ubuntu 14.04中安装jdk和jre,我得到以下错误: anil@anil:~$ sudo apt-get install default-jre [sudo] password for anil: 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 […]

安装gtk +3时出现“未满足的依赖关系”

尝试按照另一个包的要求安装GTK。 所以我运行了apt-get install libgtk-3-dev 但是获得未满足的依赖项错误。 产量 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 […]

在64位12.04上初始化Android的构建环境

我希望初始化AOSP代码库(或者任何Android源代码)的构建环境,并且该过程的第一步是: $ sudo apt-get install git gnupg flex bison gperf build-essential \ zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \ libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \ libgl1-mesa-dev g++-multilib mingw32 openjdk-6-jdk tofrodos \ python-markdown libxml2-utils xsltproc zlib1g-dev:i386 $ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so 我有一个(新安装的)Ubuntu 12.04 64位机器,并且在过去遇到了32位依赖的问题。 我想从一开始就得到这个。 我安装了所有软件包(通过Synaptic或apt-get),但以下情况除外; libncurses5-dev:i386 libgl1-mesa-glx:i386 zlib1g-dev:i386 apt-get这三个单独的回报; danielgt@danielgt-linux:~$ sudo apt-get install libncurses5-dev:i386 libgl1-mesa-glx:i386 zlib1g-dev:i386 Reading […]

以下包具有未满足的依赖项(apache)

The following packages have unmet dependencies: apache2: Depends: apache2-mpm-worker (= 2.2.22-1ubuntu1) but 2.2.22-1ubuntu1.2 is to be installed or apache2-mpm-prefork (= 2.2.22-1ubuntu1) but it is not going to be installed or apache2-mpm-event (= 2.2.22-1ubuntu1) but it is not going to be installed or apache2-mpm-itk (= 2.2.22-1ubuntu1) but it is not going to be installed Depends: apache2.2-common […]

16.04点击未满足的依赖项

我遇到了包点击被破坏的情况。 我尝试了很多东西,但没有设法解决它。 $ sudo apt dist-upgrade 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. click : Depends: python3-click-package (= 0.4.43+16.04.20160203-0ubuntu2) but 0.4.43+16.04.20170613-0ubuntu1 is installed E: Unmet dependencies. Try using -f. Obvioulsy sudo apt-get -f install无法修复它。 […]

未满足的依赖项 – 无法删除包libgbm1

在这种情况下,我有libgbm1被持有,给我消息,如: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. 自从我仔细阅读如何在添加PPA后解决未满足的依赖关系? 我按照建议用sudo apt-get remove libgbm1尝试删除损坏的包。 但是,删除命令给了我同样的错误。 sudo apt-get upgrade不升级此软件包( “…and 1 not upgraded.” )。 我需要这个来构建一些依赖它的其他包(再次pkgProblemResover问题)。 看来我无法恢复版本也无法继续前进。 我尝试过的步骤: 禁用software updates一些ppa存储库和sudo apt-get update然后尝试使用apt修复,这不起作用。 sudo apt-get -f install with and 1 not upgraded 。 试图安装libgbm1依赖的软件包。 但是更多的软件包正在向前发展并迅速堆积到数十个软件包中,这似乎是不可靠的,并且它们也报告了类似的错误。 为什么我不能删除包裹? 怎么解决?

卸载依赖项。 这是一个很好的做法吗?

据我所知,我可以使用此命令从Ubuntu卸载程序… $ sudo dpkg -r packagename 但是这不会在安装packagename删除依赖项。 要删除所有文件,包括依赖项,我们需要应用此命令… $ sudo apt-get –purge autoremove packagename 但我的问题是删除包,它的所有依赖是一个很好的做法? 请问–purge autoremove命令在安装packagename包之前使我的系统正常吗? 或者偶尔我可能会遇到一些损坏的文件,我的系统可能会在尝试删除所有内容时崩溃? 实际上我害怕实现–purge autoremove命令,并且在练习之前想要了解专家意见!