QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1015|回复: 11

求助:无法用apt-get dist-upgrade升级系统

[复制链接]
发表于 2005-3-6 00:43:40 | 显示全部楼层 |阅读模式
我的系统是RedHat 9,用apt-get dist-upgrade后出错的一些提示:
577 packages upgraded, 19 newly installed, 7 replaced, 0 removed and 0 not upgraded.
Need to get 0B/799MB of archives.
After unpacking 177MB of additional disk space will be used.
Do you want to continue? [Y/n]
Executing RPM (-Uvh)...
warning: /var/cache/apt/archives/laus-libs_0.1-66RHEL3_i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
warning: /var/cache/apt/archives/MySQL-shared-compat_4.1.9-0_i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
error: Failed dependencies:
        nmap = 3.00 is needed by (installed) nmap-frontend-3.00-4
E: Sub-process /bin/rpm returned an error code (255)
[root@localhost down]#

最后终止,不能完成升级。
 楼主| 发表于 2005-3-7 13:57:45 | 显示全部楼层
....................
Get:184 http://yum.ourlinux.net centos/3.4/i386/os xchat 1:2.0.4-4.EL [988kB]
Get:185 http://yum.ourlinux.net centos/3.4/i386/os xscreensaver 1:4.10-8 [5172kB]
Get:186 http://yum.ourlinux.net centos/3.4/i386/os yelp 2.2.3-1.E [370kB]
Get:187 http://yum.ourlinux.net centos/3.4/i386/os zip 2.3-16.1 [114kB]
Fetched 419MB in 1h35m40s (73.0kB/s)
Executing RPM (-e)...
Executing RPM (-ivh)...
warning: /var/cache/apt/archives/kernel-utils#1%3a2.4-8.29_1%3a2.4-8.29_i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing...                ########################################### [100%]
   1:kernel-utils           ########################################### [100%]
Executing RPM (-Uvh)...
warning: /var/cache/apt/archives/utempter_0.5.5-2.RHL9.0_i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
warning: /var/cache/apt/archives/id3lib_3.8.3-5.fr_i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
Preparing...                ########################################### [100%]
        file /usr/share/pixmaps/splash/gnome-splash.png conflicts between attempted installs of gnome-session-2.6.2-1 and redhat-logos-1.1.14.3-1.centos.4
E: Sub-process /bin/rpm returned an error code (255)
[root@localhost root]#

怎么回事?没人知道?不可能吧!
快帮帮忙吧好心人们!
回复

使用道具 举报

发表于 2005-3-7 16:52:29 | 显示全部楼层
/var和/tmp有空闲空间没有
回复

使用道具 举报

 楼主| 发表于 2005-3-8 01:53:27 | 显示全部楼层
它们全在一个分区──只给了Linux两个分区,一个/,一个swap分区,而且那个/分区有近六G大,刚装了系统没几个小时,根本不可能再放什么东西,除了系统就是它了!怎么会没有空间?
回复

使用道具 举报

 楼主| 发表于 2005-3-8 01:59:16 | 显示全部楼层
[root@localhost root]# apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages will be upgraded
  GConf2 GConf2-devel ORBit2 ORBit2-devel at-spi atk atk-devel audiofile
  audiofile-devel cdda2wav file-roller gconf-editor gftp ggv glib2 glib2-devel
  gnome-desktop gnome-icon-theme gnome-mime-data gnome-pilot gnome-pilot-devel
  gnome-session grip gstreamer gstreamer-tools gtkhtml gtkhtml-devel intltool
  libIDL libIDL-devel libart_lgpl libart_lgpl-devel libbonobo libbonobo-devel
  libglade2 libgnomeprint22 libgtop2 libpcap libxml2 libxml2-devel
  libxml2-python libxslt libxslt-devel mc net-snmp pango pango-devel
  redhat-config-printer redhat-config-printer-gui scrollkeeper
  startup-notification tcpdump utempter
The following packages will be REPLACED:
  bonobo-activation (by libbonobo)  bonobo-activation-devel (by
  libbonobo-devel)
The following NEW packages will be installed:
  id3lib libexif
The following packages have been kept back
  eel2 eog gail gimp gnome-panel gnome-terminal gnome-vfs2 gnome-vfs2-devel
  gthumb gtk2 gtk2-devel gtkhtml2 libbonoboui libgail-gnome libgnome
  libgnome-devel libgnomecanvas libgnomeprintui22 libgnomeui librsvg2
  librsvg2-devel libwnck metacity nautilus pilot-link pilot-link-devel
