- 论坛徽章:
- 0
|
哈,我也想把最终的版保存下来,又不想重新下载了,太折腾人了,我想之前基本上都把debian的505版下载完了,只需要把debian-update-508-i386这个iso下载就行了,直接挂载iso文件,本地升级就OK了!早就想好!
关于我用debmirror下载的其它站点的deb包,也不大,只有1.7G,也不大。
发个图看吧 {:3_190:}
其实我主要是想把www.debian-multimedia.org站点的i386的deb和源码包下载了,也有点其它的,如opera.com站点的,还有google的,还有virtualbox站点的,把key也一起下载,最后用md5sum命令生成了个md5列表。
当初为了下载站点的deb包,还到处查资料,关于debmirror命令的使用,最后我写了个脚本来做的,折腾了好久:
我把我当初用的脚本来发出来吧,大家学习交流吧,哈!
这是debian.lenny.list文件(就是apt的源配置文件了,一看就知道,都不用多说)
- # Official Security Updates
- # deb http://security.debian.org/ lenny/updates main contrib non-free
- # deb-src http://security.debian.org/ lenny/updates main contrib non-free
- # Debian Volatile
- deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
- deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
- # Debian Multimedia
- deb http://www.debian-multimedia.org/ lenny main non-free
- deb-src http://www.debian-multimedia.org/ lenny main non-free
- # Google
- deb http://dl.google.com/linux/deb/ stable non-free
- deb-src http://dl.google.com/linux/deb/ stable non-free
- # Opera
- deb http://deb.opera.com/opera/ lenny non-free
- deb-src http://deb.opera.com/opera/ lenny non-free
- # Flash - Plugin
- deb http://www.backports.org/debian lenny-backports contrib non-free
- deb-src http://www.backports.org/debian lenny-backports contrib non-free
- # Virtual - Box
- deb http://download.virtualbox.org/virtualbox/debian/ lenny non-free
- deb-src http://download.virtualbox.org/virtualbox/debian/ lenny non-free
- # Debian - Maintainers
- deb http://unofficial.debian-maintainers.org/ lenny main contrib non-free restricted
- deb-src http://unofficial.debian-maintainers.org/ lenny main contrib non-free restricted
复制代码 这是我写的关于debmirror下载站点的脚本,能力有限,也只能写得这样了:这个脚本就是把apt配置源中设置的下载到本地,最后制作成iso的时候,会把该脚本和用的apt配置源的文件,一起打包到iso文件中。
只是个爱好者,英文从不及格,只能用中文注解说明,免得以后看脚本都看不懂了,哈!!!
{:3_200:} |
|