求助问题,遇到过这样的情况,请问如何解决?

系统安装、升级讨论
回复
头像
lijinhao
帖子: 20
注册时间: 2010-08-10 16:42
送出感谢: 0
接收感谢: 0

求助问题,遇到过这样的情况,请问如何解决?

#1

帖子 lijinhao » 2010-09-13 13:46

ubuntu@ubuntu-desktop:~$ sudo apt-get update
[sudo] password for ubuntu:
错误 http://ppa.launchpad.net lucid Release.gpg
Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)
错误 http://ppa.launchpad.net/osd-lyrics/ppa/ubuntu/ lucid/main Translation-zh_CN
Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)
错误 http://ppa.launchpad.net lucid Release.gpg
Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)
错误 http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu/ lucid/main Translation-zh_CN
Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)
错误 http://ppa.launchpad.net lucid Release.gpg
Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)
错误 http://ppa.launchpad.net/tualatrix/ppa/ubuntu/ lucid/main Translation-zh_CN
Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)
忽略 http://ppa.launchpad.net lucid Release
忽略 http://ppa.launchpad.net lucid Release
忽略 http://ppa.launchpad.net lucid Release
忽略 http://ppa.launchpad.net lucid/main Packages
忽略 http://ppa.launchpad.net lucid/main Packages
忽略 http://ppa.launchpad.net lucid/main Packages
忽略 http://ppa.launchpad.net lucid/main Packages
忽略 http://ppa.launchpad.net lucid/main Packages
忽略 http://ppa.launchpad.net lucid/main Packages
错误 http://ppa.launchpad.net lucid/main Packages
Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)
错误 http://ppa.launchpad.net lucid/main Packages
Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)
错误 http://ppa.launchpad.net lucid/main Packages
Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)
命中 http://mirrors.163.com lucid Release.gpg
命中 http://mirrors.163.com/ubuntu/ lucid/main Translation-zh_CN
命中 http://mirrors.163.com/ubuntu/ lucid/universe Translation-zh_CN
命中 http://mirrors.163.com/ubuntu/ lucid/restricted Translation-zh_CN
命中 http://mirrors.163.com/ubuntu/ lucid/multiverse Translation-zh_CN
命中 http://mirrors.163.com lucid-security Release.gpg
忽略 http://mirrors.163.com/ubuntu/ lucid-security/universe Translation-zh_CN
忽略 http://mirrors.163.com/ubuntu/ lucid-security/main Translation-zh_CN
忽略 http://mirrors.163.com/ubuntu/ lucid-security/multiverse Translation-zh_CN
忽略 http://mirrors.163.com/ubuntu/ lucid-security/restricted Translation-zh_CN
命中 http://mirrors.163.com lucid-updates Release.gpg
忽略 http://mirrors.163.com/ubuntu/ lucid-updates/universe Translation-zh_CN
忽略 http://mirrors.163.com/ubuntu/ lucid-updates/main Translation-zh_CN
忽略 http://mirrors.163.com/ubuntu/ lucid-updates/multiverse Translation-zh_CN
忽略 http://mirrors.163.com/ubuntu/ lucid-updates/restricted Translation-zh_CN
命中 http://mirrors.163.com lucid-proposed Release.gpg
忽略 http://mirrors.163.com/ubuntu/ lucid-proposed/universe Translation-zh_CN
忽略 http://mirrors.163.com/ubuntu/ lucid-proposed/main Translation-zh_CN
忽略 http://mirrors.163.com/ubuntu/ lucid-proposed/multiverse Translation-zh_CN
忽略 http://mirrors.163.com/ubuntu/ lucid-proposed/restricted Translation-zh_CN
命中 http://mirrors.163.com lucid-backports Release.gpg
忽略 http://mirrors.163.com/ubuntu/ lucid-backports/universe Translation-zh_CN
忽略 http://mirrors.163.com/ubuntu/ lucid-backports/main Translation-zh_CN
忽略 http://mirrors.163.com/ubuntu/ lucid-backports/multiverse Translation-zh_CN
忽略 http://mirrors.163.com/ubuntu/ lucid-backports/restricted Translation-zh_CN
命中 http://mirrors.163.com lucid Release
命中 http://mirrors.163.com lucid-security Release
命中 http://mirrors.163.com lucid-updates Release
命中 http://mirrors.163.com lucid-proposed Release
命中 http://mirrors.163.com lucid-backports Release
命中 http://mirrors.163.com lucid/main Packages
命中 http://mirrors.163.com lucid/universe Packages
命中 http://mirrors.163.com lucid/restricted Packages
命中 http://mirrors.163.com lucid/multiverse Packages
命中 http://mirrors.163.com lucid-security/universe Packages
命中 http://mirrors.163.com lucid-security/main Packages
命中 http://mirrors.163.com lucid-security/multiverse Packages
命中 http://mirrors.163.com lucid-security/restricted Packages
命中 http://mirrors.163.com lucid-updates/universe Packages
命中 http://mirrors.163.com lucid-updates/main Packages
命中 http://mirrors.163.com lucid-updates/multiverse Packages
命中 http://mirrors.163.com lucid-updates/restricted Packages
命中 http://mirrors.163.com lucid-proposed/universe Packages
命中 http://mirrors.163.com lucid-proposed/main Packages
命中 http://mirrors.163.com lucid-proposed/multiverse Packages
命中 http://mirrors.163.com lucid-proposed/restricted Packages
命中 http://mirrors.163.com lucid-backports/universe Packages
命中 http://mirrors.163.com lucid-backports/main Packages
命中 http://mirrors.163.com lucid-backports/multiverse Packages
命中 http://mirrors.163.com lucid-backports/restricted Packages
W: 无法下载 http://ppa.launchpad.net/osd-lyrics/ppa ... elease.gpg Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)

