Closed camz2000 closed 2 years ago
Definitely make sure you are using Ubuntu 20.04. We have had issues with 22.04 if I remember correctly.
Definitely make sure you are using Ubuntu 20.04. We have had issues with 22.04 if I remember correctly.
That is also my first guess. Creating a root image with 22.04 is definitely not working with the 2021 release, but I think that was yet another error message (something about /etc/hosts).
Hmmm ok. Until Tuesday we have access to the robot, please don't close the chat, and we will try it again. Thank you :)
Since I just created a root image (on Linux Mint 20.3 which is based on Ubuntu 20.04), I can more or less rule out that the cause is in the Ubuntu package base. Are you sure this is the first command that fails? (It should be because the script exits whenever a command fails). Otherwise, can you give the output of ls -l /tmp/b-human-root/etc/systemd/system
after the command failed?
We executed that line ls -l /tmp/b-human-root/etc/systemd/system
and we have this:
It seems that the directory sysinit.target.wants is not created, what should we do?
Another problem that we have is that this libraries aren't installing. We could replace libqt6 to libqy5?
Thank you for your colaboration.
You should follow the instructions from https://wiki.b-human.de/coderelease2021/ (https://wiki.b-human.de/master/ is about internal development version)
Regarding the original problem: Can you try removing line 104 (apt-get dist-upgrade
) from createRootImage
and run the script again?
In fact, you should just replace line 104 by DEBIAN_FRONTEND=noninteractive apt-get dist-upgrade -y
to make it work on Ubuntu 22.04.
Thank you so much. It works with the Ubuntu 20.04Lts. Futhermore, the link that you gave us was the correct one. 👍. We aare grateful with you.
Hi! I'm Camila Álvarez from the University of la Sabana, and I'm working with my team in the image processing optimization of the robot NAO, and we find intersting your code. Therefore, with my team, we are trying to compile this repository, but in the part of the root image, appears an error which says the following message:
It seems that isn't creating a directory that allows the compilation of the code. I will apreciate if you could guide us to solve this problem. Thank you so much.