其他基于Debian的系统均适用,需要全部从源里重新下载所有安装包,耗时较长,实在没办法万不得已之备选方法。
sudo apt-get --reinstall install `dpkg --get-selections | grep '[[:space:]]install' | cut -f1`
其他基于Debian的系统均适用,需要全部从源里重新下载所有安装包,耗时较长,实在没办法万不得已之备选方法。
sudo apt-get --reinstall install `dpkg --get-selections | grep '[[:space:]]install' | cut -f1`