root@cn0614010484l:/var/lib/dpkg# ls -l status
-rw-r--r-- 1 root root 2037605 8月 15 12:25 status
root@cn0614010484l:/var/lib/dpkg# vim status
root@cn0614010484l:/var/lib/dpkg# > status
root@cn0614010484l:/var/lib/dpkg# ls -l status
-rw-r--r-- 1 root root 0 8月 15 12:50 status
root@cn0614010484l:/var/lib/dpkg# apt install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@cn0614010484l:/var/lib/dpkg# apt install net-tools
Reading package lists... Done
只需要清楚 /var/lib/dpkg/status 文件 相当于centos里面的repo下的