我正在尝试将我们的 ubuntu 服务器从 11.04 升级到 11.10。我执行了apt-get update
and apt-get dist-upgrade
。现在,我尝试执行 do-release upgrade。这是我收到的错误:
Err http://archive.ubuntu.com/ubuntu/ oneiric/main librpmsign0
403 Forbidden: IPS signature match [IP: 91.189.92.202 80]
这是完整的输出:
root@zienix:/var/cache/apt# do-release-upgrade
Checking for a new ubuntu release
Your Ubuntu release is not supported anymore.
For upgrade information, please visit:
http://www.ubuntu.com/releaseendoflife
Get:1 Upgrade tool signature [198 B]
Get:2 Upgrade tool [1471 kB]
Fetched 1471 kB in 0s (0 B/s)
authenticate 'oneiric.tar.gz' against 'oneiric.tar.gz.gpg'
extracting 'oneiric.tar.gz'
Reading cache
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
Ign http://security.ubuntu.com natty-security InRelease
Ign http://archive.ubuntu.com natty InRelease
Ign http://archive.ubuntu.com natty-updates InRelease
Hit http://security.ubuntu.com natty-security Release.gpg
Hit http://archive.ubuntu.com natty Release.gpg
...
Get:55 http://archive.ubuntu.com oneiric-updates/main TranslationIndex [74 B]
Get:56 http://archive.ubuntu.com oneiric-updates/multiverse TranslationIndex [72 B]
Get:57 http://archive.ubuntu.com oneiric-updates/restricted TranslationIndex [72 B]
Get:58 http://archive.ubuntu.com oneiric-updates/universe TranslationIndex [73 B]
Get:59 http://archive.ubuntu.com oneiric/main Translation-en [701 kB]
Get:60 http://archive.ubuntu.com oneiric/multiverse Translation-en [92.6 kB]
Get:61 http://archive.ubuntu.com oneiric/restricted Translation-en [2229 B]
Get:62 http://archive.ubuntu.com oneiric/universe Translation-en [3165 kB]
Get:63 http://archive.ubuntu.com oneiric-updates/main Translation-en [205 kB]
Get:64 http://archive.ubuntu.com oneiric-updates/multiverse Translation-en [3524 B]
Get:65 http://archive.ubuntu.com oneiric-updates/restricted Translation-en [1547 B]
Get:66 http://archive.ubuntu.com oneiric-updates/universe Translation-en [87.6 kB]
Fetched 24.0 MB in 6s (657 kB/s)
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
Calculating the changes
Calculating the changes
No candidate ver: libdns66
No candidate ver: libdrm-nouveau1
No candidate ver: libeggdbus-1-0
No candidate ver: libgirepository1.0-1
No candidate ver: libicu42
No candidate ver: libisc60
No candidate ver: libisccfg60
No candidate ver: libpango1.0-common
No candidate ver: libxapian15
No candidate ver: linux-image-2.6.35-22-virtual
No candidate ver: linux-image-2.6.35-28-virtual
No candidate ver: linux-image-2.6.35-32-virtual
Do you want to start the upgrade?
1 installed package is no longer supported by Canonical. You can
still get support from the community.
5 packages are going to be removed. 84 new packages are going to be
installed. 389 packages are going to be upgraded.
You have to download a total of 8784 . This download will take about
1 second with your connection.
Fetching and installing the upgrade can take several hours. Once the
download has finished, the process cannot be cancelled.
Continue [yN] Details [d]y
Fetching
Err http://archive.ubuntu.com/ubuntu/ oneiric/main librpmsign0 amd64 4.9.0-7
403 Forbidden: IPS signature match [IP: 91.189.92.202 80]
Fetched 0 B in 0s (0 B/s)
Err http://archive.ubuntu.com/ubuntu/ oneiric/main librpmsign0 amd64 4.9.0-7
403 Forbidden: IPS signature match [IP: 91.189.92.201 80]
Fetched 0 B in 0s (0 B/s)
Err http://archive.ubuntu.com/ubuntu/ oneiric/main librpmsign0 amd64 4.9.0-7
403 Forbidden: IPS signature match [IP: 91.189.92.202 80]
Fetched 0 B in 0s (0 B/s)
Could not download the upgrades
The upgrade has aborted. Please check your Internet connection or
installation media and try again. All files downloaded so far have
been kept.
Failed to fetch
http://archive.ubuntu.com/ubuntu/pool/main/r/rpm/librpmsign0_4.9.0-7_amd64.deb
403 Forbidden: IPS signature match [IP: 91.189.92.202 80]
Restoring original system state
Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
答案1
问题可能出在你这边,因为我可以从家里下载相同的文件。
您的终端上可能配置了过于严格的“入侵防御系统”,阻止您下载该文件。
如果问题出在这个特定的镜像上,你可以尝试从另一个镜像下载,请参阅完整列表:
http://packages.ubuntu.com/oneiric/amd64/librpmsign0/download
只需找到一个,复制下载链接,使用 wget 并使用 dpkg(dpkg -i librpmsign0_4.9.0-7_amd64.deb)安装它,然后再次开始升级。
如果失败,请尝试更改 /etc/apt/sources.list 中使用的存储库。
如果这也失败了,您将需要向 IPS 添加例外情况。