web-dev-qa-db-ja.com

Ubuntu 14.04でのapt-get更新エラー

Apt-get updateに大きな問題があります。ここに入力したときのエラーがありますSudo apt-get update

 thee@miller:~$ Sudo apt-get update
Ign http://extras.ubuntu.com trusty InRelease                                  
Ign http://ppa.launchpad.net trusty InRelease                                  
Ign http://us.archive.ubuntu.com trusty InRelease                              
Ign http://dl.google.com stable InRelease                                      
Hit http://extras.ubuntu.com trusty Release.gpg                                
Ign http://archive.canonical.com trusty InRelease                              
Ign http://ppa.launchpad.net trusty InRelease                                  
Get:1 http://us.archive.ubuntu.com trusty-updates InRelease [65.9 kB]          
Hit http://dl.google.com stable Release.gpg                                    
Hit http://extras.ubuntu.com trusty Release                                    
Get:2 http://archive.canonical.com trusty Release.gpg [933 B]                  
Get:3 http://archive.canonical.com trusty Release [9,359 B]                    
Hit http://dl.google.com stable Release                                        
Hit http://extras.ubuntu.com trusty/main Sources                               
Get:4 http://archive.canonical.com trusty/partner Sources [10.0 kB]            
Hit http://extras.ubuntu.com trusty/main AMD64 Packages                        
Get:5 http://archive.canonical.com trusty/partner AMD64 Packages [5,601 B]     
Hit http://dl.google.com stable/main AMD64 Packages                            
Get:6 http://us.archive.ubuntu.com trusty-security InRelease [65.9 kB]         
Hit http://extras.ubuntu.com trusty/main i386 Packages                         
Get:7 http://archive.canonical.com trusty/partner i386 Packages [6,278 B]      
Get:8 ftp://ftp.videolan.org ./ InRelease                                      
Get:9 http://archive.canonical.com trusty/partner Translation-en [4,593 B]     
Get:10 http://us.archive.ubuntu.com trusty-proposed InRelease [65.9 kB]        
Ign http://ppa.launchpad.net trusty InRelease                                  
Ign ftp://ftp.videolan.org ./ InRelease                                        
Hit http://us.archive.ubuntu.com trusty-backports InRelease                    
Hit http://ppa.launchpad.net trusty InRelease                                  
Hit ftp://ftp.videolan.org ./ Release.gpg                                      
Get:11 http://us.archive.ubuntu.com trusty Release.gpg [933 B]                 
Hit http://ppa.launchpad.net trusty InRelease                                  
Get:12 http://us.archive.ubuntu.com trusty-updates/multiverse Sources [7,126 B]
Hit http://ppa.launchpad.net trusty InRelease                                  
Hit ftp://ftp.videolan.org ./ Release                                          
Get:13 http://us.archive.ubuntu.com trusty-updates/universe Sources [164 kB]   
Hit http://ppa.launchpad.net trusty InRelease                                  
Ign http://extras.ubuntu.com trusty/main Translation-en_US                     
Ign http://extras.ubuntu.com trusty/main Translation-en                        
Hit http://ppa.launchpad.net trusty InRelease                                  
Hit ftp://ftp.videolan.org ./ Packages                                         
Hit http://ppa.launchpad.net trusty InRelease                                  
Get:14 http://ppa.launchpad.net trusty InRelease [15.4 kB]                     
Ign http://dl.google.com stable/main Translation-en_US                         
Get:15 ftp://ftp.videolan.org ./ Translation-en_US                             
Ign http://dl.google.com stable/main Translation-en                            
Get:16 http://us.archive.ubuntu.com trusty-updates/main Sources [381 kB]       
Hit http://ppa.launchpad.net trusty InRelease                                  
Hit http://ppa.launchpad.net trusty InRelease                                  
Hit http://ppa.launchpad.net trusty InRelease                                  
Hit http://ppa.launchpad.net trusty InRelease                                  
Get:17 ftp://ftp.videolan.org ./ Translation-en                                
Hit http://ppa.launchpad.net trusty Release.gpg                                
Hit http://ppa.launchpad.net trusty Release.gpg                                
Ign http://ppa.launchpad.net trusty Release.gpg                                
Hit http://ppa.launchpad.net trusty/main Sources                               
Get:18 ftp://ftp.videolan.org ./ Translation-en_US                             
Hit http://ppa.launchpad.net trusty/main AMD64 Packages                        
Hit http://ppa.launchpad.net trusty/main i386 Packages                         
Hit http://ppa.launchpad.net trusty/main Translation-en                        
Hit http://ppa.launchpad.net trusty/main Sources                               
Get:19 ftp://ftp.videolan.org ./ Translation-en                                
Hit http://ppa.launchpad.net trusty/main AMD64 Packages                        
Hit http://ppa.launchpad.net trusty/main i386 Packages                         
Hit http://ppa.launchpad.net trusty/main Translation-en                        
Hit http://ppa.launchpad.net trusty/main Sources                               
Hit http://ppa.launchpad.net trusty/main AMD64 Packages                        
Get:20 ftp://ftp.videolan.org ./ Translation-en_US                             
Hit http://ppa.launchpad.net trusty/main i386 Packages                         
Hit http://ppa.launchpad.net trusty/main Translation-en                        
Hit http://ppa.launchpad.net trusty/main Sources                               
Hit http://ppa.launchpad.net trusty/main AMD64 Packages                        
Get:21 ftp://ftp.videolan.org ./ Translation-en                                
Hit http://ppa.launchpad.net trusty/main i386 Packages                         
Hit http://ppa.launchpad.net trusty/main Translation-en                        
Hit http://ppa.launchpad.net trusty/main AMD64 Packages                        
Hit http://ppa.launchpad.net trusty/main i386 Packages                         
Hit http://ppa.launchpad.net trusty/main Translation-en                        
Get:22 ftp://ftp.videolan.org ./ Translation-en_US                             
Hit http://ppa.launchpad.net trusty/main Sources                               
Hit http://ppa.launchpad.net trusty/main AMD64 Packages                        
Hit http://ppa.launchpad.net trusty/main i386 Packages                         
Get:23 ftp://ftp.videolan.org ./ Translation-en                                
Hit http://ppa.launchpad.net trusty/main Translation-en                        
Get:24 http://ppa.launchpad.net trusty/main Sources [14 B]                     
Get:25 http://ppa.launchpad.net trusty/main AMD64 Packages [664 B]             
Get:26 http://ppa.launchpad.net trusty/main i386 Packages [664 B]              
Get:27 ftp://ftp.videolan.org ./ Translation-en_US                             
Get:28 http://ppa.launchpad.net trusty/main Translation-en [410 B]             
Hit http://ppa.launchpad.net trusty/main Sources                               
Hit http://ppa.launchpad.net trusty/main AMD64 Packages                        
Ign ftp://ftp.videolan.org ./ Translation-en_US                                
Hit http://ppa.launchpad.net trusty/main i386 Packages                         
Hit http://ppa.launchpad.net trusty/main Translation-en                        
Get:29 ftp://ftp.videolan.org ./ Translation-en                                
Hit http://ppa.launchpad.net trusty/main Sources                               
Hit http://ppa.launchpad.net trusty/main AMD64 Packages                        
Hit http://ppa.launchpad.net trusty/main i386 Packages                         
Err ftp://ftp.videolan.org ./ Translation-en                                   
  Unable to fetch file, server said 'No transfer timeout (60 seconds): closing control connection  ' [IP: 88.191.250.2 21]
