directadmin 服务器yum update提示库问题解决

常见提示如下:
Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
keyutils-libs-devel is needed by krb5-devel-1.10.3-10.el6_4.6.x86_64
libselinux-devel is needed by krb5-devel-1.10.3-10.el6_4.6.x86_64
** Found 12 pre-existing rpmdb problem(s), ‘yum check’ output follows:
e2fsprogs-devel-1.41.12-3.el6.x86_64 has missing requires of e2fsprogs-libs = (’0′, ’1.41.12′, ’3.el6′)
krb5-devel-1.8.2-3.el6.x86_64 has missing requires of keyutils-libs-devel
krb5-devel-1.8.2-3.el6.x86_64 has missing requires of libselinux-devel
krb5-workstation-1.10.3-10.el6_4.6.x86_64 has missing requires of krb5-libs = (’0′, ’1.10.3′, ’10.el6_4.6′)
krb5-workstation-1.10.3-10.el6_4.6.x86_64 has missing requires of libkadm5clnt_mit.so.8()(64bit)
krb5-workstation-1.10.3-10.el6_4.6.x86_64 has missing requires of libkadm5clnt_mit.so.8(kadm5clnt_mit_8_MIT)(64bit)
krb5-workstation-1.10.3-10.el6_4.6.x86_64 has missing requires of libkadm5srv_mit.so.8()(64bit)
krb5-workstation-1.10.3-10.el6_4.6.x86_64 has missing requires of libkadm5srv_mit.so.8(kadm5srv_mit_8_MIT)(64bit)
krb5-workstation-1.10.3-10.el6_4.6.x86_64 has missing requires of libkdb5.so.6()(64bit)
krb5-workstation-1.10.3-10.el6_4.6.x86_64 has missing requires of libkdb5.so.6(kdb5_6_MIT)(64bit)
samba4-libs-4.0.0-55.el6.rc4.x86_64 has missing requires of krb5-libs >= (’0′, ’1.10′, None)
sssd-1.9.2-82.10.el6_4.x86_64 has missing requires of krb5-libs(x86-64) >= (’0′, ’1.10′, None)
Your transaction was saved, rerun it with: yum load-transaction /tmp/yum_save_tx-2013-11-02-16-00S_5wtN.yumtx
执行
yum install e2fsprogs-libs e2fsprogs e2fsprogs-devel keyutils-libs-devel libselinux-devel

如果提示源里面没有就更换为官方源
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever – Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#released updates
[updates]
name=CentOS-$releasever – Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#additional packages that may be useful
[extras]
name=CentOS-$releasever – Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever – Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#contrib – packages by Centos Users
[contrib]
name=CentOS-$releasever – Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

yum clean all
rm -f /var/lib/rpm/__db*
rpm –rebuilddb
yum update

此答案有用么?

 打印

建议阅读

win2003 vps IIS被挂马如何解决?

一台WIN2003 VPS 服务器 几乎所有网站打开网页 甚至HTML网页 都出现了 <iframe src="http://xxxdfsfd/web.htm" height=0...

N点虚拟主机管理系统重置管理员密码方法

1、远程到服务器上,打开N点的程序目录,如D:\Program Files\NpointSoft\npointhost1.9.6\web。再双击打开admin目录,手工新建一个文件,如...

怎样修改SQLServer2000数据库中sa密码

我们知道在用到SQLServer2000个人版数据库客户端,在安装这个客户端时,需要输入sa的密码,虽然该密码可以保持为空,但是我们不推荐。有客户自己设置了sa的登录密码,只是时间一久,有时涉及...

linux vps LVM扩容教程

Linux VPS下挂载磁盘有两种模式:1.将空闲磁盘空间挂载为LVM格式。2.将空闲磁盘挂载为ext3...

CentOS(Linux)中添加单个IP和批量添加多个IP地方法

一、添加单个IP地址:在/etc/sysconfig/network-scripts/中新建文件ifcfg-eth0:*,*为数字序号,多个IP则依次增大以0为例,建立文件ifcfg-eth0:...

Powered by WHMCompleteSolution