猿问

跪求!Ubuntu安装软件时报dpkg: 无法恢复的致命错误

Ubuntu使用apt-get命令安装软件时报如下错误,请问如何解决?
dpkg:无法恢复的致命错误,中止:
软件包gir1.2-gstreamer-1.0的文件名列表文件缺少最后结尾的换行符
E:Sub-process/usr/bin/dpkgreturnedanerrorcode(2)
系统:Ubuntu16.4U麒麟
MYYA
浏览 1346回答 2
2回答

阿晨1998

你可以参考一下这个应该有这两个文件:/var/lib/dpkg/info$lsgir1.2-gstreamer-1.0*gir1.2-gstreamer-1.0:amd64.listgir1.2-gstreamer-1.0:amd64.md5sums内容分别是$catgir1.2-gstreamer-1.0*/./usr/usr/lib/usr/lib/x86_64-linux-gnu/usr/lib/x86_64-linux-gnu/girepository-1.0/usr/lib/x86_64-linux-gnu/girepository-1.0/Gst-1.0.typelib/usr/lib/x86_64-linux-gnu/girepository-1.0/GstBase-1.0.typelib/usr/lib/x86_64-linux-gnu/girepository-1.0/GstCheck-1.0.typelib/usr/lib/x86_64-linux-gnu/girepository-1.0/GstController-1.0.typelib/usr/lib/x86_64-linux-gnu/girepository-1.0/GstNet-1.0.typelib/usr/share/usr/share/doc/usr/share/doc/gir1.2-gstreamer-1.0/usr/share/doc/gir1.2-gstreamer-1.0/copyright/usr/share/doc/gir1.2-gstreamer-1.0/AUTHORS/usr/share/doc/gir1.2-gstreamer-1.0/NEWS.gz/usr/share/doc/gir1.2-gstreamer-1.0/README.Debian/usr/share/doc/gir1.2-gstreamer-1.0/README.gz/usr/share/doc/gir1.2-gstreamer-1.0/changelog.Debian.gza7fc1d80415f1608ca2d1348f5559aa9usr/lib/x86_64-linux-gnu/girepository-1.0/Gst-1.0.typelibf0e79cda441513bda9fedfa70b78691busr/lib/x86_64-linux-gnu/girepository-1.0/GstBase-1.0.typelib8dc0b7aa5d40f363d1eb0d7c3837c025usr/lib/x86_64-linux-gnu/girepository-1.0/GstCheck-1.0.typelibae82f3cf967fa02a075667cdde00d51busr/lib/x86_64-linux-gnu/girepository-1.0/GstController-1.0.typelibe1e14a127fc1f47e6796864222073a1cusr/lib/x86_64-linux-gnu/girepository-1.0/GstNet-1.0.typelib755edde22ad9130c5ea5caa718046f66usr/share/doc/gir1.2-gstreamer-1.0/copyright如果你的不一样,说明坏掉了,可以删了,然后用sudoapt-getreinstallgir1.2-gstreamer-1.0重装一下。
随时随地看视频慕课网APP

相关分类

JavaScript
我要回答