您当前的位置:中国科技头条网要闻正文

iPhone越狱后Cydia升级中出现firmware-sbin错误的解决办法

时间:2018-04-01 15:46:34  阅读:1937+ 来源:本站原创 作者:侯湘婷

  针对旧固件使用Terminal经过SSH协议升级Cydia时的错误:

Unpacking firmware-sbin (from …/firmware-sbin_0-1_iphoneos-arm.deb) …
cp: cannot stat `/usr/sbin/nvram’: No such file or directory
dpkg: error processing /var/cache/apt/archives/firmware-sbin_0-1_iphoneos-arm.deb (—unpack):
subprocess pre-installation script returned error exit status 1
removed `/sbin/fsck.sbin’
removed `/sbin/fsck_hfs.sbin’
removed `/sbin/fstyp.sbin’
removed `/sbin/fstyp_hfs.sbin’
removed `/sbin/mount.sbin’
removed `/sbin/mount_hfs.sbin’
removed `/sbin/newfs_hfs.sbin’
Errors were encountered while processing:
/var/cache/apt/archives/firmware-sbin_0-1_iphoneos-arm.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
localhost:/private/etc/apt/sources.list.d root#

  解决办法一(在Terminal软件里执行以下命令,逐行执行):

touch /usr/sbin/nvram
apt-get -f upgrade firmware-sbin
apt-get upgrade cydia

  解决办法二:删除Cydia文件夹,重新越狱。

“如果发现本网站发布的资讯影响到您的版权,可以联系本站!同时欢迎来本站投稿!