E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: 没有那个文件或目录)

简介: E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: 没有那个文件或目录)

解决办法:


mkdir -p /var/lib/dpkg/{alternatives,info,parts,triggers,updates}
cp /var/backups/dpkg.status.0 /var/lib/dpkg/status

如果还有错误,参考:


https://blog.csdn.net/quantum7/article/details/105064888

目录
相关文章
npm ERR! Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules‘
npm ERR! Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules‘
103 0
未解决:lrelease: could not exec ‘/usr/lib/qt5/bin/lrelease‘: No such file or directory
未解决:lrelease: could not exec ‘/usr/lib/qt5/bin/lrelease‘: No such file or directory
142 0
flAbsPath on /var/lib/dpkg/status failed - realpath
flAbsPath on /var/lib/dpkg/status failed - realpath
88 0
在处理时有错误发生: trousers tpm-tools E: Sub-process /usr/bin/dpkg returned an error code (1)
在处理时有错误发生: trousers tpm-tools E: Sub-process /usr/bin/dpkg returned an error code (1)
在处理时有错误发生: trousers tpm-tools E: Sub-process /usr/bin/dpkg returned an error code (1)
|
监控 Linux Python
Centos 7.0 execute yum update ——File "/usr/libexec/urlgrabber-ext-down", line 75, in <module>
Centos 7.0 execute yum update ——File "/usr/libexec/urlgrabber-ext-down", line 75, in <module>
104 0
Centos 7.0 execute yum update ——File "/usr/libexec/urlgrabber-ext-down", line 75, in <module>
|
JavaScript 安全
npm:Error: EPERM: operation not permitted, mkdir ‘C:\Program Files\nodejs\node_cache\_cacache‘
npm:Error: EPERM: operation not permitted, mkdir ‘C:\Program Files\nodejs\node_cache\_cacache‘
328 0
npm:Error: EPERM: operation not permitted, mkdir ‘C:\Program Files\nodejs\node_cache\_cacache‘
|
缓存 资源调度
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Yang\AppData\Local\npm-ca
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Yang\AppData\Local\npm-ca
475 0
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Yang\AppData\Local\npm-ca
|
消息中间件 Linux
Linux - error: cannot open Packages database in /var/lib/rpm
Linux - error: cannot open Packages database in /var/lib/rpm
277 0
|
iOS开发 MacOS
如何解决npm命令报错Missing write access to /usr/local/lib/node_modules
如何解决npm命令报错Missing write access to /usr/local/lib/node_modules
如何解决npm命令报错Missing write access to /usr/local/lib/node_modules
|
开发工具 容器
解决报错:Couldn't create temporary file /tmp/apt.conf.IRqbCz
问题 操作容器应该是属于服务器开发同学的常规操作,经常我们会遇到系统缺少对应的工具的情况,比如我们进入容器后,想使用 vim 修改某个文件,但是发现该容器没有安装 vim 工具。这个时候,一般都需要自己手动安装,比如在 unbuntu 系统中,可以使用 apt-get 包管理命令。
605 0
解决报错:Couldn't create temporary file /tmp/apt.conf.IRqbCz