Solved yum http error 416

If you use Fedora, CentOS or Redhat and when you need to update or install package via yum package manager and have “HTTP Error 416” error like this

http://mirrors.issp.co.th/fedora/updates/12/i386/repodata/332f778c0968cee2d11ceb9eeb75b3662970a986258ded1c198b40bfecc49c17-primary.sqlite.bz2: [Errno 14] HTTP Error 416 : http://mirrors.issp.co.th/fedora/updates/12/i386/repodata/332f778c0968cee2d11ceb9eeb75b3662970a986258ded1c198b40bfecc49c17-primary.sqlite.bz2
Trying other mirror.
http://ftp.riken.jp/Linux/fedora/updates/12/i386/repodata/332f778c0968cee2d11ceb9eeb75b3662970a986258ded1c198b40bfecc49c17-primary.sqlite.bz2: [Errno 14] HTTP Error 416 : http://ftp.riken.jp/Linux/fedora/updates/12/i386/repodata/332f778c0968cee2d11ceb9eeb75b3662970a986258ded1c198b40bfecc49c17-primary.sqlite.bz2
Trying other mirror.
http://ftp.tsukuba.wide.ad.jp/Linux/fedora/linux/updates/12/i386/repodata/332f778c0968cee2d11ceb9eeb75b3662970a986258ded1c198b40bfecc49c17-primary.sqlite.bz2: [Errno 14] HTTP Error 416 : http://ftp.tsukuba.wide.ad.jp/Linux/fedora/linux/updates/12/i386/repodata/332f778c0968cee2d11ceb9eeb75b3662970a986258ded1c198b40bfecc49c17-primary.sqlite.bz2
Trying other mirror.

This command will help you

#yum clean all

and update repository again

#yum update

ball Written by:

Teerapat Khunpech Live, Tech, Beers, Bike, Cafe Racer, Docker, Devops, Eco-System