现在我丢失了 dmz 光标,并且总是出现以下错误sudo apt upgrade
Setting up dmz-cursor-theme (0.4.5ubuntu1) ...
update-alternatives: error: alternative path /usr/share/icons/DMZ-White/cursor.theme doesn't exist
dpkg: error processing package dmz-cursor-theme (--configure):
installed dmz-cursor-theme package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
dmz-cursor-theme
E: Sub-process /usr/bin/dpkg returned an error code (1)
我怎样才能恢复这个文件?我已经尝试过,sudo apt install --reinstall dmz-cursor-theme
但我只得到错误
E: Internal Error, No file name for dmz-cursor-theme:amd64
您必须手动重新创建文件路径:
然后运行重新安装:
或者如果它继续失败 - 直接从缓存中安装它的包: