📅  最后修改于: 2022-03-11 14:55:13.898000             🧑  作者: Mango
run the following commond on the terminal
1)sudo cp /var/lib/dpkg/status status.bkp
2)sudo gedit /var/lib/dpkg/status
3)then Search for the package name that appears in the error.
Note that, in our case the culprit package was ‘flectra’ which was in
‘purge reinstreq half-installed’ state. After you have located the
culprit package, delete the section of information related to that
package and save the file.
In our case, we deleted the section related to ‘flectra’
inside the rectangle and saved the file.
Close ‘gedit’ when done.
then try to install the pakage you want to install and you fill find no
error now :)