当前位置| 科技 > > 列表>详情

Ubuntu和Linux操作系统是什么关系?Ubuntu16.04更新失败后该怎么样?

2022-12-15 11:07:39 来源:亚洲网

Ubuntu是什么?
Ubuntu是一个以桌面应用为主的Linux操作系统,其名称来自非洲南部祖鲁语或豪萨语的“ubuntu"一词,意思是“人性”“我的存在是因为大家的存在",是非洲传统的一种价值观。Ubuntu基于Debian发行版和Gnome桌面环境,而从11.04版起,Ubuntu发行版放弃了Gnome桌面环境,改为Unity。从前人们认为Linux难以安装、难以使用,在Ubuntu出现后这些都成为了历史。Ubuntu也拥有庞大的社区力量,用户可以方便地从社区获得帮助。自Ubuntu 18.04 LTS起,Ubuntu发行版又重新开始使用GNOME3桌面环境。

Ubuntu 16.04 更新源失败问题

http://blog.csdn.net/wangweiqiang1325/article/details/53447123 texiao

添加以下内容:注意,每一行的trusty应该用第一步查看得到的Codename来代替

deb http://mirrors.aliyun.com/ubuntu/ trusty main multiverse restricted universe

deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main multiverse restricted universe

deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main multiverse restricted universe

deb http://mirrors.aliyun.com/ubuntu/ trusty-security main multiverse restricted universe

deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main multiverse restricted universe

deb-src http://mirrors.aliyun.com/ubuntu/ trusty main multiverse restricted universe

deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main multiverse restricted universe

deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main multiverse restricted universe

deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main multiverse restricted universe

deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main multiverse restricted universe

以下提供配置

1Codename=$( (lsb_release -a)|awk ‘{print $2}‘|tail -n 1 )

2echo "\

3deb http://mirrors.aliyun.com/ubuntu/ $Codename main multiverse restricted universe

4deb http://mirrors.aliyun.com/ubuntu/ $Codename-backports main multiverse restricted universe

5deb http://mirrors.aliyun.com/ubuntu/ $Codename-proposed main multiverse restricted universe

6deb http://mirrors.aliyun.com/ubuntu/ $Codename-security main multiverse restricted universe

7deb http://mirrors.aliyun.com/ubuntu/ $Codename-updates main multiverse restricted universe

8deb-src http://mirrors.aliyun.com/ubuntu/ $Codename main multiverse restricted universe

9deb-src http://mirrors.aliyun.com/ubuntu/ $Codename-backports main multiverse restricted universe

10deb-src http://mirrors.aliyun.com/ubuntu/ $Codename-proposed main multiverse restricted universe

11deb-src http://mirrors.aliyun.com/ubuntu/ $Codename-security main multiverse restricted universe

12deb-src http://mirrors.aliyun.com/ubuntu/ $Codename-updates main multiverse restricted universe ">sources.list

13apt-get update

sudo运行该脚本即可(注意运行之前最好备份之前的sources.list)

标签: 更新源失败问题 信息技术 信息革命