求助!求助!终端更新遇到错误
Tofloor
poster avatar
successfully
deepin
2019-04-03 16:54
Author
我不喜欢在控制中心更新系统喜欢在终端使用命令行更新,于是遇到了如下错误:
正在设置 initramfs-tools (0.130) ...
update-initramfs: deferring update (trigger activated)
正在处理用于 initramfs-tools (0.130) 的触发器 ...
update-initramfs: Generating /boot/initrd.img-4.15.0-29deepin-generic
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.
W: plymouth: The plugin label.so is missing, the selected theme might not work as expected.
W: plymouth: You might want to install the plymouth-themes package to fix this.
cp: 无法获取'/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf' 的文件状态(stat): 没有那个文件或目录
E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
update-initramfs: failed for /boot/initrd.img-4.15.0-29deepin-generic with 1.
dpkg: 处理软件包 initramfs-tools (--configure)时出错:
installed initramfs-tools package post-installation script subprocess returned error exit status 1
在处理时有错误发生:
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

各位big god看看是哪的问题?
Reply Favorite View the author
All Replies
avatar
WENWEN
deepin
2019-04-03 17:09
#1
自己弄了内核  去wiki上面搜索  error code
Reply View the author
avatar
successfully
deepin
2019-04-03 17:33
#2
https://bbs.deepin.org/post/176296
自己弄了内核  去wiki上面搜索  error code

没有换过内核。
Reply View the author
avatar
137******33
deepin
2019-04-04 00:41
#3
W: plymouth: You might want to install the plymouth-themes package to fix this.


尝试过它提示的这个解决方案了吗?
用命令
apt install plymouth-themes
Reply View the author
avatar
successfully
deepin
2019-04-04 01:04
#4
https://bbs.deepin.org/post/176296
尝试过它提示的这个解决方案了吗?
用命令
apt install plymouth-themes

试过了sudo apt --reinstall install plymouth-theme,但是重装了plymouth-theme-deepin-logo。然后再次sudo apt dist-update还是报同样的错误。
Reply View the author
avatar
137******33
deepin
2019-04-04 01:28
#5
sudo mv /var/lib/dpkg/info /var/lib/dpkg/info_old

sudo mkdir /var/lib/dpkg/info

之后重新update和upgrade试一下?
Reply View the author
avatar
successfully
deepin
2019-04-04 01:40
#6
现在在公司,我回去试一试。
Reply View the author
avatar
Island
deepin
2019-04-04 01:46
#7
sudo apt-get install ttf-dejavu-core 装下这个包试试?
Reply View the author