智能
助手
最大化  清空记录 停止  历史记录
翻译选中文本
选中一段文本后进行翻译
名词解释
选中一段文本后进行名词解释
知识图谱生成
通过图谱展示知识信息
登录用户在知识浏览页面可用
答案生成
AI自动回答一个问答功能中的问题
登录用户在问答浏览页面,且问题开放回答中可用
知识摘要
自动为当前知识生成摘要
知识浏览页面可用
知识问答
针对当前知识进行智能问答
知识浏览面可用
   811  
查询码: 00000032
Ubuntu修改apt源为阿里源
作者: 文艺范儿 于 2021年07月29日 发布在分类 / Linux / 系统相关 ,于 2021年07月29日 编辑
Ubuntu

Ubuntu类似下面的安装包依赖问题:
      libc6-dev : 依赖: libc6 (= 2.23-0ubuntu11) 但是 2.27-3ubuntu1 正要被安装

      build-essential: 依赖: g++ (>= 4:4.3.1) 但是它将不会被安装

1.将原来的源文件备份

cd /etc/apt
mv sources.list sources.list.back

2.更换为阿里源

vim sources.list

将下面的阿里源复制粘贴进去

阿里源:

deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

3.更新软件

apt-get update
apt-get upgrade

笔记
0人参与


 历史版本

备注 修改日期 修改人
创建版本 2021-07-29 22:24:29[当前版本] 文艺范儿

  目录
    文艺知识分享平台 -V 5.2.5 -wcp