| FORUM

FEDEVEL
Platform forum

Learn the Essentials of creating uBoot, Linux and YOCTOi

IdanRace , 04-05-2023, 05:08 AM

In lesson 1 when I do repo sync, and when i do
source setup-environment build
​I get:

please help me​
dodoolas , 04-05-2023, 04:55 PM
Hello Idan,

I tried the first 2 lessons step by step just a week ago and it worked for me. Please, have a look at this document, it might be useful for you:
- https://docs.google.com/document/d/1...it?usp=sharing


I ran into a similar issue as you describe in lesson 1 with the repo sync command.


After submitting the repo sync command, I got following error:
Fetching projects: 71% (5/7) meta-openembeddedfatal: unable to access 'https://git.yoctoproject.org/git/poky/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
fatal: unable to access 'https://git.yoctoproject.org/git/meta-fsl-arm/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
error: Cannot fetch meta-fsl-arm from https://git.yoctoproject.org/git/meta-fsl-arm
Fetching projects: 85% (6/7) meta-fsl-armerror: Cannot fetch poky from https://git.yoctoproject.org/git/poky
Fetching projects: 100% (7/7), done.
error: Cannot checkout meta-fsl-arm: ManifestInvalidRevisionError: revision jethro in meta-fsl-arm not found
error: in `sync`: revision jethro in meta-fsl-arm not found





I tried to enter the fix command lines from Lesson 1 ("Questions & Updates" tab that can be found under the lesson 1 course online video​). You should try if you keep having problems with certificates:
sudo dpkg-reconfigure ca-certificates
sudo update-ca-certificates




Even after this, I got the very same error messages without any change. I tried the sudo apt install ca-certificates command that I found online and that helped someone else to solve this issue, however it still didn’t work for me. I got very similar error messages:
Fetching projects: 71% (5/7) meta-openembeddedfatal: unable to access 'https://git.yoctoproject.org/git/poky/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
fatal: unable to access 'https://git.yoctoproject.org/git/meta-fsl-arm/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
^Cfatal: unable to access 'https://git.yoctoproject.org/git/meta-fsl-arm/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
fatal: unable to access 'https://git.yoctoproject.org/git/poky/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
error: Cannot fetch meta-fsl-arm from https://git.yoctoproject.org/git/meta-fsl-arm
Fetching projects: 85% (6/7) meta-fsl-armerror: Cannot fetch poky from https://git.yoctoproject.org/git/poky
Fetching projects: 100% (7/7) pokyaborted by user




I rebooted the VirtualMachine, I again tried to enter the suggested commands from the lesson 1.
Fix the Python problem
export GIT_SSL_NO_VERIFY=1
cd ~
mkdir ~/bin
git clone https://gerrit.googlesource.com/git-repo
cd git-repo
git checkout 27da4ddeb9159573e0207f71e4d9b3ae286b5275
cp repo ../bin
chmod a+x ~/bin/repo
PATH=${PATH}:~/bin

sudo dpkg-reconfigure ca-certificates
sudo update-ca-certificates




After this I tried the repo sync command again and it worked just fine.​


Please try to reboot your virtual machine, follow the instructions again and let me know if it works for you as well.

PS: If you get an error message, do not ignore it! It can be something essential for the following steps which will lead you into more issues
and you will not be able to continue.
- If you are still having issues, providing as much information (e.g. non cropped screenshots, the exact timestamp in the course video) as possible is really helpful for us to find a solution faster or to re-create the situation you are struggling with.


Thank you​​
Use our interactive Discord forum to reply or ask new questions.
Discord invite
Discord forum link (after invitation)

Didn't find what you were looking for?