ubuntu 14.10源推荐-apt-get

本文详细介绍了如何解决Ubuntu 14.10安装软件时遇到的local错误和更新时出现的404问题,通过更换源并更新系统,成功升级至Ubuntu 15.04版本。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

最近虚拟技上安装软件都是local错误之类,采用apt-get update 更新都是404,
apt-get update Sources 404 Not Found [IP:xx.xx]之类
搜索了下可能是源的问题
先看下版本

cat /etc/issue

Ubuntu 14.10 \n \l

备份下
cp /etc/apt/sources.list /etc/apt/sources.list-bak

添加新的源头到sources.list文件
sudo vim /etc/apt/sources.list

deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty main restricted universe multiverse
deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty-security main restricted universe multiverse
deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty-updates main restricted universe multiverse
deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty-backports main restricted universe multiverse
deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty-proposed main restricted universe multiverse
deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty main restricted universe multiverse
deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty-security main restricted universe multiverse
deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty-updates main restricted universe multiverse
deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty-backports main restricted universe multiverse
deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty-proposed main restricted universe

sudo apt-update

完毕!
经本人测试,上面用的是香港中文大学的,用了163和aliyun的还是404.

14.10更新源


分割线

Welcome to Ubuntu 14.10 (GNU/Linux 3.16.0-23-generic x86_64)

Your Ubuntu release is not supported anymore.
For upgrade information, please visit:
http://www.ubuntu.com/releaseendoflife

New release '15.04' available.
Run 'do-release-upgrade' to upgrade to it.

看吧,14.10是非长期支持版本了,我们需要

do-release-upgrade

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值