Debian升级:从woody到sarge
来源:互联网 发布:电力系统编程 编辑:程序博客网 时间:2024/05/15 04:37
woody上的软件和库老了些,常常碰见一些软件要求的库的版本都比较高,所以只有考虑升级了。
以前安装woody的时候是刻了7张光盘,这次准备尝试网络升级。
首先看一下网络通不通,速度如何。修改/etc/apt/sources.list. 注释掉以前的几条cdrom源的语句,添加了如下两个网络地址:
deb http://mirror.lupaworld.com/debian/ woody contrub main non-free deb ftp://ftp.linuxforum.net/debian woody contrib main non-free然后打开dselect,运行update,ok,网络速度还可以。开始升级.
_ <script type="text/javascript"><!--google_ad_client = "pub-9746691289329641";google_ad_width = 728;google_ad_height = 90;google_ad_format = "728x90_as";google_ad_type = "text_image";google_ad_channel ="";google_page_url = document.location;google_color_border = "336699";google_color_bg = "FFFFFF";google_color_link = "0000FF";google_color_url = "008000";google_color_text = "000000";//--></script><script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script>_- 为了让出问题的代价最小,用tar备份了/etc, /etc/lib/dpkg, /home下的配置文件。
- 关闭X,xdm。
- 安装aptitude,据说这个比dselect更好用。运行
# apt-get install aptitude - 检查软件包安装状态。
# dpkg --audit
谢天谢地,没有安装不完整或错误的包。在检查有没有hold的包
# dpkg --get-selections | grep hold
还好,也没有,省掉了不少工作。 - 打开script,记录安装过程。
# script -o ~/update2sarge.log - 更新包列表。修改sources.list的woody为sarge,然后运行
# apt-get update - 升级aptitude。
# aptitude install aptitude - 最后升级系统。
# aptitude -f --with-recomments dist-upgrade -o APT::Force-LoopBreak=1
升级过程一切正常。不过重启后发现mbr上的lilo数据被写坏了。幸好,我有woody的光盘,用光盘启动,用rescue命令重新进入系统,重新安装一次lilo。重启后OK。这是一个教训,以后升级后一定记得重新安装一次lilo。
不过问题接踵而来,我的显卡驱动被系统替换了,无法进入桌面。我的显卡是板载显卡,主板是P4S8X-MX,显卡是SiS Real 256E,这是个marketing name,其实是661,316系列,在http://www.winischhofer.net/welcome.shtml可以下到驱动。这个图形芯片,debian每次都搞错,我不得不手动把驱动拷贝到/usr/X11R6/lib/modules/drivers,命名为sis_drv.o。
- Debian升级:从woody到sarge
- 今天把 debian woody升级到sarge
- 从sarge升级到etch
- 升级debian到sarge得问题
- 怎样将 Debian 3.1 Sarge 升级到 4.0 Etch
- Debian Sarge Installation
- debian内核升级,从2.6.26到2.6.36
- 升级debian到lenny
- Debian Woody 3.0安装使用
- 升级debian版本到 jessie
- Debian (Sarge) 下安装 J2SE 1.5.0.05
- Compile Kernel 2.6 under Debian Sarge
- Another How to Install MogileFS - Debian Sarge
- Install Oracle Database XE on Debian Sarge
- debian升级内核到2.6.31.1
- 升级Debian Etch(4.0)到Debian Lenny(5.0)
- 在Debian Woody (Stable) 下安装 2.6 内核
- 在X31上安装Debian Sarge Linux系统
- 面试宝典一
- matlab与VC++混合编程之疑难篇(不断更新)
- 对《Microsoft Visual Studio Team System软件工程实践》一书的赞誉
- 事情的起因
- 常用js代码
- Debian升级:从woody到sarge
- 面试宝典二
- 在Debian下安装windows的中文TrueType字体
- 《大客户拓展策略》培训笔记
- 两大美女代言《极品飞车11》11月发布
- 添加取得子节点
- 搞定debian下的中文输入
- PL/SQL数据类型和效率分析
- 公司的最終決定