如何在基本的OS Luna上获得Ubuntu最新的存储库?


0

我知道ElementryOS luna是基于Ubuntu 12.10 LTS的,所以包已经过时了(例如:sudo apt-get install gimp会得到2.6而不是2.8)所以我如何获得最新的ubuntu包reposorories,以及我该如何添加它们?


sudo apt-get update
Michael Frank

Answers:


0

你不应该。基本的OS Luna基于Ubuntu 12.04 LTS构建,可能会因安装更新的软件包而破坏。无法保证它们能够正常工作。

至于过时,这是不正确的。确实存在较新的软件包,但旧的软件包仍在维护,这意味着正在积极生成修复程序,并且对Canonical管理的所有软件包应用安全修补程序。毕竟,这是LTS =长期支持表达式的含义。

如果您仍然想在此之后尝试更新系统,完全了解您可能会破坏它,您可以尝试将以下行添加到/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

但请记住:你曾经 警告

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.