![注册表损坏:/etc/default/grub 的重复条目](https://linux22.com/image/987867/%E6%B3%A8%E5%86%8C%E8%A1%A8%E6%8D%9F%E5%9D%8F%EF%BC%9A%2Fetc%2Fdefault%2Fgrub%20%E7%9A%84%E9%87%8D%E5%A4%8D%E6%9D%A1%E7%9B%AE.png)
每当我尝试从 apt-get 安装任何包时,都会出现此错误:
Setting up grub-pc (2.02~beta2-9ubuntu1.7) ...
ucfr: Corrupt registry: Duplicate entries for /etc/default/grub
grub-pc /etc/default/grub
grub-pc /etc/default/grub
grub-pc /etc/default/grub
grub-pc /etc/default/grub
dpkg: error processing package grub-pc (--configure):
subprocess installed post-installation script returned error exit status 4
Errors were encountered while processing:
grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)
我检查了 /etc/default/grub 文件,没有发现任何重复条目。如果能提供任何帮助,我将不胜感激。
提前致谢