当前位置: 技术问答>linux和unix
关于wine的安装问题,弄了几个星期了,希望大虾指点迷津
来源: 互联网 发布时间:2016-04-15
本文导语: # uname -a Linux localhost.localdomain 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux # cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.2 (Tikanga) # sudo yum install wine Repository base is li...
# uname -a
Linux localhost.localdomain 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.2 (Tikanga)
# sudo yum install wine
Repository base is listed more than once in the configuration
http://119.42.239.213:8000/yum/5Server.U4-x86_64/sources/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: sources. Please verify its path and try again
系统是:rhel 5.2
机器是:x86_64
问题是:不知道如何配置yum源,下载rpm包又有安装不成功。
哪位大虾给个比较详细的解决方案,小弟将感激不尽。。。。。。。。。。。。。
Linux localhost.localdomain 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.2 (Tikanga)
# sudo yum install wine
Repository base is listed more than once in the configuration
http://119.42.239.213:8000/yum/5Server.U4-x86_64/sources/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: sources. Please verify its path and try again
系统是:rhel 5.2
机器是:x86_64
问题是:不知道如何配置yum源,下载rpm包又有安装不成功。
哪位大虾给个比较详细的解决方案,小弟将感激不尽。。。。。。。。。。。。。
|
/etc/yum.repos.d 有配置镜像地址的文件
我用CentOS 4.6,是rhel4.x再编译版本,差别很小,以下截取部分内容:
[root@localhost yum.repos.d]# vi CentOS-Base.repo
# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# 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=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
priority=1
protect=1
我用CentOS 4.6,是rhel4.x再编译版本,差别很小,以下截取部分内容:
[root@localhost yum.repos.d]# vi CentOS-Base.repo
# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# 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=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
priority=1
protect=1
|
安装
rpm -ihv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
然后, yun install wine
rpm -ihv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
然后, yun install wine