apt-get update コマンドに関する問題

apt-get update コマンドに関する問題

コマンドを実行しようとすると、sudo apt-get update次の結果が表示されます。

Ign http://security.debian.org jessie/updates InRelease
Ign http://security.debian.org jessie/updates Release.gpg                                 
Ign http://security.debian.org jessie/updates Release                                      
Ign http://security.debian.org jessie/updates/main Sources/DiffIndex                       
Ign http://packages.dotdeb.org jessie InRelease                                            
Ign http://httpredir.debian.org jessie InRelease                                           
Ign http://security.debian.org jessie/updates/contrib Sources/DiffIndex                                          
Ign http://httpredir.debian.org jessie-updates InRelease                                                         
Ign http://ftp.debian.org jessie InRelease                                                                       
Hit http://debmon.org debmon-jessie InRelease                                              
Ign http://security.debian.org jessie/updates/non-free Sources/DiffIndex                                            
Ign http://httpredir.debian.org jessie Release.gpg                                                               
Ign http://ftp.debian.org jessie-updates InRelease                                                               
Ign http://packages.dotdeb.org jessie Release.gpg                                          
Ign http://security.debian.org jessie/updates/main amd64 Packages/DiffIndex                
Ign http://security.debian.org jessie/updates/contrib amd64 Packages/DiffIndex                                   
Ign http://httpredir.debian.org jessie-updates Release.gpg                                                       
Ign http://packages.dotdeb.org jessie Release                                                                    
Ign http://security.debian.org jessie/updates/non-free amd64 Packages/DiffIndex            
Ign http://httpredir.debian.org jessie Release                                                                   
Hit http://ftp.debian.org jessie Release.gpg                                                                     
Ign http://ftp.debian.org jessie-updates Release.gpg                                       
Ign http://httpredir.debian.org jessie-updates Release                                     
Hit http://debmon.org debmon-jessie/main amd64 Packages                                    
Ign http://packages.dotdeb.org jessie/all Sources/DiffIndex                                                                     
Ign http://packages.dotdeb.org jessie/all amd64 Packages/DiffIndex                                                
Hit http://ftp.debian.org jessie Release                                                                          
Ign http://ftp.debian.org jessie-updates Release                                                                                        
Ign http://debmon.org debmon-jessie/main Translation-en_NZ                                                        
Ign http://debmon.org debmon-jessie/main Translation-en                                                           
Ign http://ftp.debian.org jessie-updates/main Sources/DiffIndex                                                                                                                                                   
Ign http://ftp.debian.org jessie-updates/contrib Sources/DiffIndex                                                                                                                                                
Ign http://ftp.debian.org jessie-updates/non-free Sources/DiffIndex                                                                                                                                               
Get:1 http://ftp.debian.org jessie-updates/main amd64 Packages/DiffIndex [6,916 B]                                                                                                                                
Ign http://ftp.debian.org jessie-updates/contrib amd64 Packages/DiffIndex                                                                                                                                         
Get:2 http://ftp.debian.org jessie-updates/non-free amd64 Packages/DiffIndex [736 B]                                                                                                                              
Ign http://security.debian.org jessie/updates/contrib Translation-en_NZ                                                                                                                                           
Ign http://security.debian.org jessie/updates/contrib Translation-en                                                                                                                                              
Ign http://security.debian.org jessie/updates/main Translation-en_NZ                                                                                                                                              
Ign http://packages.dotdeb.org jessie/all Translation-en_NZ                                                                                                                                                       
Ign http://security.debian.org jessie/updates/main Translation-en                                                                                                                                                 
Ign http://security.debian.org jessie/updates/non-free Translation-en_NZ                                                                                                                                          
Hit http://ftp.debian.org jessie/main Sources                                                                                                                                                                     
Ign http://packages.dotdeb.org jessie/all Translation-en                                                                                                                                                          
Ign http://security.debian.org jessie/updates/non-free Translation-en                                                                                                                                             
Hit http://ftp.debian.org jessie/contrib Sources                                                                                                                                                                  
Err http://packages.dotdeb.org jessie/all Sources                                                                                                                                                                 
  503  OUT OF DISK SPACE
Err http://security.debian.org jessie/updates/main Sources                                                                                                                                                        
  404  Not Found
Hit http://ftp.debian.org jessie/non-free Sources                                                                                                                                                                 
Err http://security.debian.org jessie/updates/contrib Sources                                                                                                                                                     
  404  Not Found
Hit http://ftp.debian.org jessie/main amd64 Packages                                                                                                                                                              
Hit http://ftp.debian.org jessie/contrib amd64 Packages                                                                                                                                                           
Err http://security.debian.org jessie/updates/non-free Sources                                                                                                                                                    
  404  Not Found
Err http://packages.dotdeb.org jessie/all amd64 Packages                                                                                                                                                          
  503  OUT OF DISK SPACE
Hit http://ftp.debian.org jessie/non-free amd64 Packages                                                                                                                                                          
Err http://security.debian.org jessie/updates/main amd64 Packages                                                                                                                                                 
  404  Not Found
Hit http://ftp.debian.org jessie/contrib Translation-en                                                                                                                                                           
Err http://security.debian.org jessie/updates/contrib amd64 Packages                                                                                                                                              
  404  Not Found
