at this point:
apt update && apt install libdrm-tests
I get the error on my Riverdi display:
E: List directory /var/lib/apt/lists/partial is missing. - Acquire (13: Permission denied)
I also tried with sudo apt update && apt install libdrm-tests,
but I cannot provide any working password. The password I have for my torizon user and the “torizon” passwor do not work.
Can you please help me to install the packages?
Best Regards
Verdin iMX8M Plus Quad 4GB IT V1.1A
Verdin Development Board V1.1E
Capacitive Touch Display 10.1" DSI
Verdin DSI Display Adapter
Hi, I’m the Toradex AI Assistant. I’m in early beta, and I would appreciate your feedback.
The Toradex Support team will follow up with you shortly!
Did you like my answer?
It seems like you are encountering a permission issue when trying to install the libdrm-tests package. This is likely because the default Torizon user does not have the necessary permissions to perform apt operations.
To resolve this, you can start a container with root privileges. Here’s how you can do it:
Start a new container with root privileges:
docker run -it --rm --privileged torizon/weston:2
Inside the container, update the package list and install libdrm-tests:
apt update && apt install libdrm-tests
This should allow you to install the package without encountering permission issues.
Unfortunately the solution does not work.
The container does not run:
[08:43:52.602] warning: no input devices on entering Weston. Possible causes:
- no permissions to read /dev/input/event*
- seats misconfigured (Weston backend option ‘seat’, udev device property ID_SEAT)
[08:43:52.602] failed to create input devices
[08:43:52.602] warning: no input devices on entering Weston. Possible causes:
- no permissions to read /dev/input/event*
- seats misconfigured (Weston backend option ‘seat’, udev device property ID_SEAT)
[08:43:52.602] failed to create input devices
However, if you want to follow the steps on Setting up Displays with Torizon | Toradex Developer Center and need to install packages on the weston container, you will need to use the root user in that container.
This can be done by adding a -u 0:0 argument to the docker run command:
Thanks for sending the screen picture, now I understand better how you are trying to install the package.
What is being used is the Wayland Terminal, which should not be used for any debugging tasks that require elevated privileges.
The way I recommend you to install these packages is to actually open a bash shell within the container.
For this, you can revert back to the old command being used to start Weston: