更新系统时的报警
Tofloor
poster avatar
deepin
2018-01-23 23:06
Author
本帖最后由 flydeepin1979 于 2018-1-23 15:07 编辑

今天用终端更新系统时,最后报:
正在处理用于 initramfs-tools (0.130) 的触发器 ...
update-initramfs: Generating /boot/initrd.img-4.9.0-deepin13-amd64
WARNING: Setting CRYPTSETUP in /etc/initramfs-tools/initramfs.conf is deprecated and will stop working in the future. Use /etc/cryptsetup-initramfs/conf-hook instead.
setupcon is missing. Please install the 'console-setup' package.

请问这是什么意思?https://bbs.deepin.org/user/101846

我按照提示运行如下命令,结果说无法安装:karl@karl-pc:~$ sudo apt install console-setup
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
有一些软件包无法被安装。如果您用的是 unstable 发行版,这也许是
因为系统无法达到您要求的状态造成的。该版本中可能会有一些您需要的软件
包尚未被创建或是它们已被从新到(Incoming)目录移出。
下列信息可能会对解决问题有所帮助:

下列软件包有未满足的依赖关系:
console-setup : 依赖: console-setup-linux 但是它将不会被安装 或
                         console-setup-freebsd 但是它将不会被安装 或
                         hurd 但无法安装它
                 依赖: keyboard-configuration (= 1.163) 但是 1.166 正要被安装
E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。


Reply Favorite View the author
All Replies
avatar
zouqilin
deepin
2018-01-24 00:18
#1
我都是忽略的
Reply View the author
avatar
deepin
2018-01-24 00:22
#2

我是有洁癖的。。。
Reply View the author
avatar
wtz
deepin
2018-01-24 00:25
#3
感觉楼主应该是手动更新了显卡驱动之类的,导致依赖关系被破坏了?
可以尝试一下这个方法,但请保证:
(1)务必插好网线(或者确保无线网络畅通);
(2)一次性输入完所有命令,在此之前不得重启
(3)之前没有安装过闭源显卡驱动。

  1. sudo apt remove keyboard-configuration
  2. sudo apt install console-setup xorg xserver-xorg-input-all xserver-xorg-video-all
Copy the Code
Reply View the author
avatar
deepin
2018-01-24 00:34
#4
https://bbs.deepin.org/post/152262
感觉楼主应该是手动更新了显卡驱动之类的,导致依赖关系被破坏了?
可以尝试一下这个方法,但请保证:
(1 ...

你这么说,我倒是觉得很有可能。之前我确实手动修改过驱动。
Reply View the author
avatar
deepin
2018-01-24 00:54
#5
本帖最后由 flydeepin1979 于 2018-1-23 16:58 编辑
https://bbs.deepin.org/post/152262
感觉楼主应该是手动更新了显卡驱动之类的,导致依赖关系被破坏了?
可以尝试一下这个方法,但请保证:
(1 ...

按照你的方法设置过后,好了。
Reply View the author