apt-get (and apt-key) does not work for Linux 5.4.XX for i.MX8MQ EVK

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

apt-get (and apt-key) does not work for Linux 5.4.XX for i.MX8MQ EVK

2,712件の閲覧回数
Dennis-Cooltrax
Contributor I

Hi,

The newly purchased i.MX8M Quad EVK has just installed the latest Linux image (L5.4.24-2.1.0_images).

In order to install other Debian packages, it needs the 'apt-get install' command to work with. 

And, before the installations, 'apt-get update' and 'apt-key update' need to be performed.

From my tests:

The 'apt-key update' command shows:

Error: gnupg or gnupg2 do not seem to be installed,
Error: but apt-key requires gnupg or gnupg2 for this operation.

The 'apt-get update' command shows:

Get:1 http://ftp.debian.org/debian buster InRelease [121 kB]
Ign:1 http://ftp.debian.org/debian buster InRelease
Get:2 http://ftp.debian.org/debian buster-updates InRelease [51.9 kB]
Ign:2 http://ftp.debian.org/debian buster-updates InRelease
Get:3 http://ftp.debian.org/debian buster/main arm64 Packages [7736 kB]
Get:4 http://ftp.debian.org/debian buster/contrib arm64 Packages [38.7 kB]
Get:5 http://ftp.debian.org/debian buster/non-free arm64 Packages [53.8 kB]
Get:6 http://ftp.debian.org/debian buster-updates/main arm64 Packages [7848 B]
Get:7 http://ftp.debian.org/debian buster-updates/non-free arm64 Packages [600 B]
Fetched 8010 kB in 9s (803 kB/s)
Reading package lists... Done
W: GPG error: http://ftp.debian.org/debian buster InRelease: Unknown error executing apt-key
W: The repository 'http://ftp.debian.org/debian buster InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://ftp.debian.org/debian buster-updates InRelease: Unknown error executing apt-key
W: The repository 'http://ftp.debian.org/debian buster-updates InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch /
E: Failed to fetch /
E: Failed to fetch /
E: Failed to fetch /
E: Failed to fetch /

I've tried various ways to solve this issue, unfortunately, they didn't work for the issues. Ends up, we need your help with this.

 

Regards,

Dennis

--

 

 

0 件の賞賛
返信
2 返答(返信)

2,636件の閲覧回数
weidong_sun
NXP TechSupport
NXP TechSupport

Hi,

To add a software package to the linux BSP, you need to add it to local.conf and recompile the image to achieve the goal. The Linux BSP of I.MX is not a standard release version of the debian system, and software packages cannot be installed through apt-get.

 

Have a nice day!

B.R,

Weidong

0 件の賞賛
返信

2,645件の閲覧回数
mehmetalperuslu
Contributor I

I am having the same error given below for IMX6ULL EVK with 5.4.47-2.2.0+g5ec03d06f54e kernel. Could you please help?

root@imx6ull14x14evk:/# sudo apt-get update
Get:1 http://ftp.debian.org/debian buster InRelease [121 kB]
Get:2 http://ftp.debian.org/debian buster-updates InRelease [51.9 kB]
Ign:1 http://ftp.debian.org/debian buster InRelease
Ign:2 http://ftp.debian.org/debian buster-updates InRelease
Fetched 173 kB in 17s (9684 B/s)
Reading package lists... Done
W: GPG error: http://ftp.debian.org/debian buster InRelease: Unknown error executing apt-key
W: The repository 'http://ftp.debian.org/debian buster InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://ftp.debian.org/debian buster-updates InRelease: Unknown error executing apt-key
W: The repository 'http://ftp.debian.org/debian buster-updates InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch /
E: Failed to fetch /
E: Failed to fetch /
E: Failed to fetch /
E: Failed to fetch /
E: Some index files failed to download. They have been ignored, or old ones used instead.
root@imx6ull14x14evk:/# sudo apt-key update
Error: gnupg or gnupg2 do not seem to be installed,
Error: but apt-key requires gnupg or gnupg2 for this operation.

 

0 件の賞賛
返信