apt-get clear 以前安装失败

Dar*_*ama 5 apt

所以,每次我尝试使用 apt-get 安装软件包时,它也会下载以前失败的安装(以前我安装了 dropbox)。如何删除/忘记最新的失败安装?

Setting up nautilus-dropbox (1.6.1-1) ...

Dropbox is the easiest way to share and store your files online. Want to learn more? Head to https://www.dropbox.com/

Downloading Dropbox... 11%
Run Code Online (Sandbox Code Playgroud)

g_p*_*g_p 5

在这种情况下,删除nautilus-dropboxusingsudo apt-get remove nautilus-dropbox将无法直接工作。您需要删除此软件包的安装后脚本。


小智 0

这不是关于如何删除或忘记最新失败的安装的一般答案,但为了删除错误的软件包,您可以通过按CTRL+ ALT+T并输入以下内容来清除它:

sudo apt-get remove nautilus-dropbox
Run Code Online (Sandbox Code Playgroud)

这将删除该软件包并使您的问题消失。但是 - 您将无法在 nautilus 中获取 Dropbox 内容的彩色文件和文件夹。

如果您想拥有该nautilus-dropbox软件包,可以尝试通过键入以下命令重新安装它

sudo apt-get --reinstall install nautilus-dropbox
Run Code Online (Sandbox Code Playgroud)