ubuntu - apt-get 抛出无效的 statoverride uid #
问题描述
当我运行 apt-get 时,突然间我不断收到此错误,我无法弄清楚是什么原因造成的,这是标准的 Ubuntu 18.04:
# apt-get install -V apt-transport-https
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
apt-transport-https (1.6.10 => 1.6.12)
1 upgraded, 0 newly installed, 0 to remove and 244 not upgraded.
Need to get 0 B/1692 B of archives.
After this operation, 0 B of additional disk space will be used.
dpkg: unrecoverable fatal error, aborting:
invalid statoverride uid #
E: Sub-process /usr/bin/dpkg returned an error code (2)
#
解决方案
这是由一些严重的文件系统损坏引起的,我相信磁盘故障。/var/lib/dpkg/statoverride 文件的内容来自完全不同的文件
推荐阅读
- json - 处理一个非常大的输入文件而不用 slurp
- fonts - 如何防止 LaTeX 在使用 /times 后修改字体?
- python - 在 python 多处理中, .get() 总是超时,即使在已知可以工作的代码中
- javascript - 预期体积结果时的 Threecsg 平边
- python - 带有 if_exists="append" 的 df.to_sql 失败并出现 TypeError: Invalid Argument sent to create_engine
- javascript - 在转换为模式类型猫鼬之前验证原始传入值
- clickhouse - 有没有办法加入 clickhouse 列中的所有数组,然后过滤重复项?
- visual-studio - VS和调试成nuget
- iis - 如何编写 IIS 将多个子域重写为多个本地端口规则?
- javascript - 有没有办法从 csv 数据创建文件并下载它