Firefly开源社区

打印 上一主题 下一主题

[Linux] 执行repo sync命令拉取ROC-RK3588S-PC的Linux的sdk的时候报错

4

积分

0

威望

0

贡献

吃瓜的群众

积分
4

执行repo sync命令拉取ROC-RK3588S-PC的Linux的sdk的时候报错

发表于 2024-8-26 17:08:18      浏览:155 | 回复:0        打印      只看该作者   [复制链接] 楼主
问题描述:
在执行repo sync命令拉取ROC-RK3588S-PC的Linux的sdk的时候报错,报错如下:
root@test:/home/zhang/test/repo_test# repo sync
/home/zhang/test/repo_test/.repo/repo/main.py:19: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's
documentation for alternative uses
import imp
error: in `sync`: [Errno 2] No such file or directory: '/home/zhang/test/repo_test/.repo/manifests/.git/HEAD'
error: manifest missing or unreadable -- please run init
root@test:/home/zhang/test/repo_test#
root@test:/home/zhang/test/repo_test#
root@test:/home/zhang/test/repo_test#

后来研究发现是由于在执行repo init命令后,在生成的.repo文件夹中没有manifests文件夹,.repo下面只有repo这个文件夹,
我搞不懂为何没有manifests文件夹,按道理正常来说.repo文件夹是会有manifests文件夹的。不知道我的为啥没有,求助!!!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表