升级到17.10后 删除软件不成功。盼高手解决啊。。。。(已解决)
发表于 : 2017-11-14 18:53
根据前面的判断,我的电脑是legacy 启动
所以我执行了sudo apt install grub-pc;自动删除了efi的那些。安装以后按照图形提示选择了/dev/sda 。完成后重启 没问题。卸载untiy也完全没错误提示了! 要感谢 poloshiao funicorn
问题如下;
sudo apt purge unity-session unity
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
软件包 unity-session 未安装,所以不会被卸载
下列软件包是自动安装的并且现在不需要了:
bamfdaemon gir1.2-accounts-1.0 gir1.2-gdata-0.0 gir1.2-goa-1.0
gir1.2-signon-1.0 hud libcolumbus1-common libcolumbus1v5 libframe6 libgeis1
libglewmx1.13 libgrail6 libgsettings-qt1 libnux-4.0-0 libnux-4.0-common
libunity-core-6.0-9 libunity-misc4 libzeitgeist-1.0-1 nux-tools
python3-blinker python3-bs4 python3-feedparser python3-html5lib python3-jwt
python3-lxml python3-oauthlib python3-webencodings session-shortcuts
unity-asset-pool unity-lens-applications unity-lens-files unity-lens-music
unity-lens-photos unity-lens-video unity-schemas unity-scope-calculator
unity-scope-chromiumbookmarks unity-scope-colourlovers unity-scope-devhelp
unity-scope-firefoxbookmarks unity-scope-home unity-scope-manpages
unity-scope-openclipart unity-scope-texdoc unity-scope-tomboy
unity-scope-video-remote unity-scope-virtualbox unity-scope-yelp
unity-scope-zotero unity-scopes-master-default unity-scopes-runner
使用'sudo apt autoremove'来卸载它(它们)。
下列软件包将被【卸载】:
unity*
升级了 0 个软件包,新安装了 0 个软件包,要卸载 1 个软件包,有 0 个软件包未被升级。
有 1 个软件包没有被完全安装或卸载。
解压缩后会消耗 0 B 的额外空间。
您希望继续执行吗? [Y/n] y
正在设置 grub-efi-amd64-signed (1.85+2.02~beta3-4ubuntu7) ...
grub-install:错误: /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory.
dpkg: 处理软件包 grub-efi-amd64-signed (--configure)时出错:
子进程 已安装 post-installation 脚本 返回错误状态 1
在处理时有错误发生:
grub-efi-amd64-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)
-----
另外 系统更新也是不成功。都不知道怎么弄了。
所以我执行了sudo apt install grub-pc;自动删除了efi的那些。安装以后按照图形提示选择了/dev/sda 。完成后重启 没问题。卸载untiy也完全没错误提示了! 要感谢 poloshiao funicorn

问题如下;
sudo apt purge unity-session unity
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
软件包 unity-session 未安装,所以不会被卸载
下列软件包是自动安装的并且现在不需要了:
bamfdaemon gir1.2-accounts-1.0 gir1.2-gdata-0.0 gir1.2-goa-1.0
gir1.2-signon-1.0 hud libcolumbus1-common libcolumbus1v5 libframe6 libgeis1
libglewmx1.13 libgrail6 libgsettings-qt1 libnux-4.0-0 libnux-4.0-common
libunity-core-6.0-9 libunity-misc4 libzeitgeist-1.0-1 nux-tools
python3-blinker python3-bs4 python3-feedparser python3-html5lib python3-jwt
python3-lxml python3-oauthlib python3-webencodings session-shortcuts
unity-asset-pool unity-lens-applications unity-lens-files unity-lens-music
unity-lens-photos unity-lens-video unity-schemas unity-scope-calculator
unity-scope-chromiumbookmarks unity-scope-colourlovers unity-scope-devhelp
unity-scope-firefoxbookmarks unity-scope-home unity-scope-manpages
unity-scope-openclipart unity-scope-texdoc unity-scope-tomboy
unity-scope-video-remote unity-scope-virtualbox unity-scope-yelp
unity-scope-zotero unity-scopes-master-default unity-scopes-runner
使用'sudo apt autoremove'来卸载它(它们)。
下列软件包将被【卸载】:
unity*
升级了 0 个软件包,新安装了 0 个软件包,要卸载 1 个软件包,有 0 个软件包未被升级。
有 1 个软件包没有被完全安装或卸载。
解压缩后会消耗 0 B 的额外空间。
您希望继续执行吗? [Y/n] y
正在设置 grub-efi-amd64-signed (1.85+2.02~beta3-4ubuntu7) ...
grub-install:错误: /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory.
dpkg: 处理软件包 grub-efi-amd64-signed (--configure)时出错:
子进程 已安装 post-installation 脚本 返回错误状态 1
在处理时有错误发生:
grub-efi-amd64-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)
-----
另外 系统更新也是不成功。都不知道怎么弄了。