Jump to content

Sunpitt

Members
  • Content Count

    3
  • Joined

  • Last visited

Everything posted by Sunpitt

  1. hi... i m able to sove the problem of yum in rhel5 by using EPEL.... first of all download the epel 1. Now in /etc/yum.repos.d i have :: epel.repo epel-testing.repo rhel-debuginfo.repo 2. /etc/yum.conf says:: [main] cachedir=/var/cache/yum keepcache=0 debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=redhat-release tolerant=1 exactarch=1 obsoletes=1 gpgcheck=1 plugins=1 metadata_expire=1800 # PUT YOUR REPOS HERE OR IN separate files named file.repo # in /etc/yum.repos.d [core] name=base mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=os [update] name=updates mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=updates [groups] name=groups baseurl=http://buildsys.fedoraproject.org/buildgroups/rhel5/i386/ [extras] name=epel mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=i386 [local] name=local baseurl=http://buildsys.fedoraproject.org/plague-results/fedora-5-epel/ 3. now the yum is ready .....u can install the package [root@localhost sunilp]# yum -y install wine Loading "installonlyn" plugin Loading "security" plugin Loading "rhnplugin" plugin This system is not registered with RHN. RHN support will be disabled. Setting up Install Process Setting up repositories epel 100% |=========================| 1.1 kB 00:00 core 100% |=========================| 1.1 kB 00:00 ftp://ftp.oss.eznetsols.org/linux/centos/...ata/repomd.xml: [Errno 4] IOError: [Errno ftp error] timed out Trying other mirror. update 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 groups 100% |=========================| 951 B 00:00 local 100% |=========================| 951 B 00:00 Reading repository metadata in from local files Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Downloading header for wine to pack into transaction set. wine-0.9.57-1.el5.i386.rp 100% |=========================| 18 kB 00:03 ---> Package wine.i386 0:0.9.57-1.el5 set to be updated --> Running transaction check --> Processing Dependency: wine-nas = 0.9.57-1.el5 for package: wine --> Processing Dependency: wine-capi = 0.9.57-1.el5 for package: wine --> Processing Dependency: wine-twain = 0.9.57-1.el5 for package: wine --> Processing Dependency: wine-tools = 0.9.57-1.el5 for package: wine --> Processing Dependency: wine-esd = 0.9.57-1.el5 for package: wine --> Processing Dependency: wine-cms = 0.9.57-1.el5 for package: wine --> Processing Dependency: wine-core = 0.9.57-1.el5 for package: wine --> Processing Dependency: wine-ldap = 0.9.57-1.el5 for package: wine --> Processing Dependency: wine-jack = 0.9.57-1.el5 for package: wine --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Downloading header for wine-twain to pack into transaction set. wine-twain-0.9.57-1.el5.i 100% |=========================| 19 kB 00:31 ---> Package wine-twain.i386 0:0.9.57-1.el5 set to be updated ---> Downloading header for wine-cms to pack into transaction set. wine-cms-0.9.57-1.el5.i38 100% |=========================| 19 kB 00:02 ---> Package wine-cms.i386 0:0.9.57-1.el5 set to be updated ---> Downloading header for wine-core to pack into transaction set. wine-core-0.9.57-1.el5.i3 100% |=========================| 80 kB 00:24 ---> Package wine-core.i386 0:0.9.57-1.el5 set to be updated ---> Downloading header for wine-ldap to pack into transaction set. wine-ldap-0.9.57-1.el5.i3 100% |=========================| 19 kB 00:15 ---> Package wine-ldap.i386 0:0.9.57-1.el5 set to be updated ---> Downloading header for wine-jack to pack into transaction set. wine-jack-0.9.57-1.el5.i3 100% |=========================| 0 B 00:58 http://ftp.jaist.ac.jp/pub/Linux/Fedora/ep...1.el5.i386.rpm: [Errno 4] Socket Error: timed out Trying other mirror. wine-jack-0.9.57-1.el5.i3 100% |=========================| 19 kB 00:02 ---> Package wine-jack.i386 0:0.9.57-1.el5 set to be updated ---> Downloading header for wine-nas to pack into transaction set. wine-nas-0.9.57-1.el5.i38 100% |=========================| 18 kB 00:04 ---> Package wine-nas.i386 0:0.9.57-1.el5 set to be updated ---> Downloading header for wine-capi to pack into transaction set. wine-capi-0.9.57-1.el5.i3 100% |=========================| 19 kB 00:01 ---> Package wine-capi.i386 0:0.9.57-1.el5 set to be updated ---> Downloading header for wine-tools to pack into transaction set. http://ftp.riken.jp/Linux/fedora/epel/5/i3...1.el5.i386.rpm: [Errno 12] Timeout: <urlopen error timed out> Trying other mirror. wine-tools-0.9.57-1.el5.i 100% |=========================| 22 kB 00:12 ---> Package wine-tools.i386 0:0.9.57-1.el5 set to be updated ---> Downloading header for wine-esd to pack into transaction set. wine-esd-0.9.57-1.el5.i38 100% |=========================| 0 B 00:36 http://spreader.yandex.net/epel/5/i386/win...1.el5.i386.rpm: [Errno 4] Socket Error: timed out Trying other mirror. wine-esd-0.9.57-1.el5.i38 100% |=========================| 8.0 kB 00:31 http://ftp.yz.yamagata-u.ac.jp/pub/linux/f...1.el5.i386.rpm: [Errno 4] Socket Error: timed out Trying other mirror. wine-esd-0.9.57-1.el5.i38 100% |=========================| 19 kB 00:08 ---> Package wine-esd.i386 0:0.9.57-1.el5 set to be updated --> Running transaction check Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: wine i386 0.9.57-1.el5 epel 19 k Installing for dependencies: wine-capi i386 0.9.57-1.el5 epel 25 k wine-cms i386 0.9.57-1.el5 epel 40 k wine-core i386 0.9.57-1.el5 epel 11 M wine-esd i386 0.9.57-1.el5 epel 35 k wine-jack i386 0.9.57-1.el5 epel 37 k wine-ldap i386 0.9.57-1.el5 epel 87 k wine-nas i386 0.9.57-1.el5 epel 23 k wine-tools i386 0.9.57-1.el5 epel 642 k wine-twain i386 0.9.57-1.el5 epel 48 k Transaction Summary ============================================================================= Install 10 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 12 M Downloading Packages: (1/10): wine-twain-0.9.57 100% |=========================| 48 kB 00:07 (2/10): wine-0.9.57-1.el5 100% |=========================| 19 kB 00:11 (3/10): wine-cms-0.9.57-1 100% |=========================| 40 kB 00:04 (4/10): wine-core-0.9.57- 100% |=========================| 3.7 MB 19:38 http://allotter.yandex.net/epel/5/i386/win...1.el5.i386.rpm: [Errno 4] Socket Error: timed out Trying other mirror. (4/10): wine-core-0.9.57- 100% |=========================| 11 MB 15:09 (5/10): wine-ldap-0.9.57- 100% |=========================| 87 kB 00:09 (6/10): wine-jack-0.9.57- 100% |=========================| 37 kB 00:05 (7/10): wine-nas-0.9.57-1 100% |=========================| 23 kB 00:02 (8/10): wine-capi-0.9.57- 100% |=========================| 25 kB 00:09 (9/10): wine-tools-0.9.57 100% |=========================| 642 kB 01:38 (10/10): wine-esd-0.9.57- 100% |=========================| 35 kB 00:07 warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 217521f6 Importing GPG key 0x217521F6 "Fedora EPEL <epel@fedoraproject.org>" Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: wine-core ####################### [ 1/10] Installing: wine-twain ####################### [ 2/10] Installing: wine-cms ####################### [ 3/10] Installing: wine-ldap ####################### [ 4/10] Installing: wine-jack ####################### [ 5/10] Installing: wine-nas ####################### [ 6/10] Installing: wine-capi ####################### [ 7/10] Installing: wine-tools ####################### [ 8/10] Installing: wine-esd ####################### [ 9/10] Installing: wine ####################### [10/10] Installed: wine.i386 0:0.9.57-1.el5 Dependency Installed: wine-capi.i386 0:0.9.57-1.el5 wine-cms.i386 0:0.9.57-1.el5 wine-core.i386 0:0.9.57-1.el5 wine-esd.i386 0:0.9.57-1.el5 wine-jack.i386 0:0.9.57-1.el5 wine-ldap.i386 0:0.9.57-1.el5 wine-nas.i386 0:0.9.57-1.el5 wine-tools.i386 0:0.9.57-1.el5 wine-twain.i386 0:0.9.57-1.el5 Complete! [root@localhost sunilp]# wine Usage: wine PROGRAM [ARGUMENTS...] Run the specified program wine --help Display this help and exit wine --version Output version information and exit NOW ENJOY........
  2. i have installe rhel5 client version....i did everything as u had said....but still i m facing the problem in yum........ I m providing the following info those could be helpful:: 1. uname -a Linux localhost.localdomain 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:02 EDT 2007 i686 i686 i386 GNU/Linux 2. /etc/yum.conf says:: cachedir=/var/cache/yum keepcache=0 debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=redhat-release tolerant=1 exactarch=1 obsoletes=1 gpgcheck=1 plugins=1 metadata_expire=1800 # PUT YOUR REPOS HERE OR IN separate files named file.repo # in /etc/yum.repos.d [dag] # be sure to import RPM GPG key first! # sudo rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt name=Dag RPM Repository baseurl=http://apt.sw.be/redhat/el5/en/$basearch/dag gpgcheck=1 enabled=1 3. /etc/yum.repos.d/ has only rhel-debuginfo.repo which says:: [rhel-debuginfo] name=Red Hat Enterprise Linux $releasever - $basearch - Debug baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$basearch/Debuginfo/ enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release 4.. I am using the http proxy So before using yum i alwasys type the following : http_proxy = http://<userid>:<pswd>@<ip address>:<port> export http_proxy 5. ERRORS I GOT:: a> [root@localhost sunilp]# sudo rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt error: http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt: import read failed(-1). b> [root@localhost sunilp]# yum -y install amsn Loading "installonlyn" plugin Loading "security" plugin Loading "rhnplugin" plugin This system is not registered with RHN. RHN support will be disabled. Setting up Install Process Setting up repositories dag 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 709 kB 02:26 http://apt.sw.be/redhat/el5/en/i386/dag/re...primary.xml.gz: [Errno -1] Metadata file does not match checksum Trying other mirror. Error: failure: repodata/primary.xml.gz from dag: [Errno 256] No more mirrors to try. So please help me out....
  3. i have installe rhel5 client version....i did everything as u had said....but still i m facing the problem in yum........ I m providing the following info those could be helpful:: 1. uname -a Linux localhost.localdomain 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:02 EDT 2007 i686 i686 i386 GNU/Linux 2. /etc/yum.conf says:: cachedir=/var/cache/yum keepcache=0 debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=redhat-release tolerant=1 exactarch=1 obsoletes=1 gpgcheck=1 plugins=1 metadata_expire=1800 # PUT YOUR REPOS HERE OR IN separate files named file.repo # in /etc/yum.repos.d [dag] # be sure to import RPM GPG key first! # sudo rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt name=Dag RPM Repository baseurl=http://apt.sw.be/redhat/el5/en/$basearch/dag gpgcheck=1 enabled=1 3. /etc/yum.repos.d/ has only rhel-debuginfo.repo which says:: [rhel-debuginfo] name=Red Hat Enterprise Linux $releasever - $basearch - Debug baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$basearch/Debuginfo/ enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release 4.. I am using the http proxy So before using yum i alwasys type the following : http_proxy = http://<userid>:<pswd>@<ip address>:<port> export http_proxy 5. ERRORS I GOT:: a> [root@localhost sunilp]# sudo rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt error: http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt: import read failed(-1). b> [root@localhost sunilp]# yum -y install amsn Loading "installonlyn" plugin Loading "security" plugin Loading "rhnplugin" plugin This system is not registered with RHN. RHN support will be disabled. Setting up Install Process Setting up repositories dag 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 709 kB 02:26 http://apt.sw.be/redhat/el5/en/i386/dag/re...primary.xml.gz: [Errno -1] Metadata file does not match checksum Trying other mirror. Error: failure: repodata/primary.xml.gz from dag: [Errno 256] No more mirrors to try. So please help me out....
×
×
  • Create New...