BackBox是基于Ubuntu的Linux发行版,因此,我们可以使用Ubuntu的更新源作为BackBox的更新源。

1.查看系统版本信息:

输入:

uname -a

显示计算机及操作系统的有关信息,在回显里我们可以看到:

Linux master 4.10.0-38-generic #42~16.04.1-Ubuntu SMP Tue Oct 10 16:30:51 UTC 2017 i686 i686 i686 GNU/Linux

这表明我们现在使用的Linux内核是Ubuntu

另外我们还可以通过输入命令:

cat /proc/version

查看内核版本,运行回显如下:

Linux version 4.10.0-38-generic (buildd@lgw01-amd64-020) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) ) #42~16.04.1-Ubuntu SMP Tue Oct 10 16:30:51 UTC 2017

输入:

cat /etc/issue

可以查看当前使用的发行版的信息,回显如下:

BackBox Linux 5 \n \l

因此,本文的操作环境为:

BackBox 5(基于Ubuntu16.04.1)

当然,在添加更新源时对版本的要求也不是这么绝对,一般情况下,只要更新源本身还在更新并能通过互联网访问,那么更新源就是可以使用的。

2.BackBox 5自带的更新源

BackBox 5自带的更新源均指向Ubuntu的官网地址,自带的更新源如下:

#deb cdrom:[BackBox Linux 5 - Release i386]/ xenial main multiverse restricted universe# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ xenial main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial main restricted## Major bug fix updates produced after the final release of the
## distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-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://cn.archive.ubuntu.com/ubuntu/ xenial universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial universe
deb http://cn.archive.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-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://cn.archive.ubuntu.com/ubuntu/ xenial multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-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://cn.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe 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 xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partnerdeb http://security.ubuntu.com/ubuntu xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse

3.补充BackBox国内更新源:

输入:

sudo leafpad /etc/apt/sources.list

使用leadpad打开更新源配置文件。
也可以输入:

sudo vi /etc/apt/sources.list

使用vi编辑器打开更新源配置文件
:不要忘记加上sudo

将以下更新源复制到原更新源的前面保存即可:

#阿里云源
# deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted
deb-src http://archive.ubuntu.com/ubuntu xenial main restricted #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
deb http://mirrors.aliyun.com/ubuntu/ xenial multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse #Added by software-properties
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-security multiverse#网易源
deb http://mirrors.163.com/ubuntu/ precise main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse#中科大源:
deb http://debian.ustc.edu.cn/ubuntu/ trusty main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ trusty-backports main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ trusty-security main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ trusty-updates main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ trusty main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ trusty-backports main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ trusty-security main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ trusty-updates main multiverse restricted universe#东北大学源
deb-src http://mirror.neu.edu.cn/ubuntu/ xenial main restricted #Added by software-properties
deb http://mirror.neu.edu.cn/ubuntu/ xenial main restricted
deb-src http://mirror.neu.edu.cn/ubuntu/ xenial restricted multiverse universe #Added by software-properties
deb http://mirror.neu.edu.cn/ubuntu/ xenial-updates main restricted
deb-src http://mirror.neu.edu.cn/ubuntu/ xenial-updates main restricted multiverse universe #Added by software-properties
deb http://mirror.neu.edu.cn/ubuntu/ xenial universe
deb http://mirror.neu.edu.cn/ubuntu/ xenial-updates universe
deb http://mirror.neu.edu.cn/ubuntu/ xenial multiverse
deb http://mirror.neu.edu.cn/ubuntu/ xenial-updates multiverse
deb http://mirror.neu.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://mirror.neu.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse #Added by software-properties
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner
deb http://mirror.neu.edu.cn/ubuntu/ xenial-security main restricted
deb-src http://mirror.neu.edu.cn/ubuntu/ xenial-security main restricted multiverse universe #Added by software-properties
deb http://mirror.neu.edu.cn/ubuntu/ xenial-security universe
deb http://mirror.neu.edu.cn/ubuntu/ xenial-security multiverse#清华大学源
# deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security multiverse

:更改更新源之前最好先对原有的更新源做一个备份,备份命令:

sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup


Ubuntu中文官网源列表地址

end
更多内容请访问我的个人网站荒原之梦

转载于:https://www.cnblogs.com/wildernessdreams/p/9053815.html

