ubuntu 下 python2.7 的 IDLE 安装 and 源更新(逗比 - -)

时间:2022-04-18 01:56:59

在用software center装IDLE时 出错

details 说python2.7-tk是虚拟的包什么的  不懂..


于是用 sudo app-get install python2.7-tk

发现   几个 depended on xx

少什么就安装什么

sudo app-get install xx


于是发现问题

Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

sudo apt-get upda了两次都是同样的问题

想想应该是源的问题  最近好像改过

于是

sudo gedit /etc/apt/sources.list

发现我的版本是trusty  结果用的  raring

果断ctrl+H  replace之

哦了..


对了一般都会备份..  sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup


之后别忘了 sudo apt-get update


附上源地址(直接拷贝进sources.list即可)

##sohu
deb http://mirrors.sohu.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ trusty-backports main restricted universe multiverse

##wangyi163
deb http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse


##alicloud
deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu trusty universe
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse



顺便看了一下ubuntu的版本

名字都非常有意思哦~


版本号 代号 发布时间
14.04 LTS Trusty Tahr 2014/04/18
13.10 Saucy Salamander 2013/10/17
13.04 Raring Ringtail 2013/04/25
12.10 Quantal Quetzal 2012/10/18
12.04 LTS Precise Pangolin 2012/04/26
11.10 Oneiric Ocelot 2011/10/13
11.04(Unity成为默认桌面环境) Natty Narwhal 2011/04/28
10.10 Maverick Meerkat 2010/10/10
10.04 LTS Lucid Lynx 2010/04/29
9.10 Karmic Koala 2009/10/29
9.04 Jaunty Jackalope 2009/04/23
8.10 Intrepid Ibex 2008/10/30
8.04 LTS Hardy Heron 2008/04/24
7.10 Gutsy Gibbon 2007/10/18
7.04 Feisty Fawn 2007/04/19
6.10 Edgy Eft 2006/10/26
6.06 LTS Dapper Drake 2006/06/01
5.10 Breezy Badger 2005/10/13
5.04 Hoary Hedgehog 2005/04/08
4.10(初始发布版本) Warty Warthog 2004/10/20
Ubuntu历史版本一览表