Tag: aptitude

如何删除/安装未完全安装的软件包?

前几天我去安装bsnes,无论出于什么原因安装失败了。 现在,我无法更新,安装新软件包,或基本上执行任何apt-get命令,因为它们都试图处理这个损坏的软件包并失败。 试图安装一个新的软件包也只是让它陷入了同样的命运。 我得到的错误是: Setting up google-chrome-stable (33.0.1750.152-1) … /var/lib/dpkg/info/google-chrome-stable.postinst: 124: /var/lib/dpkg/info/google-chrome-stable.postinst: update-alternatives: not found dpkg: error processing google-chrome-stable (–configure): subprocess installed post-installation script returned error exit status 127 Setting up bsnes (0.088-7) … /var/lib/dpkg/info/bsnes.postinst: 5: /var/lib/dpkg/info/bsnes.postinst: update-alternatives: not found dpkg: error processing bsnes (–configure): subprocess installed post-installation script returned error exit status 127 Errors […]

aptitude仍被认为优于apt-get吗?

当我第一次使用aptitude开始使用aptitude就是’in-thing’,并且有一些比apt-get更好的改进。 我是否正确地说, apt-get现在已经“赶上”了aptitude ,并且使用它几乎没有什么区别(虽然最好选择其中一个,并坚持下去)? 此外,如果将aptitude设置为从默认的Ubuntu安装中删除,那么每个人都应该恢复到apt-get ,特别是在引导对CLI感兴趣的新用户时吗?

生成手动安装的包列表并查询各个包

我想获得apt或aptitude手动安装的软件包列表,并能够找出手动或自动安装foobar软件包。 从命令行有没有任何巧妙的方法?

dpkg和aptitude / apt-get有什么区别?

通过dpkg -i packageA.deb安装软件时,是否会自动下载并安装packageA所需的依赖项? 这与使用apt-get或aptitude什么不同?