我已经添加了纸质主题 PPA,但当我执行此操作时sudo apt-get upgrade
出现以下错误,我是 18.04.1 LTS,我也不知道如何--force-overwrite
向 dpkg 中可用的 apt 添加选项:
Unpacking paper-cursor-theme (1.4+r696~daily~ubuntu18.04.1) over (1.4+r696~daily~ubuntu17.10.1) ...
dpkg: error processing archive /var/cache/apt/archives/paper-cursor-theme_1.4+r696~daily~ubuntu18.04.1_all.deb (--unpack):
trying to overwrite '/usr/share/icons/Paper/cursor.theme', which is also in package paper-icon-theme 1.5.721-201808151353~daily~ubuntu18.04.1
Errors were encountered while processing:
/var/cache/apt/archives/paper-cursor-theme_1.4+r696~daily~ubuntu18.04.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
我怎样才能跳过特定的升级?
答案1
问题是我cursor.theme
在安装时使用了纸张,结果抛出了无法覆盖它的错误。只需将光标主题更改为其他内容,然后更新,它现在就可以安装了。