grub-pc 15.8 无法更新 导致系统更新也无法进行 的解决办法
Tofloor
poster avatar
jensenzh
deepin
2018-12-27 21:37
Author
本帖最后由 jensenzh 于 2019-1-2 10:13 编辑

grub-pc 15.8 无法更新, 一直停在正在设定的界面。等了2小时了没动静。
Reply Favorite View the author
All Replies
avatar
WangZhongyun
deepin
2018-12-28 04:13
#1
那时正备更新,现在应该更新很顺了
Reply View the author
avatar
jensenzh
deepin
2018-12-28 20:07
#2
https://bbs.deepin.org/post/172924
那时正备更新,现在应该更新很顺了

还是更新不了,昨天更新这个模块没反应后就再也没提示了,今天出来更新可能这个原因无法更新
Reply View the author
avatar
Island
deepin
2018-12-28 21:02
#3
点击继续不行吗?  试试sudo apt-get -f install && sudo dpkg --configure -a && sudo apt-get dist-upgrade
Reply View the author
avatar
jensenzh
deepin
2019-01-02 17:13
#4
https://bbs.deepin.org/post/172924
点击继续不行吗?  试试sudo apt-get -f install && sudo dpkg --configure -a && sudo apt-get dist-upgra ...

jensen@AAA:~/Desktop$ sudo apt-get -f install && sudo dpkg --configure -a && sudo apt-get dist-upgrade
[sudo] jensen 的密码:
E: dpkg 被中断,您必须手工运行 ‘sudo dpkg --configure -a’ 解决此问题。
jensen@AAA:~/Desktop$

jensen@AAAA:~/Desktop$ sudo apt-get -f install && sudo dpkg --configure -a && sudo apt-get dist-upgrade
[sudo] jensen 的密码:
E: dpkg 被中断,您必须手工运行 ‘sudo dpkg --configure -a’ 解决此问题。
jensen@AAAA:~/Desktop$
jensen@AAAA:~/Desktop$ sudo apt-get -f install && sudo dpkg --configure -a && sudo apt-get dist-upgrade
[sudo] jensen 的密码:
E: dpkg 被中断,您必须手工运行 ‘sudo dpkg --configure -a’ 解决此问题。
jensen@AAAA:~/Desktop$

Reply View the author
avatar
electricface
deepin
2019-01-02 17:19
#5
先执行
  1. sudo dpkg --configure -a
Copy the Code
Reply View the author
avatar
jensenzh
deepin
2019-01-02 17:33
#6
本帖最后由 jensenzh 于 2019-1-2 10:13 编辑

可以了,出来选中安装界面。选第一个还是最后一个呢
│                    install the package maintainer's version                                 │
│                    keep the local version currently installed                               │
│                    show the differences between the versions                                │
│                    show a side-by-side difference between the versions                      │
│                    show a 3-way difference between available versions                       │
│                    do a 3-way merge between available versions                              │
│                    start a new shell to examine the situation  
选中了第一个  install the package maintainer's version  
│ GRUB 安装设备:                                       │
                    │    [ ] /dev/sda (320072 MB; WDC_WD3200BPVT-88DD5R0)   │
                    │    [ ] - /dev/sda1 (33100 MB; /)   选中了第一个 │    [ ] /dev/sda (320072 MB; WDC_WD3200BPVT-88DD5R0)   │

您没有选择向任何设备安装 GRUB。如果继续,引导器可能不能正确配置,当您的计算机下次启动时    │
  │ ,它将使用引导扇区中先前的内容。如果引导扇区中有早期版本的 GRUB 2,其可能不能加载模块或者  │
  │ 处理当前配置文件。                                                                         │
  │                                                                                            │
  │ 如果您已经使用了另外一个引导器并且想继续这样做,或者如果这是一个特殊的不需要引导器的环境   │
  │ ,这样您可以仍然继续。否则,您应该在某处安装 GRUB。                                        │
  │                                                                                            │
  │ 不安装 GRUB 并且继续?  安装...
正在设置 dde-session-ui (4.6.2.1-1) ...
正在设置 grub-pc (2.02~beta3-4deepin) ...
Replacing config file /etc/default/grub with new version
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-29deepin-generic
Found initrd image: /boot/initrd.img-4.15.0-29deepin-generic
done
正在设置 startdde (3.6.0-1) ...
正在处理用于 libc-bin (2.27-3) 的触发器 ...
正在设置 libgl1-mesa-glx:amd64 (18.2.1.is.18.0.4) ...
正在设置 libgl1-mesa-glx:i386 (18.2.1.is.18.0.4) ...
正在设置 dde-control-center (4.8.1-1) ...
正在设置 dde (15.8+4) ...

安装完成后,系统正常更新。系统已经更新到最新

感谢楼上的兄弟们的解惑,期待更多人都来用深度Linux. 真的很好用
Reply View the author