Hit http://ppa.launchpad.net trusty/main Translation-en                        
Hit http://ppa.launchpad.net trusty/main Sources                               
Hit http://ppa.launchpad.net trusty/main AMD64 Packages                        
Hit http://ppa.launchpad.net trusty/main i386 Packages                         
Hit http://ppa.launchpad.net trusty/main Translation-en                        
Hit http://ppa.launchpad.net trusty/main Sources                               
Hit http://ppa.launchpad.net trusty/main AMD64 Packages                        
Hit http://ppa.launchpad.net trusty/main i386 Packages                         
Hit http://ppa.launchpad.net trusty/main Translation-en                        
Hit http://ppa.launchpad.net trusty Release                                    
Hit http://ppa.launchpad.net trusty Release                                    
Ign http://ppa.launchpad.net trusty Release                                    
Hit http://ppa.launchpad.net trusty/main Sources                               
Hit http://ppa.launchpad.net trusty/main AMD64 Packages                        
Hit http://ppa.launchpad.net trusty/main i386 Packages                         
Hit http://ppa.launchpad.net trusty/main Translation-en                        
Hit http://ppa.launchpad.net trusty/main Sources                               
Hit http://ppa.launchpad.net trusty/main AMD64 Packages                        
Hit http://ppa.launchpad.net trusty/main i386 Packages                         
Hit http://ppa.launchpad.net trusty/main Translation-en                        
Err http://ppa.launchpad.net trusty/main Sources                               
  404  Not Found
