subprocess installed post-installation script returned error exit status 1

http://blog.csdn.net/zxd675816777/article/details/39119767

 

 

如果 apt-get 出現 “subprocess installed post-installation script returned error exit status 1″ 的錯誤

dpkg: error processing util-linux (–configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
util-linux
E: Sub-process /usr/bin/dpkg returned an error code (1)

進到 /var/lib/dpkg/info 目錄

將卡住的套件檔案刪掉即可

apt-get autoclean
apt-get autoremove
apt-get update
apt-get upgrade

posted @ 2019-07-30 10:51  枫奇丶宛南  阅读(267)  评论(0)    收藏  举报