ubuntu11.04离线升级系统和安装软件[备忘录]

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
jianzhifu
帖子: 19
注册时间: 2007-10-18 21:43
送出感谢: 0
接收感谢: 0
联系:

ubuntu11.04离线升级系统和安装软件[备忘录]

#1

帖子 jianzhifu » 2011-05-08 9:22

ubuntu11.04离线升级系统和安装软件[备忘录]
以mirrors.163.com为例
1,按照以下目录结构下载(wget下载时,自动生成相应目录结构)
natty/ 27-Apr-2011 13:28 -
natty-backports/ 12-Oct-2010 14:25 -
natty-proposed/ 04-May-2011 13:48 -
natty-security/ 04-May-2011 13:48 -
natty-updates/ 04-May-2011 13:48

wget.exe -e robots=off -r -x -np -k -A * http://mirrors.163.com/ubuntu/dists/natty/
wget.exe -e robots=off -r -x -np -k -A * http://mirrors.163.com/ubuntu/dists/natty-backports/
wget.exe -e robots=off -r -x -np -k -A * http://mirrors.163.com/ubuntu/dists/natty-proposed/
wget.exe -e robots=off -r -x -np -k -A * http://mirrors.163.com/ubuntu/dists/natty-security/
wget.exe -e robots=off -r -x -np -k -A * http://mirrors.163.com/ubuntu/dists/natty-updates/

或者(还没试过行不行)
wget.exe -e robots=off -r -x -np -k -A * -i 163.list

文件163.lst内容如下:
http://mirrors.163.com/ubuntu/dists/natty/
http://mirrors.163.com/ubuntu/dists/natty-backports/
http://mirrors.163.com/ubuntu/dists/natty-proposed/
http://mirrors.163.com/ubuntu/dists/natty-security/
http://mirrors.163.com/ubuntu/dists/natty-updates/

下面按照 viewtopic.php?t=87977
做就可以了。
2,下载完后,修改sources.list(先备份)
$sudo cp /etc/apt/sources.list sources.list_backup
$sudo gedit /etc/apt/sources.list

wget递归下载 参考
http://colder.blog.163.com/blog/static/ ... 271311475/
回复

回到 “网卡问题以及网络和拨号”