Redhat没有注册时yum安装的错误解决
2014-10-02 13:38
387 查看
在Redhat用yum安装的时候,如果是redhat没有注册可能会碰到如下错误
Loading "rhnplugin" plugin
Loading "security" plugin
Loading "installonlyn" plugin
This system is not registered with RHN.
RHN support will be disabled.
Existing lock /var/run/yum.pid: another copy is running. Aborting.
解决方法是修改yum源为centos的yum源
进入/etc/yum.repos.d/目录,首先备份原来的yum repository文件
mv rhel-debuginfo.repo rhel-debuginfo.repo.bak
下载centos的yum源文件
wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo
即可在此目录下得到CentOS-Base.repo文件,这是centos的源文件,然后测试看看yum是否可以使用了,
如果还是不可以的话,只需将其重命名为rhel-debuginfo.repo即可。
yum -y install kmod-drbd83 drbd83
Loading "rhnplugin" plugin
Loading "security" plugin
Loading "installonlyn" plugin
This system is not registered with RHN.
RHN support will be disabled.
Existing lock /var/run/yum.pid: another copy is running. Aborting.
解决方法是修改yum源为centos的yum源
进入/etc/yum.repos.d/目录,首先备份原来的yum repository文件
mv rhel-debuginfo.repo rhel-debuginfo.repo.bak
下载centos的yum源文件
wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo
即可在此目录下得到CentOS-Base.repo文件,这是centos的源文件,然后测试看看yum是否可以使用了,
如果还是不可以的话,只需将其重命名为rhel-debuginfo.repo即可。
yum -y install kmod-drbd83 drbd83
相关文章推荐
- 解决RedHat 5 yum安装错误
- 安装后运行CorelDRAW12 错误提示“未能创建DOM文件 没有注册类别 请校验MSXML4的安装”的解决方法
- redhat7.2解决yum安装 mysql-server没有可用包的问题
- 参照的汇编没有安装在系统上错误导致ocx注册失败的解决方法
- yum安装软件时提示没有注册RHN解决办法
- 用vmware安装redhat 9出现“光盘无法被挂载”错误的解决办法
- “在应用程序级别之外使用注册为 allowDefinition=’MachineToApplication’ 的节是错误的。如果在 IIS 中没有将虚拟目录配置为应用程序,则可能导致此错误”的解决方法。
- 【共享】解决“无法显示进程。没有正确安装调试器。请运行安装程序安装或修复调试器。”错误的方法。
- 完美解决IIS 服务器无法加载应用程序 '/LM/W3SVC/1/ROOT'。错误是 '没有注册类别
- 错误类型:(0x8002801D)库没有注册解决办法
- 解决yum/rpm安装时出现的“error: install: %pre scriptlet failed”类似错误
- Oracle OLE DB驱动无法安装,注册出现错误,解决方法!
- redhat安装pure-ftpd+mysql时出现libmysqlclient错误的解决办法
- “在应用程序级别之外使用注册为 allowDefinition=’MachineToApplication’ 的节是错误的。如果在 IIS 中没有将虚拟目录配置为应用程序,则可能导致此错误”的解决方法。
- Visual Studio .NET中“本地WEB服务器上没有安装所需的组件”错误解决方法
- 解决没有并口的计算机安装用友的错误提示
- 关于asp.net[没有相关的源行]错误的解决方法及IIS安装问题
- 完美解决IIS 服务器无法加载应用程序 '/LM/W3SVC/1/ROOT'。错误是 '没有注册类别
- 安装SQL Server2005时,出现“对性能监视器计数器注册表值执行系统配置检查失败”的错误,如何解决?
- 完美解决IIS 服务器无法加载应用程序 '/LM/W3SVC/1/ROOT'。错误是 '没有注册类别