【问题标题】:ubuntu apt: how to fix this error? ... "Unable to open temporary cache: Unable to open temporary cache file"ubuntu apt:如何解决这个错误? ...“无法打开临时缓存:无法打开临时缓存文件”
【发布时间】:2021-11-08 16:33:41
【问题描述】:

我最近重新安装了 ubuntu 20.04.3,在进行了一些设置后,我现在在运行 apt update 时总是收到以下错误。我一定是不小心删除了某种缓存文件或目录,但我不知道如何诊断或解决这个问题。

谁能建议一种方法来诊断和纠正这个错误?非常感谢!

# apt update
Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
Get:4 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Fetched 101 kB in 1s (170 kB/s)   

** (appstreamcli:27732): CRITICAL **: 11:23:58.567: Unable to open temporary cache: Unable to open temporary cache file: No such file or directory

【问题讨论】:

    标签: ubuntu apt


    【解决方案1】:

    没关系! :)

    我将TMP 环境变量设置为/opt/tmp,但该目录已被删除。重新创建该目录后,一切正常。

    一切都会好起来的。

    精益求精!

    【讨论】:

      猜你喜欢
      • 2017-12-03
      • 1970-01-01
      • 2020-07-08
      • 2018-11-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-27
      • 1970-01-01
      相关资源
      最近更新 更多