升级 12.10 sources.list

升级 12.10 sources.list

我用过

deb http://old-releases.ubuntu.com/ubuntu/ quantal main restricted

以及我的 中的类似内容sources.list。我想尝试升级,但不确定如何修复我的sources.list文件。这是我的备份,但它给我带来了 404 加载,并且没有升级选项。有什么办法可以修复吗?

– 例如:sources.list从 12.10 升级需要使用什么文件?

# deb cdrom:[Ubuntu 12.10 _Quantal Quetzal_ - Release i386 (20121017.2)]/ quantal main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://no.archive.ubuntu.com/ubuntu/ quantal main restricted
deb-src http://no.archive.ubuntu.com/ubuntu/ quantal main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://no.archive.ubuntu.com/ubuntu/ quantal-updates main restricted
deb-src http://no.archive.ubuntu.com/ubuntu/ quantal-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://no.archive.ubuntu.com/ubuntu/ quantal universe
deb-src http://no.archive.ubuntu.com/ubuntu/ quantal universe
deb http://no.archive.ubuntu.com/ubuntu/ quantal-updates universe
deb-src http://no.archive.ubuntu.com/ubuntu/ quantal-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://no.archive.ubuntu.com/ubuntu/ quantal multiverse
deb-src http://no.archive.ubuntu.com/ubuntu/ quantal multiverse
deb http://no.archive.ubuntu.com/ubuntu/ quantal-updates multiverse
deb-src http://no.archive.ubuntu.com/ubuntu/ quantal-updates multiverse

## 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://no.archive.ubuntu.com/ubuntu/ quantal-backports main restricted universe multiverse
deb-src http://no.archive.ubuntu.com/ubuntu/ quantal-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu quantal-security main restricted
deb-src http://security.ubuntu.com/ubuntu quantal-security main restricted
deb http://security.ubuntu.com/ubuntu quantal-security universe
deb-src http://security.ubuntu.com/ubuntu quantal-security universe
deb http://security.ubuntu.com/ubuntu quantal-security multiverse
deb-src http://security.ubuntu.com/ubuntu quantal-security 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 quantal partner
# deb-src http://archive.canonical.com/ubuntu quantal 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 quantal main
deb-src http://extras.ubuntu.com/ubuntu quantal main

# ME ADDED
deb http://apt.izzysoft.de/ubuntu generic universe
# Spotify
deb http://repository.spotify.com stable non-free
# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys XXXXXXXXX
# sudo apt-get update
# sudo apt-get install spotify-client
#

deb http://www.deb-multimedia.org stable main non-free

deb http://deb.torproject.org/torproject.org quantal main

deb http://archive.canonical.com/ quantal partner
deb-src http://archive.canonical.com/ quantal partner

答案1

对于升级,您只需要需要sources.list在你的:中添加以下几行

deb http://old-releases.ubuntu.com/ubuntu/ quantal main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ quantal-security main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ quantal-updates main restricted universe multiverse

其余所有内容,包括 Canonical 存储库和 Extras 存储库都可以(并且将被升级工具)禁用。

将来,请将您添加的源保留在目录.list中的单独文件中/etc/apt/sources.list.d/

相关内容