Error: retrieving gpg key timed out

  • Ubuntu18.04 PPA安装Meshlab软件出错
    Error: retrieving gpg key timed out
    
    手动添加ppa源及软件安装解决方案如下:
    1. 在ppa源网站上搜索meshlab


      search page screenshot
    2. 在Terminal打开sources.list
    sudo gedit /etc/apt/sources.list
    
    1. 在sources.list文件末尾添加源 ,可以选择版本
    deb http://ppa.launchpad.net/zarquon42/meshlab/ubuntu xenial main 
    deb-src http://ppa.launchpad.net/zarquon42/meshlab/ubuntu xenial main 
    
    1. 在Terminal添加Signing Key
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B0D266B35FE5B1B875BEC62D7F0BB3BE5BF00518
    
    1. 更新
    sudo apt-get update && sudo apt-get upgrade
    
    1. 成功之后就可以安装软件了
    sudo apt-get install meshlab
    
  • 如果安装软件时遇到
    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?
    
    那么只要清除所有apt有关的进程或者重启系统就可以啦