W: 无法下载 http://ppa.launchpad.net/osd-lyrics/ppa ... -zh_CN.bz2 Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)

W: 无法下载 http://ppa.launchpad.net/pidgin-develop ... elease.gpg Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)

W: 无法下载 http://ppa.launchpad.net/pidgin-develop ... -zh_CN.bz2 Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)

W: 无法下载 http://ppa.launchpad.net/tualatrix/ppa/ ... elease.gpg Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)

W: 无法下载 http://ppa.launchpad.net/tualatrix/ppa/ ... -zh_CN.bz2 Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)

W: 无法下载 http://ppa.launchpad.net/osd-lyrics/ppa ... ackages.gz Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)

W: 无法下载 http://ppa.launchpad.net/pidgin-develop ... ackages.gz Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)

W: 无法下载 http://ppa.launchpad.net/tualatrix/ppa/ ... ackages.gz Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)

E: 有一些索引文件不能下载,它们可能被忽略了,也可能转而使用了旧的索引文件。
ubuntu@ubuntu-desktop:~$ :em20
头像
lainme
论坛版主
帖子: 7805
注册时间: 2008-09-13 19:17
系统: Arch Linux (x86_64)
送出感谢: 3 次
接收感谢: 68 次
联系:

Re: 求助问题,遇到过这样的情况,请问如何解决?

#3

帖子 lainme » 2010-09-13 15:30

先看下浏览器里能不能进入launchpad,如果可以,是apt的问题。

尝试手动设定DNS或者更换DNS
头像
remeber
论坛版主
帖子: 13005
注册时间: 2009-01-06 15:18
来自: 人间
送出感谢: 1 次
接收感谢: 22 次

Re: 求助问题,遇到过这样的情况,请问如何解决?

#4

帖子 remeber » 2010-09-13 15:48

不知道为什么同时用两个源。。
换成完整的一个源再试试看。
“有一种被人抛诸脑后的过去,包含一些不该遗忘的点点滴滴。欢笑之余,我将故旧拾起,才刹见自己的薄情。人世间似乎存在着某种公平,每个人都曾被抛掷在他人的遗忘中;而今你所有哽咽难宣的话语,也正是你曾为人所期盼,却永远听不见的字句。” —赫曼 赫塞
头像
lijinhao
帖子: 20
注册时间: 2010-08-10 16:42
送出感谢: 0
接收感谢: 0

