title: Debian 一键重装修复rc状态的包
date: 2022-10-20 10:35:28.0
updated: 2022-10-20 18:15:14.0
url: https://liumou.site/doc/552
categories:

  • Deepin
  • Debian
  • APT
  • 麒麟
  • UOS
    tags:
  • Kylin
  • Debian

sudo apt update
sudo apt install -y --reinstall $(dpkg -l | grep -v ii  | grep rc | awk '{print $2}' | sed '1,5 d')