坑-逆向工具集成

1. E: Lists directory /var/lib/apt/lists/partial is missing.

解决思路是新建一个空白partial文件夹,使用IExploer连接手机,添加到指定目录,然后就可以执行apt-get update

2. E: Some index files failed to download, they have been ignored, or old ones used instead.

  1. 可以将目录下/var/lib/apt/lists/partial/所有的文件清掉
  2. $ sudo rm /var/lib/apt/lists/* -rf
  3. 再次运行apt-get update

3. Warning: You are using OS X 10.12.

在执行:

brew install --from-bottle https://raw.githubusercontent.com/Homebrew/homebrew-core/7a4dabfc1a2acd9f01a1670fde4f0094c4fb6ffa/Formula/dpkg.rb

出现了下边的提示:

Warning: You are using OS X 10.12.
We do not provide support for this pre-release version.
You may encounter build failures or other breakages.

后来查询了好多资料,发现需要更新Homebrew才能解决。
就是需要先执行:

brew update

执行成功后,再执行:

brew install --from-bottle https://raw.githubusercontent.com/Homebrew/homebrew-core/7a4dabfc1a2acd9f01a1670fde4f0094c4fb6ffa/Formula/dpkg.rb

最后执行:

brew pin dpkg

就完成了dpkg的安装

4. brew udpate出现错误“/usr/local is not writable.”的问题解决

如图所示:

417876-20170115155957947-153521621.png

在命令行输入:

sudo chown -R 当前登录的用户名 /usr/local

再次输入:

brew update

5. -sh: tail: command not found

在iPhone上监听log事件的时候:

tail -f /var/log/syslog

出现下面错误提示:

-sh: tail: command not found

经过百度,发现是iPhone中缺少Core Utilities,于是

在iPhone上使用Cydia搜索Core Utilities,并安装,即可。
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容