Re: 求助问题,遇到过这样的情况,请问如何解决?

#5

帖子 lijinhao » 2010-09-14 21:00

换过源之后好像还是没什么好的变化:







ubuntu@ubuntu-desktop:~$ sudo apt-get update
错误 http://ppa.launchpad.net lucid Release.gpg
Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)
错误 http://ppa.launchpad.net/osd-lyrics/ppa/ubuntu/ lucid/main Translation-zh_CN
Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)
错误 http://ppa.launchpad.net lucid Release.gpg
Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)
错误 http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu/ lucid/main Translation-zh_CN
Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)
错误 http://ppa.launchpad.net lucid Release.gpg
Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)
错误 http://ppa.launchpad.net/tualatrix/ppa/ubuntu/ lucid/main Translation-zh_CN
Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)
忽略 http://ppa.launchpad.net lucid Release
忽略 http://ppa.launchpad.net lucid Release
忽略 http://ppa.launchpad.net lucid Release
忽略 http://ppa.launchpad.net lucid/main Packages
忽略 http://ppa.launchpad.net lucid/main Packages
忽略 http://ppa.launchpad.net lucid/main Packages
忽略 http://ppa.launchpad.net lucid/main Packages
忽略 http://ppa.launchpad.net lucid/main Packages
忽略 http://ppa.launchpad.net lucid/main Packages
错误 http://ppa.launchpad.net lucid/main Packages
Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)
错误 http://ppa.launchpad.net lucid/main Packages
Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)
错误 http://ppa.launchpad.net lucid/main Packages
Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)
命中 http://mirror.ox.ac.uk lucid Release.gpg
命中 http://mirror.ox.ac.uk/sites/archive.ubuntu.com/ubuntu/ lucid/main Translation-zh_CN
命中 http://mirror.ox.ac.uk/sites/archive.ubuntu.com/ubuntu/ lucid/universe Translation-zh_CN
命中 http://mirror.ox.ac.uk/sites/archive.ubuntu.com/ubuntu/ lucid/restricted Translation-zh_CN
命中 http://mirror.ox.ac.uk/sites/archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-zh_CN
命中 http://mirror.ox.ac.uk lucid-security Release.gpg
忽略 http://mirror.ox.ac.uk/sites/archive.ubuntu.com/ubuntu/ lucid-security/universe Translation-zh_CN
忽略 http://mirror.ox.ac.uk/sites/archive.ubuntu.com/ubuntu/ lucid-security/main Translation-zh_CN
忽略 http://mirror.ox.ac.uk/sites/archive.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-zh_CN
忽略 http://mirror.ox.ac.uk/sites/archive.ubuntu.com/ubuntu/ lucid-security/restricted Translation-zh_CN
命中 http://mirror.ox.ac.uk lucid-updates Release.gpg
忽略 http://mirror.ox.ac.uk/sites/archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-zh_CN
忽略 http://mirror.ox.ac.uk/sites/archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-zh_CN
忽略 http://mirror.ox.ac.uk/sites/archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-zh_CN
忽略 http://mirror.ox.ac.uk/sites/archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-zh_CN
命中 http://mirror.ox.ac.uk lucid-proposed Release.gpg
忽略 http://mirror.ox.ac.uk/sites/archive.ubuntu.com/ubuntu/ lucid-proposed/universe Translation-zh_CN
忽略 http://mirror.ox.ac.uk/sites/archive.ubuntu.com/ubuntu/ lucid-proposed/main Translation-zh_CN
忽略 http://mirror.ox.ac.uk/sites/archive.ubuntu.com/ubuntu/ lucid-proposed/multiverse Translation-zh_CN
忽略 http://mirror.ox.ac.uk/sites/archive.ubuntu.com/ubuntu/ lucid-proposed/restricted Translation-zh_CN
命中 http://mirror.ox.ac.uk lucid-backports Release.gpg
忽略 http://mirror.ox.ac.uk/sites/archive.ubuntu.com/ubuntu/ lucid-backports/universe Translation-zh_CN
忽略 http://mirror.ox.ac.uk/sites/archive.ubuntu.com/ubuntu/ lucid-backports/main Translation-zh_CN
忽略 http://mirror.ox.ac.uk/sites/archive.ubuntu.com/ubuntu/ lucid-backports/multiverse Translation-zh_CN
忽略 http://mirror.ox.ac.uk/sites/archive.ubuntu.com/ubuntu/ lucid-backports/restricted Translation-zh_CN
命中 http://mirror.ox.ac.uk lucid Release
命中 http://mirror.ox.ac.uk lucid-security Release
命中 http://mirror.ox.ac.uk lucid-updates Release
命中 http://mirror.ox.ac.uk lucid-proposed Release
命中 http://mirror.ox.ac.uk lucid-backports Release
命中 http://mirror.ox.ac.uk lucid/main Packages
命中 http://mirror.ox.ac.uk lucid/universe Packages
命中 http://mirror.ox.ac.uk lucid/restricted Packages
命中 http://mirror.ox.ac.uk lucid/multiverse Packages
命中 http://mirror.ox.ac.uk lucid-security/universe Packages
命中 http://mirror.ox.ac.uk lucid-security/main Packages
命中 http://mirror.ox.ac.uk lucid-security/multiverse Packages
命中 http://mirror.ox.ac.uk lucid-security/restricted Packages
命中 http://mirror.ox.ac.uk lucid-updates/universe Packages
命中 http://mirror.ox.ac.uk lucid-updates/main Packages
命中 http://mirror.ox.ac.uk lucid-updates/multiverse Packages
命中 http://mirror.ox.ac.uk lucid-updates/restricted Packages
命中 http://mirror.ox.ac.uk lucid-proposed/universe Packages
命中 http://mirror.ox.ac.uk lucid-proposed/main Packages
命中 http://mirror.ox.ac.uk lucid-proposed/multiverse Packages
命中 http://mirror.ox.ac.uk lucid-proposed/restricted Packages
命中 http://mirror.ox.ac.uk lucid-backports/universe Packages
命中 http://mirror.ox.ac.uk lucid-backports/main Packages
命中 http://mirror.ox.ac.uk lucid-backports/multiverse Packages
命中 http://mirror.ox.ac.uk lucid-backports/restricted Packages
W: 无法下载 http://ppa.launchpad.net/osd-lyrics/ppa ... elease.gpg Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)

