can not install software in linux error as dpkg was interrupted

后端 未结 5 805
感情败类
感情败类 2021-02-08 23:06

I was trying to install mono using following commands,

  1. sudo apt-get install mono-*

unfortunately, I closed the terminal while it instal

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-08 23:53

    This error occurs when u stop the any installation in-between either using terminal or Ubuntu app center. This can be solved by removing the broken installation. To do so enter the following command in the terminal in the same order.

    cd /var/lib/dpkg/updates
    sudo rm *
    sudo apt-get update
    

提交回复
热议问题