我该如何解决更新问题?我使用的是 Maverick 10.10 并每天更新,但我收到警告三角形,提示我更新信息已过时。执行更新后,它提示我上次更新时间是 26 天前。
查看其中的来源列表后/etc/apt/sources.list
显示以下内容:
# deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted
# See http:/ /help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http:// mirror01.th.ifl.net/ubuntu/ maverick main restricted
deb-src http://mirror01.th.ifl.net/ubuntu/ maverick main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirror01.th.ifl.net/ubuntu/ maverick-updates main restricted
deb-src http://mirror01.th.ifl.net/ubuntu/ maverick-updates main restricted
## 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://mirror01.th.ifl.net/ubuntu/ maverick universe
deb-src http://mirror01.th.ifl.net/ubuntu/ maverick universe
deb http://mirror01.th.ifl.net/ubuntu/ maverick-updates universe
deb-src http://mirror01.th.ifl.net/ubuntu/ maverick-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.
deb http://mirror01.th.ifl.net/ubuntu/ maverick multiverse
deb-src http://mirror01.th.ifl.net/ubuntu/ maverick multiverse
deb http://mirror01.th.ifl.net/ubuntu/ maverick-updates multiverse
deb-src http://mirror01.th.ifl.net/ubuntu/ maverick-updates multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.
## 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://gb.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
# deb-src http://gb.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
## 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 maverick partner
# deb-src http://archive.canonical.com/ubuntu maverick 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 maverick main
deb-src http://extras.ubuntu.com/ubuntu maverick main
deb http://mirror01.th.ifl.net/ubuntu/ maverick-security main restricted
deb-src http://mirror01.th.ifl.net/ubuntu/ maverick-security main restricted
deb http://mirror01.th.ifl.net/ubuntu/ maverick-security universe
deb-src http://mirror01.th.ifl.net/ubuntu/ maverick-security universe
deb http://mirror01.th.ifl.net/ubuntu/ maverick-security multiverse
deb-src http://mirror01.th.ifl.net/ubuntu/ maverick-security multiverse
deb http://ppa.launchpad.net/awn-testing/ubuntu hardy main
deb-src http://ppa.launchpad.net/awn-testing/ubuntu hardy main
#E-UAE and other funky Amiga stuff
deb http://ppa.launchpad.net/bjfs/ppa/ubuntu jaunty main
答案1
当您的一个或多个源无法更新时,您会看到此类消息。有时这是因为您的系统无法访问其中一个站点来下载存储库信息(这通常是因为相关站点发生故障、站点路径上某处的互联网链接出现问题或 DNS 出现问题)。这里看起来您无法确认站点的身份,因此 Ubuntu 认为使用此源不安全。
根据您的更新输出,您需要获取 tuxfamily.org 的正确身份密钥,或者将其从您的源中注释掉。
请参阅这些答案以获得明确的帮助: 如何修复 GPG 错误“NO_PUBKEY”?
答案2
跑步
sudo aptitude
按你
然后g
接受任何更改(这意味着必须解决一些依赖关系)
如果需要的话,再g一次
答案3
您只需运行:sudo apt-get update