8
如何删除/安装未完全安装的软件包?
前几天我去安装了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 …