Hi,
I had followed the "UG10164
i.MX Yocto Project User's Guide" section 5.6.12 Package management, provided by nxp.
source.list was empty initialy and sudo apt update was successful but sudo apt install not working based on nxp documentation mentioned above in source.list i hadv added
root@imx6ul7d:~# cat /etc/apt/sources.list
deb http://deb.debian.org/debian buster main contrib non-free
deb http://security.debian.org/debian-security buster/updates main
deb http://deb.debian.org/debian buster-updates main
and i gave sudo apt update but it throws error
root@imx6ul7d:~# sudo apt update
Get:1 http://security.debian.org/debian-security buster/updates InRelease [34.8 kB]
Err:1 http://security.debian.org/debian-security buster/updates InRelease
gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed
Get:2 http://deb.debian.org/debian buster InRelease [122 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [56.6 kB]
Err:2 http://deb.debian.org/debian buster InRelease
gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed
Err:3 http://deb.debian.org/debian buster-updates InRelease
gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed
Reading package lists... Done
W: GPG error: http://security.debian.org/debian-security buster/updates InRelease: gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed
E: The repository 'http://security.debian.org/debian-security buster/updates InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://deb.debian.org/debian buster InRelease: gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed
E: The repository 'http://deb.debian.org/debian buster InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://deb.debian.org/debian buster-updates InRelease: gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed
E: The repository 'http://deb.debian.org/debian buster-updates InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
for installing gpgv,gpgv1,2 again apt install wont work .
what should be added in the repository for apt-get to work.
HI @Et_MM!
Unfortunately to add packages to your file system you should compile the image using yocto.
Additional packages can be installed by adding the following line in <build dir>/local.conf.
CORE_IMAGE_EXTRA_INSTALL:append = " <package_name1 package_name2>"
https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf
Best Regards!
Chavira