Hello,
I am using Centos 6.8 and I am trying to install a package called xmlto. I am unable to download the packages even after cleaning up the yum cache and issuing yum clean all. Below is the snapshot of the command and the error.
[root@localhost etc]# yum install -y xmlto
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
rhelrepos | 4.0 kB 00:00 ...
Resolving Dependencies
--> Running transaction check
---> Package xmlto.i686 0:0.0.23-3.el6 will be installed
--> Processing Dependency: docbook-xsl >= 1.56.0 for package: xmlto-0.0.23-3.el6.i686
--> Processing Dependency: text-www-browser for package: xmlto-0.0.23-3.el6.i686
--> Processing Dependency: flex for package: xmlto-0.0.23-3.el6.i686
--> Running transaction check
---> Package docbook-style-xsl.noarch 0:1.75.2-6.el6 will be installed
---> Package flex.i686 0:2.5.35-9.el6 will be installed
---> Package lynx.i686 0:2.8.6-27.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================================================================================
Installing:
xmlto i686 0.0.23-3.el6 rhelrepos 45 k
Installing for dependencies:
docbook-style-xsl noarch 1.75.2-6.el6 rhelrepos 2.6 M
flex i686 2.5.35-9.el6 rhelrepos 278 k
lynx i686 2.8.6-27.el6 rhelrepos 1.3 M
Transaction Summary
=============================================================================================================================================================================================================================================
Install 4 Package(s)
Total download size: 4.2 M
Installed size: 21 M
Downloading Packages:
Error Downloading Packages:
docbook-style-xsl-1.75.2-6.el6.noarch: failure: Packages/docbook-style-xsl-1.75.2-6.el6.noarch.rpm from rhelrepos: [Errno 256] No more mirrors to try.
flex-2.5.35-9.el6.i686: failure: Packages/flex-2.5.35-9.el6.i686.rpm from rhelrepos: [Errno 256] No more mirrors to try.
xmlto-0.0.23-3.el6.i686: failure: Packages/xmlto-0.0.23-3.el6.i686.rpm from rhelrepos: [Errno 256] No more mirrors to try.
lynx-2.8.6-27.el6.i686: failure: Packages/lynx-2.8.6-27.el6.i686.rpm from rhelrepos: [Errno 256] No more mirrors to try.
Below is the repository file used under /etc/yum.repos.d
[root@localhost yum.repos.d]# cat rhel-source.repo
[rhelrepos]
name=rhel-repository
enabled=1
baseurl=file:///mnt/hgfs/Offer/CentOS-6.8-i386-bin-DVD1/Packages
#baseurl=file:///mnt
gpgcheck=0
#http_caching=packages
[root@localhost yum.repos.d]#
I am not sure about the issue here. It would be great if you could help on this
Regards,
Saikat
Yum Install Problem
Re: Yum Install Problem
That looks like a wrong path - you should point one directory up from that.baseurl=file:///mnt/hgfs/Offer/CentOS-6.8-i386-bin-DVD1/Packages
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Yum Install Problem
Thanks Trevor. It worked. U are a genius