阿里云服务器不能使用apt-get
2024-10-07 09:15:17
因为阿里云使用的是自己的源。所以在/etc/apt/sources.list中加上:
deb cdrom:[Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801)]/ xenial main restricted
deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
最新文章
- ORACLE表空间管理维护
- Effective C++第三遍
- 条件随机场CRF简介
- TWinControl与TControl的覆盖函数(TWinControl对TControl的10个消息覆盖函数,17个覆盖函数,私有虚函数仍可多态)
- POJ 1577 Falling Leaves (子母二叉树,给出叶子节点的删除序列,求前序遍历)
- 【HDOJ】1243 反恐训练营
- VS2010打开旧版本MFC工程无对话框
- java之自动过滤提交文本中的html代码script代码
- ";码率适配限速”,如何使带宽成本减少30%?
- Python内置函数(51)——property
- css--颜色值
- Oracle数据仓库套件
- (转)asyncio --- 异步 I/O
- CSS Flex布局整理
- DRF之解析器源码解析
- Quartz定时器+Spring + @Autowired注入 空指针异常
- 特大数字之和,返回结果是字符串(考虑到数字特别大,如果相加会产生e)
- win10中命令操作Zookeeper
- Jmeter+ant+Jenkins构建接口自动化测试
- 点分治&;动态点分治小结