https://www.jianshu.com/p/942c562065c8
// backup / var / lib / dpkg / status file sudo cp / var / lib / dpkg / Status status.bkp // edit the file sudo vim / var / lib / dpkg / Status // locate the wrong package, will the package record delete, save, complete.