53 packages upgraded, 2 newly installed, 2 replaced, 0 removed and 26 not upgraded.
Need to get 0B/25.6MB of archives.
After unpacking 12.6MB of additional disk space will be used.
Do you want to continue? [Y/n]
Executing RPM (-Uvh)...
warning: /var/cache/apt/archives/gtkhtml-devel_1.1.9-0.9.1_i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
warning: /var/cache/apt/archives/id3lib_3.8.3-5.fr_i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
Preparing...                ########################################### [100%]
        file /usr/share/pixmaps/splash/gnome-splash.png from install of gnome-session-2.6.2-1 conflicts with file from package redhat-logos-1.1.14.3-1.centos.4
        file /usr/lib/libnetsnmp.so.5.0.9 from install of net-snmp-5.0.9-2.90.1 conflicts with file from package net-snmp-libs-5.0.9-2.30E.12
        file /usr/lib/libnetsnmpagent.so.5.0.9 from install of net-snmp-5.0.9-2.90.1 conflicts with file from package net-snmp-libs-5.0.9-2.30E.12
        file /usr/lib/libnetsnmphelpers.so.5.0.9 from install of net-snmp-5.0.9-2.90.1 conflicts with file from package net-snmp-libs-5.0.9-2.30E.12
        file /usr/lib/libnetsnmpmibs.so.5.0.9 from install of net-snmp-5.0.9-2.90.1 conflicts with file from package net-snmp-libs-5.0.9-2.30E.12
        file /usr/lib/libsnmp.so.5.0.9 from install of net-snmp-5.0.9-2.90.1 conflicts with file from package net-snmp-libs-5.0.9-2.30E.12
E: Sub-process /bin/rpm returned an error code (110)
[root@localhost root]# apt-get install gnome-session
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  GConf2 GConf2-devel ORBit2 ORBit2-devel glib2 glib2-devel libIDL
  libIDL-devel
The following packages will be upgraded
  GConf2 GConf2-devel ORBit2 ORBit2-devel glib2 glib2-devel gnome-session
  libIDL libIDL-devel
9 packages upgraded, 0 newly installed, 0 removed and 70 not upgraded.
Need to get 0B/3545kB of archives.
After unpacking 2515kB of additional disk space will be used.
Do you want to continue? [Y/n]
Executing RPM (-Uvh)...
Preparing...                ########################################### [100%]
        file /usr/share/pixmaps/splash/gnome-splash.png from install of gnome-session-2.6.2-1 conflicts with file from package redhat-logos-1.1.14.3-1.centos.4
W: There are multiple versions of "ncurses" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^ncurses$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warning "false";

W: There are multiple versions of "sendmail" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^sendmail$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warning "false";

