Armadilloフォーラム

「awl13-usb-firmwares」が見つからない

kuyoki-y

2021年2月17日 16時11分

お世話になっております。

オプション品「OP-A600-AWLMOD-00」を使いたくパッケージを整えていたところ、
awl13-usb-firmwares
が見つかりませんでした。別途入手する方法はございますでしょうか。

--------------------------------------------------
root@armadillo:~# apt-get install awl13-usb-firmwares
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package awl13-usb-firmwares

コメント

at_akihito.irie

2021年2月18日 15時05分

入江です。

[armadillo]# apt update
[armadillo]# apt install awl13-usb-firmwares

を実行してもインストールできない場合は、原因を究明するために以下のコマ
ンドの出力をいただけますでしょうか。

[armadillo]# cat /etc/apt/sources.list

もしくは単純にインストールするだけでしたら、ATDE上で
awl13-usb-firmwaresのdebファイルをダウンロードし、Armadilloに転送して
インストールするという方法もあります。

まずはATDE上で以下のコマンドを実行します。

[ATDE]$ sudo apt update
[ATDE]$ sudo apt -d install awl13-usb-firmwares
[ATDE]$ ls /var/cache/apt/archives/awl13-usb-firmwares_4.8.7-2_all.deb
/var/cache/apt/archives/awl13-usb-firmwares_4.8.7-2_all.deb <- このファイルをArmadilloに送る

debファイルをArmadilloに送り、Armdillo上で以下のコマンドを実行してイン
ストールします。

[armadillo]# ls awl13-usb-firmwares_4.8.7-2_all.deb
awl13-usb-firmwares_4.8.7-2_all.deb
[armadillo]# dpkg -i ./awl13-usb-firmwares_4.8.7-2_all.deb

kuyoki-y

2021年2月19日 9時40分

入江様
ご回答ありがとうございました。

>

> [armadillo]# apt update
> [armadillo]# apt install awl13-usb-firmwares
> 

>
> を実行してもインストールできない場合は、原因を究明するために以下のコマ
> ンドの出力をいただけますでしょうか。

上記手法ではインストールできませんでしたが、
apt updateを実行したところ、対象となるリポジトリでGPGエラーが発生しており、これが原因かと思われます。

[armadillo]# apt update
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://ftp.jp.debian.org/debian buster InRelease
Ign:3 http://download.atmark-techno.com/debian buster InRelease
Ign:4 http://download.atmark-techno.com/debian buster-backports InRelease
Get:5 http://download.atmark-techno.com/debian buster Release [8870 B]
Get:6 http://download.atmark-techno.com/debian buster-backports Release [8743 B]
Get:7 http://download.atmark-techno.com/debian buster Release.gpg [833 B]
Get:8 http://download.atmark-techno.com/debian buster-backports Release.gpg [833 B]
Ign:7 http://download.atmark-techno.com/debian buster Release.gpg
Ign:8 http://download.atmark-techno.com/debian buster-backports Release.gpg
Reading package lists... Done
W: GPG error: http://download.atmark-techno.com/debian buster Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3874DA771B351757
E: The repository 'http://download.atmark-techno.com/debian buster Release' 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://download.atmark-techno.com/debian buster-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3874DA771B351757
E: The repository 'http://download.atmark-techno.com/debian buster-backports Release' 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.

> を実行してもインストールできない場合は、原因を究明するために以下のコマ
> ンドの出力をいただけますでしょうか。
>

> [armadillo]# cat /etc/apt/sources.list
> 

下記になります。

[armadillo]# cat /etc/apt/sources.list
deb http://ftp.jp.debian.org/debian/ buster main non-free contrib
deb-src http://ftp.jp.debian.org/debian/ buster main non-free contrib
 
deb http://security.debian.org/ buster/updates main non-free contrib
deb-src http://security.debian.org/ buster/updates main non-free contrib
 
deb http://download.atmark-techno.com/debian/ buster main contrib non-free
 
deb-src http://download.atmark-techno.com/debian/ buster main contrib non-free
 
deb http://download.atmark-techno.com/debian/ buster-backports main contrib non-free
deb-src http://download.atmark-techno.com/debian/ buster-backports main contrib non-free

ひとまず、ATDE経由での手法で導入することは確認しました。
以上。よろしくお願いします。

at_akihito.irie

2021年2月19日 10時06分

入江です。

> apt updateを実行したところ、対象となるリポジトリでGPGエラーが発生しており、これが原因かと思われます。

以下のコマンドを実行すると、apt updateが成功し、armadilloからでも
awl13-usb-firmwaresをインストールできるはずです。

[armadillo]# apt-key adv --keyserver pgp.nic.ad.jp --recv-keys 3874DA771B351757
[armadillo]# apt update
[armadillo]# apt install awl13-usb-firmwares

at_akihito.irie

2021年2月19日 13時31分

入江です。

確認させていただきたいのですが、本来弊社がリリースしているインストール
ディスクイメージ、ユーザーランドアーカイブは

>

> [armadillo]# apt-key adv --keyserver pgp.nic.ad.jp --recv-keys 3874DA771B351757
> [armadillo]# apt update
> [armadillo]# apt install awl13-usb-firmwares
> 

を実行する必要がないように作成しております。

お客様の環境ではどのような経緯でこの現象が発生しましたでしょうか?
弊社がリリースしている標準イメージそのままでも発生しましたでしょうか?

教えていただけると幸いです。

kuyoki-y

2021年2月19日 14時23分

> 以下のコマンドを実行すると、apt updateが成功し、armadilloからでも
> awl13-usb-firmwaresをインストールできるはずです。
>
>

> [armadillo]# apt-key adv --keyserver pgp.nic.ad.jp --recv-keys 3874DA771B351757
> [armadillo]# apt update
> [armadillo]# apt install awl13-usb-firmwares
> 

弊社のネットワーク環境が問題なのか、apt-keyが正常終了しないようです。少し確認してみたいと思います。
ご対応ありがとうございました。

root@armadillo:~# apt-key adv --keyserver pgp.nic.ad.jp --recv-keys 3874DA771B351757
Executing: /tmp/apt-key-gpghome.d1azUXQRoJ/gpg.1.sh --keyserver pgp.nic.ad.jp --recv-keys 3874DA771B351757
gpg: keyserver receive failed: Connection timed out

> お客様の環境ではどのような経緯でこの現象が発生しましたでしょうか?
> 弊社がリリースしている標準イメージそのままでも発生しましたでしょうか?
>
> 教えていただけると幸いです。
下記に使用環境を記載します。すいませんがご確認をお願いします。

ATDEバージョン:atde8-amd64-20210121.tar.xz
使用デバイス:Armadillo-640

●ブートローダ
u-boot-a600-console-uart3-v2018.03-at8.imx を使用

●カーネル
ソースファイル
Linuxカーネル:v4.14-at29
initramfs アーカイブ: v2.0.0
を基に下記URL  10.2. Linuxカーネルをビルドする に従って生成されたものをそのまま使用。
https://manual.atmark-techno.com/armadillo-640/armadillo-640_product_ma…

●DTB
上記カーネルソースを基にat-dtwebから生成したものを使用
(オプションボードの追加、シリアルの追加など)

●ユーザーランド
at-debian-builder-v2.0.0を使用して作成したものを使用
(packagesファイルに必要パッケージを追記する操作を行ったのみ)

root@armadillo:~# uname -a
Linux armadillo 4.14-at29 #1 Tue Feb 16 13:59:50 JST 2021 armv7l GNU/Linux