gpt4 book ai didi

linux - 破坏依赖

转载 作者:塔克拉玛干 更新时间:2023-11-02 23:09:10 24 4
gpt4 key购买 nike

我删除了/opt 的内容,现在 spotify 和 google chrome 将无法工作,因为我删除了它们的目录。如果我尝试删除它们、修复它们、升级它们或进行任何其他操作,我会得到:

xdg-icon-resource: size argument must be numeric
Try 'xdg-icon-resource --help' for more information.
enter code heredpkg: error processing package google-chrome-stable (--remove):
subprocess installed pre-removal script returned error status 1
xdg-icon-resource: size argument must be numeric
Try 'xdg-icon-resource --help' for more information.

其中一部分已翻译,但只是一小部分。

最佳答案

我已经通过删除我的/opt 文件夹然后恢复 google-chrome 在我的机器上对此进行了测试。所以我知道它有效。请按照以下步骤恢复您的 google-chrome:

  1. Download the google chrome debian file根据您的操作系统从这个链接。
  2. 下载后在 debian 文件所在的位置打开终端窗口并运行以下命令以重新安装 google-chrome

    sudo dpkg -i yourgooglechromedebianfile.deb

  3. 您的 google-chrome 已启动并再次运行。 :)

关于linux - 破坏依赖,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24248668/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com