Err http://ppa.launchpad.net trusty/main AMD64 Packages                        
  404  Not Found
Err http://ppa.launchpad.net trusty/main i386 Packages                         
  404  Not Found
Ign http://ppa.launchpad.net trusty/main Translation-en_US                     
Ign http://ppa.launchpad.net trusty/main Translation-en                        
Get:30 http://us.archive.ubuntu.com trusty-updates/restricted Sources [5,360 B]
Get:31 http://us.archive.ubuntu.com trusty-updates/main AMD64 Packages [893 kB]
Get:32 http://us.archive.ubuntu.com trusty-updates/restricted AMD64 Packages [15.9 kB]
Get:33 http://us.archive.ubuntu.com trusty-updates/multiverse AMD64 Packages [14.8 kB]
Get:34 http://us.archive.ubuntu.com trusty-updates/universe AMD64 Packages [374 kB]
Get:35 http://us.archive.ubuntu.com trusty-updates/main i386 Packages [855 kB] 
Get:36 http://us.archive.ubuntu.com trusty-updates/restricted i386 Packages [15.6 kB]
Get:37 http://us.archive.ubuntu.com trusty-updates/multiverse i386 Packages [15.2 kB]
Get:38 http://us.archive.ubuntu.com trusty-updates/universe i386 Packages [375 kB]
Hit http://us.archive.ubuntu.com trusty-updates/main Translation-en            
Hit http://us.archive.ubuntu.com trusty-updates/multiverse Translation-en      
Hit http://us.archive.ubuntu.com trusty-updates/restricted Translation-en      
Hit http://us.archive.ubuntu.com trusty-updates/universe Translation-en        
Get:39 http://us.archive.ubuntu.com trusty-proposed/universe Sources [17.0 kB] 
Get:40 http://us.archive.ubuntu.com trusty-proposed/restricted Sources [28 B]  
Get:41 http://us.archive.ubuntu.com trusty-proposed/main Sources [119 kB]      
Get:42 http://us.archive.ubuntu.com trusty-proposed/multiverse Sources [28 B]  
Get:43 http://us.archive.ubuntu.com trusty-proposed/universe AMD64 Packages [12.6 kB]
Get:44 http://us.archive.ubuntu.com trusty-proposed/restricted AMD64 Packages [28 B]
Get:45 http://us.archive.ubuntu.com trusty-proposed/main AMD64 Packages [104 kB]
Get:46 http://us.archive.ubuntu.com trusty-proposed/multiverse AMD64 Packages [28 B]
Get:47 http://us.archive.ubuntu.com trusty-proposed/universe i386 Packages [12.6 kB]
Get:48 http://us.archive.ubuntu.com trusty-proposed/restricted i386 Packages [28 B]
Get:49 http://us.archive.ubuntu.com trusty-proposed/main i386 Packages [100 kB]
Get:50 http://us.archive.ubuntu.com trusty-proposed/multiverse i386 Packages [28 B]
Get:51 http://us.archive.ubuntu.com trusty-proposed/main Translation-en [37.2 kB]
Get:52 http://us.archive.ubuntu.com trusty-proposed/multiverse Translation-en [28 B]
Get:53 http://us.archive.ubuntu.com trusty-proposed/restricted Translation-en [28 B]
Get:54 http://us.archive.ubuntu.com trusty-proposed/universe Translation-en [14.1 kB]
Hit http://us.archive.ubuntu.com trusty-backports/universe Sources             
Hit http://us.archive.ubuntu.com trusty-backports/restricted Sources           
Hit http://us.archive.ubuntu.com trusty-backports/main Sources                 
Hit http://us.archive.ubuntu.com trusty-backports/multiverse Sources           
Hit http://us.archive.ubuntu.com trusty-backports/universe AMD64 Packages      
Hit http://us.archive.ubuntu.com trusty-backports/restricted AMD64 Packages    
Hit http://us.archive.ubuntu.com trusty-backports/main AMD64 Packages          
Hit http://us.archive.ubuntu.com trusty-backports/multiverse AMD64 Packages    
Hit http://us.archive.ubuntu.com trusty-backports/universe i386 Packages       
Hit http://us.archive.ubuntu.com trusty-backports/restricted i386 Packages     
Hit http://us.archive.ubuntu.com trusty-backports/main i386 Packages           
Hit http://us.archive.ubuntu.com trusty-backports/multiverse i386 Packages     
Hit http://us.archive.ubuntu.com trusty-backports/main Translation-en          
Hit http://us.archive.ubuntu.com trusty-backports/multiverse Translation-en    
Hit http://us.archive.ubuntu.com trusty-backports/restricted Translation-en    
Hit http://us.archive.ubuntu.com trusty-backports/universe Translation-en      
Hit http://us.archive.ubuntu.com trusty Release                                
Hit http://us.archive.ubuntu.com trusty/multiverse Sources                     
Hit http://us.archive.ubuntu.com trusty/universe Sources                       
Hit http://us.archive.ubuntu.com trusty/main Sources                           
Hit http://us.archive.ubuntu.com trusty/restricted Sources                     
Hit http://us.archive.ubuntu.com trusty/main AMD64 Packages                    
Hit http://us.archive.ubuntu.com trusty/restricted AMD64 Packages              
Hit http://us.archive.ubuntu.com trusty/multiverse AMD64 Packages              
Hit http://us.archive.ubuntu.com trusty/universe AMD64 Packages                
Hit http://us.archive.ubuntu.com trusty/main i386 Packages                     
Hit http://us.archive.ubuntu.com trusty/restricted i386 Packages               
Hit http://us.archive.ubuntu.com trusty/multiverse i386 Packages               
Hit http://us.archive.ubuntu.com trusty/universe i386 Packages                 
Hit http://us.archive.ubuntu.com trusty/main Translation-en                    
Hit http://us.archive.ubuntu.com trusty/multiverse Translation-en              
Hit http://us.archive.ubuntu.com trusty/restricted Translation-en              
Hit http://us.archive.ubuntu.com trusty/universe Translation-en                
Ign http://us.archive.ubuntu.com trusty/main Translation-en_US                 
Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US           
Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US           
Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US             
Fetched 3,785 kB in 5min 30s (11.5 kB/s)                                       
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-security/InRelease  Unable to find expected entry 'm/source/Sources' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch ftp://ftp.videolan.org/pub/debian/stable/./en  Unable to fetch file, server said 'No transfer timeout (60 seconds): closing control connection  ' [IP: 88.191.250.2 21]

