我只是遵循了这些说明http://www.techrepublic.com/blog/ope...on-ubuntu/4343在全新安装的 Ubuntu 13.04 上,安装过程中崩溃并显示以下错误消息:
代码:
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.8.0-25-generic
cp: cannot stat ‘/module-files.d/libpango1.0-0.modules’: No such file or directory
cp: cannot stat ‘/modules/pango-basic-fc.so’: No such file or directory
E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.8.0-25-generic with 1.
dpkg: error processing initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for ca-certificates ...
Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....
done.
done.
Processing triggers for ureadahead ...
Errors were encountered while processing:
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
知道这是什么吗?
非常感谢,
答案1
我不确定你的问题是否与依赖项有关,但如果你安装了某些东西,dpkg
并且由于依赖项运行而失败
sudo apt-get install -f
这将完成失败的安装并安装所需的软件包。
前几天,当我错误地建议某人采用非常冗长的方式来做这件事时,我从一位 26k 用户那里学到了这一点。