我在更新 Ubuntu 12.04 LTS 时经常收到此错误。我该如何解决?日志是:
Ign http://archive.scrapy.org precise/main Translation-en
Fetched 6,620 kB in 1min 21s (81.2 kB/s)
W: Failed to fetch http://archive.scrapy.org/ubuntu/dists/precise/Release.gpg
Something wicked happened resolving 'archive.scrapy.org:http' (-5 - No address associated with hostname)
Run Code Online (Sandbox Code Playgroud) 每次我尝试通过终端安装时,我都会得到这个“我无法安装或更新,我在这里找不到工作答案。这是我的 apt-get 更新结果:
点击 http://ppa.launchpad.net raring Release.gpg 点击 http://deb.opera.com stable Release.gpg 点击 http://ppa.launchpad.net raring Release.gpg 点击 http://deb.opera.com 稳定版 点击 http://ppa.launchpad.net raring 发布 点击 http://deb.opera.com stable/non-free i386 Packages 点击 http://ppa.launchpad.net raring 发布 点击 http://ppa.launchpad.net raring/main i386 Packages 点击 http://ppa.launchpad.net raring/main i386 Packages Ign http://deb.opera.com stable/non-free Translation-en_US Ign http://deb.opera.com stable/non-free Translation-en Ign http://ppa.launchpad.net raring/main Translation-en_US Ign http://ppa.launchpad.net raring/main 翻译-en Ign http://ppa.launchpad.net raring/main Translation-en_US Ign http://ppa.launchpad.net raring/main 翻译-en 错误 http://archive.ubuntu.com raring Release.gpg 解决“archive.ubuntu.com:http”(-11 - 系统错误)时发生了一些邪恶的事情 错误 http://extras.ubuntu.com raring Release.gpg 解决“extras.ubuntu.com:http”(-11 - 系统错误)时发生了一些邪恶的事情 错误 …
当它冻结时,我正在使用包管理器安装一个项目。我用Alt+F2来关闭它。
之后,每当我尝试通过 安装任何东西时apt-get,终端都会显示:
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
Run Code Online (Sandbox Code Playgroud)
如何解锁/var/lib/apt/lists/?
我全新安装了 Ubuntu 12.04。每当我尝试从 Ubuntu 软件中心下载新应用程序时,它都会说:
需要未经身份验证的软件包
然后它给了我一个“修复”选项。当我点击“修复”时,它开始“更新缓存”,进度条停留在零。
如果我尝试通过终端下载或安装任何软件包,它会卡在
连接到 archive.ubuntu.com
我最终得到了
坏事发生了……
错误信息。
我已经尝试从疑难解答中提到的“软件源”更改服务器。但这无济于事,问题仍然存在。
我是 Ubuntu 的新手。我在运行sudo apt-get update命令时遇到了一些问题。它显示了下面提到的错误。
我的系统配置:
命令:
sudo apt-get update
Run Code Online (Sandbox Code Playgroud)
错误日志:
Err http://security.ubuntu.com precise-security Release.gpg
Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://in.archive.ubuntu.com precise Release.gpg
Something wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://in.archive.ubuntu.com precise-updates Release.gpg
Something wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Ign http://security.ubuntu.com precise-security Release
Err http://in.archive.ubuntu.com precise-backports Release.gpg
Something wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - …Run Code Online (Sandbox Code Playgroud)