1

树莓派更新失败

 2 years ago
source link: https://blog.feelyou.top/posts/14337281.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

树莓派更新失败

2019-07-27

28

最近日常给树莓派apt-get upgrade ,然鹅,一直报错,导致更新下载都无法进行。。。

aufs-dkms 软件包 post-installation 脚本 子进程返回错误状态 10

找了一圈,找到了下面的解决办法👇

# 现将info文件夹更名
$ sudo mv /var/lib/dpkg/info /var/lib/dpkg/info_old

# 再新建一个新的info文件夹
$ sudo mkdir /var/lib/dpkg/info

# 重新update、upgrade
$ sudo apt-get update & apt-get -f install

# 将更新的info内容和原始info文件合并在以前,恢复info文件夹位置,删除过渡文件夹
$ sudo mv /var/lib/dpkg/info/* /var/lib/dpkg/info_old
$ sudo rm -rf /var/lib/dpkg/info
$ sudo mv /var/lib/dpkg/info_old /var/lib/dpkg/info

最后更新时间:2021-04-22 19:41:40
转载请注明来源:http://blog.feelyou.top/posts/14337281.html

Related Issues not found

Please contact @qiaohaoforever to initialize the comment


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK