我可以让ubuntu忘记未满足的依赖错误吗?

我试图安装adobe reader但它没有完成安装。 然后我决定我不需要adobe reader,我如何让ubuntu认为一切都很好并且没有未满足的依赖关系或ubuntu获得这些依赖关系? 我需要解决此错误,因为我的系统由于应用程序而内存不足,我无法安装或卸载软件包。 我试过sudo apt-get install -f然后我得到了这个:

 [sudo] password for harley: Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following extra packages will be installed: acroread-bin Suggested packages: libldap2 libgnome-speech7 The following NEW packages will be installed: acroread-bin 0 upgraded, 1 newly installed, 0 to remove and 213 not upgraded. 1 not fully installed or removed. Need to get 60.1 MB of archives. After this operation, 142 MB of additional disk space will be used. Do you want to continue [Y/n]? Y Get:1 http://archive.canonical.com/ubuntu/ raring/partner acroread-bin i386 9.5.5-1raring1 [60.1 MB] Fetched 60.1 MB in 35s (1,676 kB/s) (Reading database ... 158479 files and directories currently installed.) Unpacking acroread-bin (from .../acroread-bin_9.5.5-1raring1_i386.deb) ... dpkg: error processing /var/cache/apt/archives/acroread-bin_9.5.5-1raring1_i386.deb (--unpack): trying to overwrite '/usr/lib/firefox/plugins', which is also in package adobe-flashplugin 11.2.202.297-0raring1 No apport report written because MaxReports is reached already dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Processing triggers for bamfdaemon ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for desktop-file-utils ... Processing triggers for gnome-menus ... Processing triggers for man-db ... Errors were encountered while processing: /var/cache/apt/archives/acroread-bin_9.5.5-1raring1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) harley@Harley-PC:~$ 

我尝试了sudo apt-get remove acroread-bin ,我得到了这个

 [sudo] password for harley: Reading package lists... Done Building dependency tree Reading state information... Done Package 'acroread-bin' is not installed, so not removed You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: acroread : Depends: acroread-bin but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). 

我尝试了如何解决未满足的依赖关系中的所有解决方案? 我可以(所有只使用终端的)

基本上没有办法让Ubuntu 忽略所有未满足的依赖错误。 如果您确实实现了这一点,那么您将创建一个处于不一致状态的系统,其中不同的部分无法按设计一起工作。 这会很糟糕。

但是如果你决定退出安装的东西,你可以做。 大多数情况下,您可以成功卸载卡住的“半安装”软件包。 对于某些软件包,应该避免这种情况(或者首先使用apt-get -s进行模拟,以确保删除它们不会删除许多其他所需的软件包)。 但对于像Adobe Reader这样的东西,继续尝试卸载应该是安全的, 就像roadmr建议的那样 :

 sudo apt-get remove acroread-bin 

这很可能也会卸载其他Adobe Reader相关软件包(任何依赖于acroread-bin软件包)。 但是你想要那个,因为那些包没有它就无法运行。

如果你在删除acroread-bin遇到错误,当然请告诉我们。

或者(无论是否有删除它的错误),您可能只想尝试一些解决方案如何解决未满足的依赖关系?