W: Failed to fetch http://ppa.launchpad.net/libv4l/ppa/ubuntu/dists/trusty/main/source/Sources  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/libv4l/ppa/ubuntu/dists/trusty/main/binary-AMD64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/libv4l/ppa/ubuntu/dists/trusty/main/binary-i386/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
thee@miller:~$ 

リソースファイルの外観は次のとおりです。

# deb cdrom:[Ubuntu 14.04.4 LTS _Trusty Tahr_ - Release AMD64 (20160217.1)]/ trusty main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution. deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ trusty
multiverse universe main restricted #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution. deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted multiverse deb-src
http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
universe main restricted #Added by software-properties

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team. deb http://us.archive.ubuntu.com/ubuntu/ trusty universe deb
http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.

deb http://us.archive.ubuntu.com/ubuntu/ trusty-security main
restricted multiverse deb-src http://us.archive.ubuntu.com/ubuntu/
trusty-security m

#deb http: //ppa.launchpad.net trusty/main i386 Packagesultiverse universe main restricted #Added by software-properties deb
http://us.archive.ubuntu.com/ubuntu/ trusty-security universe

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users. deb http://archive.canonical.com/ubuntu trusty partner deb-src
http://archive.canonical.com/ubuntu trusty partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software. deb http://extras.ubuntu.com/ubuntu trusty main deb-src
http://extras.ubuntu.com/ubuntu trusty main deb
http://us.archive.ubuntu.com/ubuntu/ trusty-proposed universe
restricted main multiverse deb-src
http://us.archive.ubuntu.com/ubuntu/ trusty-proposed universe
restricted main multiverse #Added by software-properties deb
http://us.archive.ubuntu.com/ubuntu/ trusty-backports universe
restricted main multiverse deb-src
http://us.archive.ubuntu.com/ubuntu/ trusty-backports universe
restricted main multiverse #Added by software-properties
# deb-src http://archive.ubuntu.com/ubuntu trusty universe

