Armadilloフォーラム

apt-getでエラーとなります

inoue

2015年6月9日 17時21分

おせわになります。
初心者の「おさむ」です。

apt-get update や apt-get upgradeを実行すると下記のようなエラーとなります。

Hit http://ftp.jp.debian.org wheezy-updates/main Translation-en/DiffIndex       
Fetched 836 B in 4s (181 B/s)                                                   
Reading package lists... Done                                                   
W: GPG error: http://download.atmark-techno.com wheezy Release: The following si
gnatures couldn't be verified because the public key is not available: NO_PUBKEY
 3874DA771B351757                                                               
W: There is no public key available for the following key IDs:                  
7638D0442B90D010                                                                
W: There is no public key available for the following key IDs:                  
7638D0442B90D010                                                                
W: There is no public key available for the following key IDs:                  
9D6D8F6BC857C906                                                                
Reading package lists... Done                                                   
Building dependency tree                                                        
Reading state information... Done                                               
You might want to run 'apt-get -f install' to correct these.                    
The following packages have unmet dependencies:                                 
 libc6 : Depends: libc-bin (= 2.13-38) but 2.13-38+deb7u8 is installed          
E: Unmet dependencies. Try using -f.

Linux 系のOSは初めてでなにが原因でこのようになるのかわからずにおります。
ご教示のほどよろしくお願いします。

コメント

at_kojiro.yamada

2015年6月15日 13時37分

> apt-get update や apt-get upgradeを実行すると下記のようなエラーとなります。
>
>

> Hit http://ftp.jp.debian.org wheezy-updates/main Translation-en/DiffIndex       
> Fetched 836 B in 4s (181 B/s)                                                   
> Reading package lists... Done                                                   
> W: GPG error: http://download.atmark-techno.com wheezy Release: The following si
> gnatures couldn't be verified because the public key is not available: NO_PUBKEY
>  3874DA771B351757                                                               
> W: There is no public key available for the following key IDs:                  
> 7638D0442B90D010                                                                
> W: There is no public key available for the following key IDs:                  
> 7638D0442B90D010                                                                
> W: There is no public key available for the following key IDs:                  
> 9D6D8F6BC857C906                                                                
> Reading package lists... Done                                                   
> Building dependency tree                                                        
> Reading state information... Done                                               
> You might want to run 'apt-get -f install' to correct these.                    
> The following packages have unmet dependencies:                                 
>  libc6 : Depends: libc-bin (= 2.13-38) but 2.13-38+deb7u8 is installed          
> E: Unmet dependencies. Try using -f.
> 

確認させてください。

上記のログはapt-get updateを、ATDE5で実行した時のログでしょうか?
それとも、Armadillo-840で実行した時のログでしょうか?

もしATDE5で実行しているのであれば、
お手数ですが以下のURLから最新(20150528)のATDE5をダウンロードして
そちらをご利用ください。
http://download.atmark-techno.com/armadillo-840/atde/

inoue

2015年6月24日 17時43分

返信が遅くなりました。
実行環境は Armadillo-840 です。
よろしくお願いします。

at_kojiro.yamada

2015年6月24日 18時31分

> 実行環境は Armadillo-840 です。

承知しました。

> You might want to run 'apt-get -f install' to correct these.                   
> The following packages have unmet dependencies:                                
>  libc6 : Depends: libc-bin (= 2.13-38) but 2.13-38+deb7u8 is installed         
> E: Unmet dependencies. Try using -f.

上記エラーのみ、こちらで再現させることができておりません。

お手数ですが以下の2つのコマンドを実行してログを添付していただけないでしょうか?

apt-get -f installを実行すると途中で選択肢が現れるかと思いますが、
選択肢までのログを見るのが目的ですので、今回はCtrl+cで終了させてくださ
い。

[Armadillo]# apt-get -f install

以下のコマンドは非常に長いログが出力されるかと思いますので
dpkg.logにリダイレクトしています。
コマンド実行後に作成されている dpkg.log を添付していただければと思いま
す。

[Armadillo]# dpkg -l > dpkg.log

inoue

2015年6月29日 10時37分

お手数をおかけしております。

>コマンド実行後に作成されている dpkg.log を添付していただければと思います。

申し訳ありません、いろいろ勝手にLinuxの再インストールなどを行っていたら
apt-get そのものが動作しなくなってしまいました。

-ash: apt-get: not found

at_takashi.sasayama

2015年6月30日 9時13分

笹山です。

> apt-get そのものが動作しなくなってしまいました。

このような状態となった場合は、お手数ですが、
Debian ルートファイルシステムを作り直されるのが良いかと思います。

作り直しても、今回ご報告いただきましたエラーが再現するようでしたら、
ログを送付していただけると有難いです。

■参考情報

16.2.2. Debian GNU/Linuxのルートファイルシステムを構築する
http://manual.atmark-techno.com/armadillo-840/armadillo-840_product_man…

inoue

2015年6月30日 9時49分

お手数をおかけしました。

もう一度やり直してみます。

ありがとうございました。

osamu

2015年11月10日 18時07分

私も同様の現象になりました。
”libc6 : Depends: libc-bin (= 2.13-38) but 2.13-38+deb7u8 is to be installed”

at_kojiro.yamada

2015年11月24日 19時10分

遅くなってしまいましたが、
一旦、Debian ルートファイルシステムを作り直してみてください。

> 私も同様の現象になりました。
> ”libc6 : Depends: libc-bin (= 2.13-38) but 2.13-38+deb7u8 is to be installed”

以前このスレッドで、同じ現象が再現するか確認したことがありますが、
Debian ルートファイルシステムを構築して直ぐの状態では
再現しませんでした。

そのため、まだ原因はわかっていません。

もし良ければ、現象が発生する前にどんな作業を行っていたか教えていただけますか?