当前位置:   article > 正文

dpkg: error processing package xxx解决方案_dpkg error processing package

dpkg error processing package

在用apt安装东西时,报错如下

  1. nvidia@tegra-ubuntu:~/ffmpeg$ sudo apt-get install git
  2. [sudo] password for nvidia:
  3. Reading package lists... Done
  4. Building dependency tree
  5. Reading state information... Done
  6. git is already the newest version (1:2.7.4-0ubuntu1.6).
  7. 0 upgraded, 0 newly installed, 0 to remove and 312 not upgraded.
  8. 1 not fully installed or removed.
  9. After this operation, 0 B of additional disk space will be used.
  10. Do you want to continue? [Y/n] y
  11. Setting up cups-browsed (1.8.3-2ubuntu3.5) ...
  12. Failed to start cups-browsed.service: Unit cups.service not found.
  13. invoke-rc.d: initscript cups-browsed, action "start" failed.
  14. dpkg: error processing package cups-browsed (--configure):
  15. subprocess installed post-installation script returned error exit status 5
  16. Errors were encountered while processing:
  17. cups-browsed
  18. E: Sub-process /usr/bin/dpkg returned an error code (1)

解决方案

  1. cd /var/lib/dpkg
  2. sudo mv info info.bak
  3. sudo mkdir info

然后再重新安装即可

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Monodyee/article/detail/88724
推荐阅读
相关标签
  

闽ICP备14008679号