その形式でファイルを投稿して申し訳ありません...ファイル自体を投稿するほどの評判を得ていません。私はすでにこれらのコマンドを試しました。

 Sudo apt-get -f install

 Sudo apt-get update

 Sudo apt-get upgrade

 Sudo apt-get dist-upgrade

 Sudo apt-get autoremove

 Sudo apt-get autoclean

 Sudo apt-get clean

私もこれをインストールしようとしました

Sudo apt-get install ppa-purge

インストールしませんでした。代わりに言った

dpkg: error processing package mysql-server (--configure):
 dependency problems - leaving unconfigured

mysql serverは大丈夫です。私が持っているPPAさえリストしましたが、私はこのトラブルをもたらすものを見ません。私は他の多くのものを試しました。誰かおねがいします

1
Hanningtone

Yoursources.listファイルが破損しているようです。例sources.listを以下に共有します。 sources.listの内容を例に置き換えることができます。

  1. 現在のsources.listを開きます:

    Sudo nano /etc/apt/sources.list
    
  2. エラーを生成する行を修正するか、例からコピーして、sources.listの内容を置き換えます。

  3. 次に、キーボードのプレスから Ctrl + O、その後 Enter そして最後に Ctrl + X


sources.list

deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse 
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse

deb http://us.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse 
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse 
deb http://us.archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse 
deb http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse 
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse 
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse 
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse 
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse 

sources.list generator


また、残りのエラーを削除するには、まずシステムに現在インストールされているすべてのppasを確認します。

ls -l /etc/apt/sources.list.d/

対応する*.listファイルを削除して、エラーの原因となっているppasを削除します。 Sudo add-apt-repositoryを使用してこれらのppasを後で追加し直すことができるので心配しないでください。

次に、以下を使用してソースを更新します。

Sudo apt-get update

Ppasを削除する より良い方法 があります。 ppa-purgeをインストールできないため、上記の方法をお勧めします。

1
Raphael