2017年BackBox5和Ubuntu16.04.1国内更新源相关推荐

  1. Linux:ARM+lUbuntu16.04配置国内镜像源

    Linux:ARM+lUbuntu16.04配置国内镜像源 说明: 1.备份: 2.修改: 清华源 阿里源 3.更新: 说明: 因为x86平台上的镜像源和ARM平台上的镜像源是不能通用的,所以需要配置 ...

  2. ubuntu19.04更改国内镜像源

    ubuntu19.04更改国内镜像源 最近搞了个19.04版本的ubuntu玩玩,如何配置相应版本的国内镜像源? 原镜像源文件存放在目录/etc/apt/sources.list下,我们拷贝一份sou ...

  3. ubuntu14.04更换国内软件源的方法

    文章目录 前言 一.软件源是什么? 二.更换步骤 1.更换须知 2.配置文件备份 2.1执行以下命令对配置文件备份: 2.2执行以下命令编辑配置文件: 2.3把配置文件里面的内容全部删掉 2.4 把以 ...

  4. ubuntu 18.04更换为国内更新源

    ubuntu 18.04更换为国内更新源 在执行ubuntu安装开发环境命令sudo apt update, sudo apt install build-essential时,发现安装速度过慢,可以 ...

  5. X86_64架构的ubuntu16.04更换了系统源 update提示无法下载一些包 404 Not Found

    X86_64架构的ubuntu16.04更换了系统源 update时提示E: 无法下载 https://mirrors.tuna.tsinghua.edu.cn/ubuntu/dists/xenial ...

  6. kali2017添加国内更新源 + 配置并开启sshd

    kali2017添加国内更新源 添加国内更新源 1.切换到root用户 su 2.判断kali版本 lsb_release -a 3.添加更新源 leafpad /etc/apt/sources.li ...

  7. Ubuntu14.04和16.04官方默认更新源sources.list和第三方源推荐(干货!)

    写在前面:笔者由于还在学校学习,学校没有开发给Linux用的上网客户端,所以只能用在windows系统中通过安装虚拟机运行linux比较方便,但没有外网,只有学校的教育网,所以我需要将ubuntu的默 ...

  8. ubuntu 常用命令及国内更新源

    # root 权限 sudo su> 输入密码 # 查看系统版本 lsb_release -a uname -a # 内核版本 ... # 建立目录 mkdir -p /tmp/data ... ...

  9. Ubuntu21.04设置国内镜像源

    一.Ubuntu版本和代号: Ubuntu可谓是Linux世界中的黑马,其第一个正式版本于2004年10月正式推出.需要详细解释的是Ubuntu版本编号的定义,其编号以"年份的最后一位.发布 ...

最新文章

  1. eclipse可以写前端吗_Python 竟然也可以写网页前端了!
  2. 【C 语言】数组 ( 数组取值操作 | array[i][j] 用法 等价于 *( *(array = i) + j ) 用法 | 下标操作到指针操作演化过程 )
  3. 机器学习入门学习笔记:(3.1)决策树算法
  4. 找自己的问题和找别人的问题联系和区别
  5. 剑指offer---包含min函数的栈
  6. 2.Cocos2d-x-3.2编写3d打飞机,项目代码总结
  7. LINQ to JavaScript
  8. php文件夹重命名,PHP重命名和移动目录
  9. 计算机访问 用户密码不能为空,解决空密码账户无法访问Windows XP共享文件夹
  10. 图表graph之增加曲线
  11. Blender相关的一些链接(持续更新)
  12. MATLAB全局变量
  13. 实现拖拉机发牌程序——界面版python
  14. WordPress企业主题:企业一号
  15. 教你如何利用python调用摄像头
  16. spin()和spinOnce()
  17. getopt()函数简介
  18. HDU 1814(染色)
  19. 圣诞节老人界面(动画特效)
  20. wux-button 样式扩展 增加shape属性

热门文章

  1. android 多线程编程
  2. 正则表达式,一篇就够了
  3. 结果不对_男子去医院抽血体检,拿到化验单发现不对劲,医院:医生专业不精...
  4. 一个简单的微服务项目带你上手spring cloud 全家桶
  5. 【爆牙齿】说说我期待中的苹果那块板子。
  6. Sainkho Namtchylak-Old Melody那浓郁的忧伤
  7. uc浏览器邀请码_阿里云Teambition网盘收到邀请码,上传下载不限速!!!
  8. 在android中怎么定义垂直,Android中的垂直(旋转)标签
  9. java kdj_基于Java语言开发的个性化股票分析技术随机指数[KDJ].doc
  10. go tcp连接_在Go中构建并发TCP服务器样例