W: You may want to run apt-get update to correct these problems
E: Sub-process /bin/rpm returned an error code (1
[root@localhost root]# apt-get update
Get:1 http://yum.ourlinux.net centos/3.4/i386 release [545B]
Get:2 http://auvtech.com fedora release [1075B]
Get:3 http://ayo.freshrpms.net redhat/9/i386 release [1171B]
Fetched 2791B in 11s (241B/s)
Hit http://yum.ourlinux.net centos/3.4/i386/os pkglist
Hit http://yum.ourlinux.net centos/3.4/i386/os release
Hit http://yum.ourlinux.net centos/3.4/i386/updates pkglist
Hit http://yum.ourlinux.net centos/3.4/i386/updates release
Hit http://ayo.freshrpms.net redhat/9/i386/os pkglist
Hit http://ayo.freshrpms.net redhat/9/i386/os release
Hit http://ayo.freshrpms.net redhat/9/i386/updates pkglist
Hit http://ayo.freshrpms.net redhat/9/i386/updates release
Hit http://ayo.freshrpms.net redhat/9/i386/freshrpms pkglist
Hit http://ayo.freshrpms.net redhat/9/i386/freshrpms release
Hit http://auvtech.com fedora/os pkglist
Hit http://auvtech.com fedora/os release
Hit http://auvtech.com fedora/gnome pkglist
Hit http://auvtech.com fedora/gnome release
Hit http://auvtech.com fedora/extras pkglist
Hit http://auvtech.com fedora/extras release
Reading Package Lists... Done
Building Dependency Tree... Done
W: There are multiple versions of "ncurses" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^ncurses$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warning "false";

W: There are multiple versions of "sendmail" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^sendmail$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warning "false";

W: You may want to run apt-get update to correct these problems
[root@localhost root]# apt-get update
Get:1 http://yum.ourlinux.net centos/3.4/i386 release [545B]
Get:2 http://auvtech.com fedora release [1075B]
Get:3 http://ayo.freshrpms.net redhat/9/i386 release [1171B]
Fetched 2791B in 1s (2785B/s)
Hit http://yum.ourlinux.net centos/3.4/i386/os pkglist
Hit http://yum.ourlinux.net centos/3.4/i386/os release
Hit http://auvtech.com fedora/os pkglist
Hit http://yum.ourlinux.net centos/3.4/i386/updates pkglist
Hit http://yum.ourlinux.net centos/3.4/i386/updates release
Hit http://auvtech.com fedora/os release
Hit http://ayo.freshrpms.net redhat/9/i386/os pkglist
Hit http://ayo.freshrpms.net redhat/9/i386/os release
Hit http://ayo.freshrpms.net redhat/9/i386/updates pkglist
Hit http://ayo.freshrpms.net redhat/9/i386/updates release
Hit http://ayo.freshrpms.net redhat/9/i386/freshrpms pkglist
Hit http://ayo.freshrpms.net redhat/9/i386/freshrpms release
Hit http://auvtech.com fedora/gnome pkglist
Hit http://auvtech.com fedora/gnome release
Hit http://auvtech.com fedora/extras pkglist
Hit http://auvtech.com fedora/extras release
Reading Package Lists... Done
Building Dependency Tree... Done
[root@localhost root]# apt-get install gnome-session
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  GConf2 GConf2-devel ORBit2 ORBit2-devel glib2 glib2-devel libIDL
  libIDL-devel
The following packages will be upgraded
  GConf2 GConf2-devel ORBit2 ORBit2-devel glib2 glib2-devel gnome-session
  libIDL libIDL-devel
9 packages upgraded, 0 newly installed, 0 removed and 70 not upgraded.
Need to get 0B/3545kB of archives.
After unpacking 2515kB of additional disk space will be used.
Do you want to continue? [Y/n]
Executing RPM (-Uvh)...
Preparing...                ########################################### [100%]
        file /usr/share/pixmaps/splash/gnome-splash.png from install of gnome-session-2.6.2-1 conflicts with file from package redhat-logos-1.1.14.3-1.centos.4
E: Sub-process /bin/rpm returned an error code (1
[root@localhost root]#



又一次的问题,反正它是总也不能完成。
回复

使用道具 举报

发表于 2005-3-8 12:34:51 | 显示全部楼层
先update一下看看
回复

使用道具 举报

发表于 2005-3-8 12:42:10 | 显示全部楼层
[root@localhost ~]# apt-get update
apt-get: error while loading shared libraries: libapt-pkg-libc6.3-6.so.0: cannot open shared object file: No such file or directory
[root@localhost ~]#
回复

使用道具 举报

发表于 2005-3-8 12:44:25 | 显示全部楼层
[quote:2811d24414="k8k"][root@localhost ~]# apt-get update
apt-get: error while loading shared libraries: libapt-pkg-libc6.3-6.so.0: cannot open shared object file: No such file or directory
[root@localhost ~]#[/quote]
我的系统是RHAS4,这话是什么意思?
回复

使用道具 举报

 楼主| 发表于 2005-3-8 15:48:04 | 显示全部楼层
没见过这种情况,你安装了那个apt了已经?
回复

使用道具 举报

发表于 2005-3-8 16:14:36 | 显示全部楼层
已经安装
回复

使用道具 举报

发表于 2005-3-8 16:15:10 | 显示全部楼层
[root@localhost ~]# apt-get update
apt-get: error while loading shared libraries: libapt-pkg-libc6.3-6.so.0: cannot open shared object file: No such file or directory
[root@localhost ~]#
回复

使用道具 举报

发表于 2005-3-8 19:45:02 | 显示全部楼层
http://rpmfind.net/linux/RPM/dag/fedora/3/i386/apt-0.5.15cnc6-4.1.fc3.rf.i386.html
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-25 17:19 , Processed in 0.066419 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表