W: 无法下载 http://ppa.launchpad.net/osd-lyrics/ppa ... -zh_CN.bz2 Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)

W: 无法下载 http://ppa.launchpad.net/pidgin-develop ... elease.gpg Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)

W: 无法下载 http://ppa.launchpad.net/pidgin-develop ... -zh_CN.bz2 Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)

W: 无法下载 http://ppa.launchpad.net/tualatrix/ppa/ ... elease.gpg Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)

W: 无法下载 http://ppa.launchpad.net/tualatrix/ppa/ ... -zh_CN.bz2 Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)

W: 无法下载 http://ppa.launchpad.net/osd-lyrics/ppa ... ackages.gz Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)

W: 无法下载 http://ppa.launchpad.net/pidgin-develop ... ackages.gz Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)

W: 无法下载 http://ppa.launchpad.net/tualatrix/ppa/ ... ackages.gz Something wicked happened resolving 'ppa.launchpad.net:http' (-5 - 没有与主机名关联的地址)

E: 有一些索引文件不能下载,它们可能被忽略了,也可能转而使用了旧的索引文件。
ubuntu@ubuntu-desktop:~$
头像
lainme
论坛版主
帖子: 7805
注册时间: 2008-09-13 19:17
系统: Arch Linux (x86_64)
送出感谢: 3 次
接收感谢: 68 次
联系:

