红联Linux门户
Linux帮助

成功升级Everest到0.3了

发布时间:2006-12-10 12:01:06来源:红联作者:Community
看到everest0.3已经放出,配好源后,用Synaptic进行在线升级。在Synaptic中选中“标记全部软件包以便升级”按钮,然后“应用”,后面就让他自己去下载升级这些软件包。过了N久后(网速!!),终于把所需软件包下完,Synaptic在进行安装时出现错误提示:

file /usr/include/asm/a.out.h from install of kernel-headers-2.6.18.3-54 conflicts with file from package glibc-kernheaders-3.0-5.2
file /usr/include/asm/byteorder.h from install of kernel-headers-2.6.18.3-54 conflicts with file from package glibc-kernheaders-3.0-5.2
file /usr/include/asm/elf.h from install of kernel-headers-2.6.18.3-54 conflicts with file from package glibc-kernheaders-3.0-5.2
file /usr/include/asm/errno.h from install of kernel-headers-2.6.18.3-54 conflicts with file from package glibc-kernheaders-3.0-5.2
... ...

... ...
file /usr/include/mtd/nftl-user.h from install of kernel-headers-2.6.18.3-54 conflicts with file from package glibc-kernheaders-3.0-5.2
file /etc/init.d from install of fuse-2.6.0-1 conflicts with file from package chkconfig-1.3.29-1

看到这些信息很是不爽。担心下了N久才下完的软件包就一下子没了。于是在系统里面找了一番,是虚惊了一场。在/var/cache/apt/archives下面,找到了下的软件包。看了出错的提示,于是乎先去升级了一下glibc-kernheaders-3.0-5.2_i386.rpm。然后把kernel-headers-2.6.18.3-54_386.rpm也强制安装了。看到错误信息的最后一行为file /etc/init.d from install of fuse-2.6.0-1 conflicts with file from package chkconfig-1.3.29-1,于是把fuse-2.6.0-1_i386.rpm也强制安装了。

完了以后,继续用Synaptic进行升级,由于所需软件包大都已经下载了,这次没花太多时间。不过等Synaptic准备完后,又出错误了,说是can't find libdbus*什么的。于是乎用apt-get install dbus去重新安装dbus。这次总算是成功了,虽然并不那么完美。如下:

#apt-get install dbus
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
dbus-devel dbus-glib dbus-python dbus-qt dbus-x11 device-mapper-multipath gnome-vfs2 hal hal-devel kdebase kpartx libgpod libgpod-devel librsvg2 netd pmount
sysfsutils sysfsutils-devel
The following packages will be upgraded
dbus dbus-devel dbus-glib dbus-python dbus-qt dbus-x11 device-mapper-multipath gnome-vfs2 hal hal-devel kdebase libgpod libgpod-devel librsvg2 netd pmount
sysfsutils sysfsutils-devel
The following packages will be REMOVED:
avahi avahi-glib bluez-pin bluez-utils configwired cpufreq-utils daemondaemon gphoto2 gphoto2-devel hpijs k3b kdegraphics-kamera kpowersave kshare libgnomecups
libgnomeprint22 libgnomeprintui22 libnotify libnotify-devel libsane-hpaio notification-daemon powersave powersave-devel powersave-libs sane-backends
sane-backends-devel sane-frontends smbshared startService updateagent
The following NEW packages will be installed:
kpartx
18 upgraded, 1 newly installed, 30 removed and 154 not upgraded.
Need to get 0B/36.4MB of archives.
After unpacking 28.5MB disk space will be freed.
Do you want to continue? [Y/n] Y
Committing changes...
Preparing... ########################################### [100%]
warning: /etc/sane.d/dll.conf saved as /etc/sane.d/dll.conf.rpmsave
1:dbus-qt ########################################### [ 5%]
/var/tmp/rpm-tmp.5893: line 1: fg: no job control
error: %post(dbus-qt-0.62-16.i386) scriptlet failed, exit status 1
2:dbus-glib ########################################### [ 11%]
3:dbus-x11 ########################################### [ 16%]
4:dbus-devel ########################################### [ 21%]
5:dbus-python ########################################### [ 26%]
6:librsvg2 ########################################### [ 32%]
g_module_open() failed for /usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so: libavahi-glib.so.1: cannot open shared object file: No such file or directory
/var/tmp/rpm-tmp.79407: line 2: 19988 段错误 gdk-pixbuf-query-loaders-32 >/etc/gtk-2.0/gdk-pixbuf.loaders
error: %post(librsvg2-2.16.0-1.i386) scriptlet failed, exit status 139
7:hal-devel ########################################### [ 37%]
8:hal ########################################### [ 42%]
9:kdebase ########################################### [ 47%]
10:netd ########################################### [ 53%]
11:sysfsutils-devel ########################################### [ 58%]
12:kpartx ########################################### [ 63%]
13:device-mapper-multipath########################################### [ 68%]
14:pmount ########################################### [ 74%]
15:sysfsutils ########################################### [ 79%]
16:libgpod-devel ########################################### [ 84%]
17:libgpod ########################################### [ 89%]
18:gnome-vfs2 ########################################### [ 95%]
19:dbus ########################################### [100%]
W: Some errors occurred while running transaction

安装过程中错误一大堆,不过似乎是装上去了,不管那么多了,暂且认为可以正常运行吧。接下来继续升级。为了保险起见,先手动升级了一下kde,是直接安装已经下载下来的软件包,命令如下:
# rpm -Uvh kde* --force
强制安装就是好:)没有那么多麻烦事。

重新启动了一下机器,似乎没有发现有什么问题。于是继续升级,不妙的是网上不去了。先把网上起才是正事。下面又在系统里活动了一下,把一些网络服务启动起来。如下:
[root@localhost init.d]# ./network-lo start
弹出环回接口: [确定]
[root@localhost init.d]# ./network start
弹出界面 eth0:
正在决定 eth0 的 IP 信息...RTNETLINK answers: No such device
[确定]
[root@localhost init.d]# ./mdnsd
Usage: mdnsd {start|stop|restart|status|condrestart}
[root@localhost init.d]# ./mdnsd status
mdnsd 已停
[root@localhost init.d]# ./mdnsd start
Starting mdnsd: [确定]
[root@localhost init.d]# ./network start
弹出界面 eth0:
正在决定 eth0 的 IP 信息...dhclient(6429) is already running - exiting.
exiting.
[确定]
看来还是没有白忙活,网络又通了,然后继续利用Synaptic升级。
后面省心了不少,一直升级下去没有出问题,终于升级完成。后面又检查了一下系统的软件包,一切正常,在几经折腾之后,终于归于平静。系统升级完后从表面来看,0.2中关闭系统时的两个错误提示没有了,konqueror的工具栏又可以自行定义了。kde-3.5.5与以前相比稍有流畅的感觉,由于显卡太差,也就没有用beryl。
终于升级完成。
文章评论

共有 0 条评论