dpkg: 处理软件包 XXX (--configure)时出错:

dpkg: 处理软件包 xxx (--configure)时出错:
 已安装 xxx 软件包 post-installation 脚本 子进程返回错误状态 127
在处理时有错误发生:
 zbus2ros
E: Sub-process /usr/bin/dpkg returned an error code (1)
:~/user$ sudo rm /var/lib/dpkg/info/xxx.
xxx.list      xxx.md5sums   xxx.postinst  
:~/user$ sudo rm /var/lib/dpkg/info/xxx/xxx.postinst

这里其实删除旧的安装脚本即可

你可能感兴趣的:(环境配置,linux,服务器,运维)