Yum Update Issue

Issues related to applications and software problems
Post Reply
amolkarekar
Posts: 2
Joined: 2018/04/25 14:15:28

Yum Update Issue

Post by amolkarekar » 2018/04/26 07:57:31

Hi, I Have CentOs 6.7 and currently facing issues while doing Yum Update

Already tried following commands but it didn't work. Also it gives error while Yum install

yum clean all

yum --enablerepo=base clean metadata


following are the error messages

Transaction Summary
==============================================================================================================================================
Install 10 Package(s)
Upgrade 352 Package(s)

Total size: 399 M
Total download size: 11 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): mesa-dri-drivers-11.0.7-4.el6.x86_64.rpm | 4.1 MB 00:04
http://mirror.centos.org/centos/6/os/x8 ... x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
(1/2): mesa-dri-drivers-11.0.7-4.el6.x86_64.rpm | 1.9 kB 00:00
http://mirror.dhakacom.com/centos/6.9/o ... x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
(1/2): mesa-dri-drivers-11.0.7-4.el6.x86_64.rpm | 3.9 kB 00:00
http://mirror.vbctv.in/centos/6.9/os/x8 ... x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
(1/2): mesa-dri-drivers-11.0.7-4.el6.x86_64.rpm | 5.8 kB 00:00
http://mirror.xeonbd.com/centos/6.9/os/ ... x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
(1/2): mesa-dri-drivers-11.0.7-4.el6.x86_64.rpm | 7.8 kB 00:00
http://mirrors.nhanhoa.com/centos/6.9/o ... x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
(1/2): mesa-dri-drivers-11.0.7-4.el6.x86_64.rpm | 9.7 kB 00:00
http://centos-hn.viettelidc.com.vn/6.9/ ... x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
(1/2): mesa-dri-drivers-11.0.7-4.el6.x86_64.rpm | 12 kB 00:00
http://centos.excellmedia.net/6.9/os/x8 ... x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
(1/2): mesa-dri-drivers-11.0.7-4.el6.x86_64.rpm | 14 kB 00:00
http://centos.mirror.net.in/centos/6.9/ ... x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
(1/2): mesa-dri-drivers-11.0.7-4.el6.x86_64.rpm | 16 kB 00:00
http://centos.myfahim.com/centos/6.9/os ... x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
(1/2): mesa-dri-drivers-11.0.7-4.el6.x86_64.rpm | 17 kB 00:00
http://del-mirrors.extreme-ix.org/cento ... x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
(1/2): mesa-dri-drivers-11.0.7-4.el6.x86_64.rpm | 19 kB 00:00
http://ftp.iitm.ac.in/centos/6.9/os/x86 ... x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
(2/2): mesa-private-llvm-3.6.2-1.el6.x86_64.rpm | 6.5 MB 00:03
http://mirror.centos.org/centos/6/os/x8 ... x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
(2/2): mesa-private-llvm-3.6.2-1.el6.x86_64.rpm | 1.9 kB 00:00
http://mirror.dhakacom.com/centos/6.9/o ... x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
(2/2): mesa-private-llvm-3.6.2-1.el6.x86_64.rpm | 3.9 kB 00:00
http://mirror.vbctv.in/centos/6.9/os/x8 ... x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
(2/2): mesa-private-llvm-3.6.2-1.el6.x86_64.rpm | 5.8 kB 00:00
http://mirror.xeonbd.com/centos/6.9/os/ ... x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
(2/2): mesa-private-llvm-3.6.2-1.el6.x86_64.rpm | 7.8 kB 00:00
http://mirrors.nhanhoa.com/centos/6.9/o ... x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
(2/2): mesa-private-llvm-3.6.2-1.el6.x86_64.rpm | 9.7 kB 00:00
http://centos-hn.viettelidc.com.vn/6.9/ ... x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
(2/2): mesa-private-llvm-3.6.2-1.el6.x86_64.rpm | 12 kB 00:00
http://centos.excellmedia.net/6.9/os/x8 ... x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
(2/2): mesa-private-llvm-3.6.2-1.el6.x86_64.rpm | 14 kB 00:00
http://centos.mirror.net.in/centos/6.9/ ... x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
(2/2): mesa-private-llvm-3.6.2-1.el6.x86_64.rpm | 16 kB 00:00
http://centos.myfahim.com/centos/6.9/os ... x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
(2/2): mesa-private-llvm-3.6.2-1.el6.x86_64.rpm | 17 kB 00:00
http://del-mirrors.extreme-ix.org/cento ... x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.
(2/2): mesa-private-llvm-3.6.2-1.el6.x86_64.rpm | 19 kB 00:00
http://ftp.iitm.ac.in/centos/6.9/os/x86 ... x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=base clean metadata
Trying other mirror.

Error Downloading Packages:
mesa-dri-drivers-11.0.7-4.el6.x86_64: failure: Packages/mesa-dri-drivers-11.0.7-4.el6.x86_64.rpm from base: [Errno 256] No more mirrors to try.
mesa-private-llvm-3.6.2-1.el6.x86_64: failure: Packages/mesa-private-llvm-3.6.2-1.el6.x86_64.rpm from base: [Errno 256] No more mirrors to try.

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Yum Update Issue

Post by TrevorH » 2018/04/26 10:49:49

Try yum clean all

Are you behind a web proxy of any sort?
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

amolkarekar
Posts: 2
Joined: 2018/04/25 14:15:28

Re: Yum Update Issue

Post by amolkarekar » 2018/04/26 11:09:57

Thanks for the response

already tried yum clean all as well as yum --enablerepo=base clean metadata

regarding proxy, yes I am using http proxy

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Yum Update Issue

Post by TrevorH » 2018/04/26 11:36:31

Then it sounds like a proxy problem. Try adding the various options for http_caching= in yum.conf to bypass the problem, start with 'packages' and then move onto the stronger options listed in the man pages if that fails.
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

Post Reply