Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2286
  • Last Modified:

Updating centos with yum problem

Hi x-perts,

I am making my first steps with centos... When running yum update, it returns a whole bunch of applications to be updated and after pressing Y to downl;oad these packages, it returns

http://centos.mirror....... etc etc Package does not match intended download

trying other mirror

Error downloading Packages [Errno 2 56]

What am I doing wrong?

also, can I update Only the selected packages, but not all?

Thank you
0
andy7789
Asked:
andy7789
1 Solution
 
chingmdCommented:
Here's a pretty good how to on yum usage.

It sounds like the mirror that your machine is hitting is out of date with the repos information.
try  yum check-update

If that fails too, then there are other issues to resolve first.

Make sure you have dns lookup information working.  
0
 
cjl7Commented:
Hi,

Do a 'yum clean all' and then try the command again.
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now