Re: 求助问题,遇到过这样的情况,请问如何解决?

#6

帖子 lainme » 2010-09-14 22:48

头像
lijinhao
帖子: 20
注册时间: 2010-08-10 16:42
送出感谢: 0
接收感谢: 0

Re: 求助问题,遇到过这样的情况,请问如何解决?

#7

帖子 lijinhao » 2010-09-16 13:57

6楼的朋友,你给的连接我打不开阿,麻烦你截几张图片过来,看看阿,在此先谢谢啦
头像
123rps
帖子: 189
注册时间: 2009-04-30 16:17
送出感谢: 0
接收感谢: 1 次

Re: 求助问题,遇到过这样的情况,请问如何解决?

#8

帖子 123rps » 2010-09-16 14:06

检查一下DNS服务器的设置
可能是没有指定DNS服务器或DNS服务器连接不上,所以出现“没有与主机名关联的地址”
DNS服务器在/etc/resolv.conf里面设,格式为nameserver XXX.XXX.XXX.XXX
东西大街南北走
出门碰到人咬狗
搬起狗来砸砖头
却被砖头咬了手
OpenOffice.org Math公式编辑器完全教程
头像
lijinhao
帖子: 20
注册时间: 2010-08-10 16:42
送出感谢: 0
接收感谢: 0

Re: 求助问题,遇到过这样的情况,请问如何解决?

#9

帖子 lijinhao » 2010-09-16 15:50

我的/etc/resolv.conf 里的内容是:
# Generated by NetworkManager
domain henu-softlab.local
search henu-softlab.local
nameserver 172.20.1.21
请问楼上的朋友怎么修改呢?
:em06
头像
123rps
帖子: 189
注册时间: 2009-04-30 16:17
送出感谢: 0
接收感谢: 1 次

Re: 求助问题,遇到过这样的情况,请问如何解决?

#10

帖子 123rps » 2010-09-16 16:13

东西大街南北走
出门碰到人咬狗
搬起狗来砸砖头
却被砖头咬了手
OpenOffice.org Math公式编辑器完全教程
头像
lijinhao
帖子: 20
注册时间: 2010-08-10 16:42
送出感谢: 0
接收感谢: 0

Re: 求助问题,遇到过这样的情况,请问如何解决?

#11

帖子 lijinhao » 2010-09-16 16:26

我刚看了resolv.conf 的属性,不允许更改,怎么办阿?
头像
lijinhao
帖子: 20
注册时间: 2010-08-10 16:42
送出感谢: 0
接收感谢: 0

Re: 求助问题,遇到过这样的情况,请问如何解决?

#12

帖子 lijinhao » 2010-09-16 16:29

刚才我看到有人说,最多可以加三个DNS,选哪个比较好呢?应该怎么选择呢?
头像
123rps
帖子: 189
注册时间: 2009-04-30 16:17
送出感谢: 0
接收感谢: 1 次

Re: 求助问题,遇到过这样的情况,请问如何解决?

#13

帖子 123rps » 2010-09-16 18:08

sudo gedit /etc/resolv.conf
几个无所谓,只有第一个才是实际用的
选个香港或日本的比较好吧
东西大街南北走
出门碰到人咬狗
搬起狗来砸砖头
却被砖头咬了手
OpenOffice.org Math公式编辑器完全教程
头像
lijinhao
帖子: 20
注册时间: 2010-08-10 16:42
送出感谢: 0
接收感谢: 0

Re: 求助问题,遇到过这样的情况,请问如何解决?

#14

帖子 lijinhao » 2010-09-17 14:03

谢谢拉,呵呵,不过我更改之后,保存来.重新开机之后有恢复原来的样子了.
最后我把我的软件源全部清空以后,又选泽了一个最佳的源,是美国的,再次sudo apt-get update 的时候,就没有问题啦.
嘿嘿,不过还是要谢谢你阿!
:em50
回复

回到 “系统安装和升级”