📜  dpkg:不可恢复的致命错误,正在中止:包“libhdf5-dev”的文件列表文件包含空文件名 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:17.748000             🧑  作者: Mango

代码示例1
sudo apt-get download fonts-tlwg-kinnari

sudo dpkg -c /var/cache/apt/archives/fonts-tlwg-kinnari_1%3a0.5.1-3_all.deb  | awk '{if ($6 == "./") { print "/."; } \
else if (substr($6, length($6), 1) == "/") \
{print substr($6, 2, length($6) - 2); } \
else { print substr($6, 2, length($6) - 1);}}' > /var/lib/dpkg/info/fonts-tlwg-kinnari.list