问题描述
我正在尝试创建一个旨在在 Nvidia Jetson Nano 平台上运行的 AOSP 映像。为此,我需要从此页面克隆存储库:
https://github.com/antmicro/kvm-aosp-jetson-nano
根据教程,这些是应该发出的命令:
获取并安装 repo 工具
mkdir -p ~/bin
PATH=~/bin:$PATH
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
Fetch the AOSP sources
mkdir aosp
cd aosp
repo init -u https://github.com/antmicro/kvm-aosp-manifest.git -b kvm-aosp
repo sync
.......
问题是在某些时候我看到了这个错误信息:
error: unable to create file pathtools/testdata/escapes/*: Invalid argument
fatal: cannot create directory at 'pathtools/testdata/escapes/**': Invalid argument
error: Cannot checkout platform/build/blueprint: GitError: Cannot initialize work tree for platform/build/blueprint
Updating files: 100% (595/595),done.
Updating files: 100% (12659/12659),done.
和下载冻结。我想知道如何解决这个问题。谢谢。我正在使用 ubuntu 20.10 和这个版本的 repo :
root@ziomario-Z390-AORUS-PRO:/home/ziomario# repo --version
<repo not installed>
repo launcher version 2.12
(from /usr/bin/repo)
git 2.27.0
Python 3.8.6 (default,Jan 27 2021,15:42:20)
[GCC 10.2.0]
OS Linux 5.8.0-44-generic (#50-Ubuntu SMP Tue Feb 9 06:29:41 UTC 2021)
CPU x86_64 (x86_64)
正如你在下面看到的,这个文件夹中有一些特殊字符:
我认为 repo 同步无法从服务器获取它们。当我尝试使用以下命令将整个存储库从磁盘上的一个位置复制到另一个位置时遇到同样的问题:
sudo rsync -avxHAX source destination
在这种情况下,错误是这样的:
rsync 错误:某些文件/属性未传输(请参阅前面的 错误)(代码 23)在 main.c(1330) [sender=3.2.3]
只有一次我能够从服务器复制整个存储库而没有出错。所以我在我的磁盘上正确地复制了这些字符。但是我无法将它们复制到磁盘的另一个位置,当我再次尝试克隆 repo 时,它总是给出错误。我认为这是一种奇怪的行为,我想了解这背后的原因。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)