如何在 elementry OS Luna 上获取 Ubuntu 的最新存储库?

如何在 elementry OS Luna 上获取 Ubuntu 的最新存储库?

我知道 ElementryOS luna 基于 Ubuntu 12.10 LTS,所以软件包已经过时了(例如:sudo apt-get install gimp 将获得 2.6 而不是 2.8),那么我如何获取最新的 ubuntu 软件包存储库,以及如何添加它们?

答案1

你不应该。Elementary OS Luna 是基于 Ubuntu 12.04 LTS 构建的,安装较新的软件包很可能会损坏它。无法保证它们能正常工作。

至于过时,这是不正确的。确实有较新的软件包,但是较旧的软件包仍在维护中,这意味着正在积极地为 Canonical 管理的所有软件包制作修复程序并应用安全补丁。毕竟,这就是 LTS = Long Term Support 表达式的含义。

如果您在此之后仍想尝试更新系统,但又非常清楚这可能会严重损坏系统,您可以尝试将以下几行添加到 /etc/apt/sources.list 文件中,并根据需要调整位置:

deb http://us.archive.ubuntu.com/ubuntu/ saucy main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ saucy main restricted

deb http://us.archive.ubuntu.com/ubuntu/ saucy-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ saucy-updates main restricted

deb http://us.archive.ubuntu.com/ubuntu/ saucy universe
deb-src http://us.archive.ubuntu.com/ubuntu/ saucy universe
deb http://us.archive.ubuntu.com/ubuntu/ saucy-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ saucy-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://us.archive.ubuntu.com/ubuntu/ saucy multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ saucy multiverse
deb http://us.archive.ubuntu.com/ubuntu/ saucy-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ saucy-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://us.archive.ubuntu.com/ubuntu/ saucy-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ saucy-backports main restricted universe multiverse

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

但请记住:你已经警告

相关内容