Hit http://ftp.debian.org jessie/main Translation-en                                                                                                                                                              
Err http://security.debian.org jessie/updates/non-free amd64 Packages                                                                                                                                             
  404  Not Found
Hit http://ftp.debian.org jessie/non-free Translation-en                                                                                                                                                          
Ign http://ftp.debian.org jessie-updates/contrib Translation-en_NZ                                                                                                                                                
Ign http://ftp.debian.org jessie-updates/contrib Translation-en
Ign http://ftp.debian.org jessie-updates/main Translation-en_NZ
Ign http://ftp.debian.org jessie-updates/main Translation-en
Ign http://ftp.debian.org jessie-updates/non-free Translation-en_NZ
Ign http://ftp.debian.org jessie-updates/non-free Translation-en
Err http://ftp.debian.org jessie-updates/main Sources
  404  Not Found
Err http://ftp.debian.org jessie-updates/contrib Sources
  404  Not Found
Err http://ftp.debian.org jessie-updates/non-free Sources
  404  Not Found
Err http://ftp.debian.org jessie-updates/contrib amd64 Packages
  404  Not Found
Err http://httpredir.debian.org jessie/main amd64 Packages
  404  Not Found
Err http://httpredir.debian.org jessie/contrib amd64 Packages
  404  Not Found
Err http://httpredir.debian.org jessie/non-free amd64 Packages
  404  Not Found
Ign http://httpredir.debian.org jessie/contrib Translation-en_NZ
Ign http://httpredir.debian.org jessie/contrib Translation-en
Ign http://httpredir.debian.org jessie/main Translation-en_NZ
Ign http://httpredir.debian.org jessie/main Translation-en
Ign http://httpredir.debian.org jessie/non-free Translation-en_NZ
Ign http://httpredir.debian.org jessie/non-free Translation-en
Err http://httpredir.debian.org jessie-updates/main amd64 Packages
  404  Not Found
Err http://httpredir.debian.org jessie-updates/contrib amd64 Packages
  404  Not Found
Err http://httpredir.debian.org jessie-updates/non-free amd64 Packages
  404  Not Found
Ign http://httpredir.debian.org jessie-updates/contrib Translation-en_NZ
Ign http://httpredir.debian.org jessie-updates/contrib Translation-en
Ign http://httpredir.debian.org jessie-updates/main Translation-en_NZ
Ign http://httpredir.debian.org jessie-updates/main Translation-en
Ign http://httpredir.debian.org jessie-updates/non-free Translation-en_NZ
Ign http://httpredir.debian.org jessie-updates/non-free Translation-en
Fetched 7,652 B in 58s (130 B/s)
W: Failed to fetch http://security.debian.org/dists/jessie/updates/main/source/Sources  404  Not Found

W: Failed to fetch http://security.debian.org/dists/jessie/updates/contrib/source/Sources  404  Not Found

W: Failed to fetch http://security.debian.org/dists/jessie/updates/non-free/source/Sources  404  Not Found

W: Failed to fetch http://security.debian.org/dists/jessie/updates/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://security.debian.org/dists/jessie/updates/contrib/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://security.debian.org/dists/jessie/updates/non-free/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie/contrib/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie/non-free/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-updates/contrib/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-updates/non-free/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://packages.dotdeb.org/dists/jessie/all/source/Sources  503  OUT OF DISK SPACE

W: Failed to fetch http://packages.dotdeb.org/dists/jessie/all/binary-amd64/Packages  503  OUT OF DISK SPACE

W: Failed to fetch http://ftp.debian.org/debian/dists/jessie-updates/main/source/Sources  404  Not Found

W: Failed to fetch http://ftp.debian.org/debian/dists/jessie-updates/contrib/source/Sources  404  Not Found

W: Failed to fetch http://ftp.debian.org/debian/dists/jessie-updates/non-free/source/Sources  404  Not Found

W: Failed to fetch http://ftp.debian.org/debian/dists/jessie-updates/contrib/binary-amd64/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

そして、誤ってphp5パッケージを削除しましたが、今はインストールできません。私はLinux Debian Jessie v8を使用しています。

助けてください、ありがとう:)

ベストアンサー1

問題を解決し、以下にトラブルシューティング方法のステップバイステップガイドを投稿しました。

  1. /etc/apt/sources.list.d/{thirdpartyfilename.list} で注釈を付けて、システムで使用するサードパーティのストレージを無効にする必要があります。
  2. /etc/apt/sources.listファイルに正しいソースのリストがあることを確認してください。有効なソースリストを生成する方法がわからない場合は、このウェブサイトからジェネレータを使用できます。https://debgen.simplylinux.ch/「場所」、使用しているソフトウェアのバージョン(Debian Jessieなど)を入力し、DebianブランチとDebianアップデートのすべてのボックスが選択されていることを確認してください。
  3. ソースリストが最新ではない可能性があるため、ソースの場所を他の国のサーバーに変更すると実際に機能する可能性があります。例えばftp.debian.org破損した結果が発生する可能性があるため、次のように変更してください。http://ftp.us.debian.org成功するかもしれません
  4. ソースリスト404が見つからないエラーを修正すると、次のコマンドを実行してシステムにパッチを適用できることを意味します。sudo apt-get アップデートしたがって、欠落または破損したパッケージ(不足していない依存関係)をインストールするには、コマンドを実行してください。sudo apt-get -fのインストール

おすすめ記事