sudo apt-getアップデートはLinux Mint 17.1では機能しません。

sudo apt-getアップデートはLinux Mint 17.1では機能しません。

Linux Mint 17.1を更新しようとしています。

しかし、このコマンドを発行すると、

sudo apt-get update

次のエラーが発生します。

E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

エラーで参照されているように、ファイルlockは次のようになります。

ここに画像の説明を入力してください。 このコマンドをどのように使用しますか?

修正する:

コメントを提示した後、シナプティックパッケージマネージャを閉じようとしましたが、次のような結果が出ました。

sudo apt-get update
[sudo] password for biostat: 
Err http://ppa.launchpad.net trusty InRelease                                  

Err http://ppa.launchpad.net trusty InRelease                                  

Err http://ppa.launchpad.net trusty InRelease                                  

Err http://ppa.launchpad.net trusty InRelease                                  

Err http://ppa.launchpad.net trusty InRelease                                  

Err http://ppa.launchpad.net saucy InRelease                                   

Err http://ppa.launchpad.net trusty Release.gpg                                
  Unable to connect to ppa.launchpad.net:http:
Err http://ppa.launchpad.net trusty Release.gpg                                
  Unable to connect to ppa.launchpad.net:http:
Err http://ppa.launchpad.net trusty Release.gpg                                
  Unable to connect to ppa.launchpad.net:http:
Err http://ppa.launchpad.net trusty Release.gpg                                
  Unable to connect to ppa.launchpad.net:http:
Err http://ppa.launchpad.net trusty Release.gpg                                
  Unable to connect to ppa.launchpad.net:http:
Err http://ppa.launchpad.net saucy Release.gpg                                 
  Unable to connect to ppa.launchpad.net:http:
Err http://liveusb.info all InRelease                                          

Err http://dl.google.com stable InRelease                                      

Err http://liveusb.info all Release.gpg                                        
  Unable to connect to liveusb.info:http:
Err http://dl.google.com stable Release.gpg                                    
  Cannot initiate the connection to dl.google.com:80 (2a00:1450:400d:807::200e). - connect (101: Network is unreachable) [IP: 2a00:1450:400d:807::200e 80]
Err http://www.remastersys.com quantal InRelease                               

Err http://www.remastersys.com quantal Release.gpg                             
  Unable to connect to www.remastersys.com:http:
Err http://archive.canonical.com trusty InRelease                              

Err http://archive.canonical.com trusty Release.gpg                            
  Cannot initiate the connection to archive.canonical.com:80 (2001:67c:1360:8c01::1b). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8c01::1b 80]
Err http://packages.linuxmint.com rebecca InRelease                            

Err http://packages.linuxmint.com rebecca Release.gpg                          
  Unable to connect to packages.linuxmint.com:http: [IP: 68.235.39.11 80]
Err http://extra.linuxmint.com rebecca InRelease                               

Err http://extra.linuxmint.com rebecca Release.gpg                             
  Unable to connect to extra.linuxmint.com:http: [IP: 68.235.39.11 80]
Err http://security.ubuntu.com trusty-security InRelease                       

Err http://security.ubuntu.com trusty-security Release.gpg                     
  Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::15). - connect (101: Network is unreachable) [IP: 2001:67c:1562::15 80]
Err http://archive.ubuntu.com trusty InRelease       

Err http://archive.ubuntu.com trusty-updates InRelease

Err http://archive.ubuntu.com trusty Release.gpg     
  Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8c01::18). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8c01::18 80]
Err http://archive.ubuntu.com trusty-updates Release.gpg
  Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8c01::18). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8c01::18 80]
Reading package lists... Done
W: Failed to fetch http://liveusb.info/multisystem/depot/dists/all/InRelease  

W: Failed to fetch http://www.remastersys.com/ubuntu/dists/quantal/InRelease  

W: Failed to fetch http://ppa.launchpad.net/aims/sagemath/ubuntu/dists/trusty/InRelease  

W: Failed to fetch http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu/dists/trusty/InRelease  

W: Failed to fetch http://dl.google.com/linux/talkplugin/deb/dists/stable/InRelease  

W: Failed to fetch http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu/dists/trusty/InRelease  

W: Failed to fetch http://packages.linuxmint.com/dists/rebecca/InRelease  

W: Failed to fetch http://extra.linuxmint.com/dists/rebecca/InRelease  

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease  

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease  

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/InRelease  

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/InRelease  

W: Failed to fetch http://ppa.launchpad.net/tualatrix/ppa/ubuntu/dists/trusty/InRelease  

W: Failed to fetch http://ppa.launchpad.net/webupd8team/tor-browser/ubuntu/dists/trusty/InRelease  

W: Failed to fetch http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu/dists/saucy/InRelease  

W: Failed to fetch http://ppa.launchpad.net/aims/sagemath/ubuntu/dists/trusty/Release.gpg  Unable to connect to ppa.launchpad.net:http:

W: Failed to fetch http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu/dists/trusty/Release.gpg  Unable to connect to ppa.launchpad.net:http:

W: Failed to fetch http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu/dists/trusty/Release.gpg  Unable to connect to ppa.launchpad.net:http:

W: Failed to fetch http://ppa.launchpad.net/tualatrix/ppa/ubuntu/dists/trusty/Release.gpg  Unable to connect to ppa.launchpad.net:http:

W: Failed to fetch http://ppa.launchpad.net/webupd8team/tor-browser/ubuntu/dists/trusty/Release.gpg  Unable to connect to ppa.launchpad.net:http:

W: Failed to fetch http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu/dists/saucy/Release.gpg  Unable to connect to ppa.launchpad.net:http:

W: Failed to fetch http://liveusb.info/multisystem/depot/dists/all/Release.gpg  Unable to connect to liveusb.info:http:

W: Failed to fetch http://dl.google.com/linux/talkplugin/deb/dists/stable/Release.gpg  Cannot initiate the connection to dl.google.com:80 (2a00:1450:400d:807::200e). - connect (101: Network is unreachable) [IP: 2a00:1450:400d:807::200e 80]

W: Failed to fetch http://www.remastersys.com/ubuntu/dists/quantal/Release.gpg  Unable to connect to www.remastersys.com:http:

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg  Cannot initiate the connection to archive.canonical.com:80 (2001:67c:1360:8c01::1b). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8c01::1b 80]

W: Failed to fetch http://packages.linuxmint.com/dists/rebecca/Release.gpg  Unable to connect to packages.linuxmint.com:http: [IP: 68.235.39.11 80]

W: Failed to fetch http://extra.linuxmint.com/dists/rebecca/Release.gpg  Unable to connect to extra.linuxmint.com:http: [IP: 68.235.39.11 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg  Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::15). - connect (101: Network is unreachable) [IP: 2001:67c:1562::15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg  Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8c01::18). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8c01::18 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg  Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8c01::18). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8c01::18 80]

W: Some index files failed to download. They have been ignored, or old ones used instead.
biostat@biostat-HP-Compaq-dc5750-Microtower ~ $ 

答え1

Synaptic パッケージマネージャを閉じてもう一度やり直してください。

関連情報