CentOS7 yum update error bash

General support questions
Post Reply
yhmoon
Posts: 3
Joined: 2022/06/17 01:43:13

CentOS7 yum update error bash

Post by yhmoon » 2022/06/17 02:06:06

Hello all...
i have a problem when i do a yum update on centos 7.
It seems that only the bash package is not updated.
i get an error like this:

[root@97cc35743c28 ~]# yum update -y bash
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
* base: mirror.kakao.com
* extras: mirror.kakao.com
* updates: mirror.kakao.com
Resolving Dependencies
--> Running transaction check
---> Package bash.x86_64 0:4.2.46-34.el7 will be updated
---> Package bash.x86_64 0:4.2.46-35.el7_9 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================================================================================================================================
Package Arch Version Repository Size
==========================================================================================================================================================================================================
Updating:
bash x86_64 4.2.46-35.el7_9 updates 1.0 M

Transaction Summary
==========================================================================================================================================================================================================
Upgrade 1 Package

Total download size: 1.0 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
bash-4.2.46-35.el7_9.x86_64.rp FAILED
http://mirror.kakao.com/centos/7.9.2009 ... x86_64.rpm: [Errno 14] curl#52 - "Empty reply from server" ] 0.0 B/s | 0 B --:--:-- ETA
Trying other mirror.
bash-4.2.46-35.el7_9.x86_64.rp FAILED
http://ftp.kaist.ac.kr/CentOS/7.9.2009/ ... x86_64.rpm: [Errno 14] curl#52 - "Empty reply from server" ] 0.0 B/s | 0 B --:--:-- ETA
Trying other mirror.
bash-4.2.46-35.el7_9.x86_64.rp FAILED
http://mirror.anigil.com/CentOS/7.9.200 ... x86_64.rpm: [Errno 14] curl#52 - "Empty reply from server" ] 0.0 B/s | 0 B --:--:-- ETA
Trying other mirror.
bash-4.2.46-35.el7_9.x86_64.rp FAILED
http://ftp-srv2.kddilabs.jp/Linux/packa ... x86_64.rpm: [Errno 14] curl#52 - "Empty reply from server" ] 0.0 B/s | 0 B --:--:-- ETA
Trying other mirror.
bash-4.2.46-35.el7_9.x86_64.rp FAILED
http://ftp.riken.jp/Linux/centos/7.9.20 ... x86_64.rpm: [Errno 14] curl#52 - "Empty reply from server" ] 0.0 B/s | 0 B --:--:-- ETA
Trying other mirror.
bash-4.2.46-35.el7_9.x86_64.rp FAILED
http://ftp.iij.ad.jp/pub/linux/centos/7 ... x86_64.rpm: [Errno 14] curl#52 - "Empty reply from server" ] 0.0 B/s | 0 B --:--:-- ETA
Trying other mirror.
bash-4.2.46-35.el7_9.x86_64.rp FAILED
http://mirror.navercorp.com/centos/7.9. ... x86_64.rpm: [Errno 14] curl#52 - "Empty reply from server" ] 0.0 B/s | 0 B --:--:-- ETA
Trying other mirror.
bash-4.2.46-35.el7_9.x86_64.rp FAILED
http://ftp.jaist.ac.jp/pub/Linux/CentOS ... x86_64.rpm: [Errno 14] curl#52 - "Empty reply from server" ] 0.0 B/s | 0 B --:--:-- ETA
Trying other mirror.
bash-4.2.46-35.el7_9.x86_64.rp FAILED
http://mirrors.cat.net/centos/7.9.2009/ ... x86_64.rpm: [Errno 14] curl#52 - "Empty reply from server" ] 0.0 B/s | 0 B --:--:-- ETA
Trying other mirror.
bash-4.2.46-35.el7_9.x86_64.rp FAILED
http://ftp.nara.wide.ad.jp/pub/Linux/ce ... x86_64.rpm: [Errno 14] curl#52 - "Empty reply from server" ] 0.0 B/s | 0 B --:--:-- ETA
Trying other mirror.


Error downloading packages:
bash-4.2.46-35.el7_9.x86_64: [Errno 256] No more mirrors to try.

is there someone who can help me about this error, Thanks

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

Re: CentOS7 yum update error bash

Post by TrevorH » 2022/06/17 08:29:59

Looking at that lot, I'd say you have a network problem. Perhaps you are behind some sort of web proxy and have to put the required credentials into /etc/yum.conf?
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

yhmoon
Posts: 3
Joined: 2022/06/17 01:43:13

Re: CentOS7 yum update error bash

Post by yhmoon » 2022/06/20 00:10:21

Hello TrevorH !
Thank you for your help.

If it is a network problem, I think other packages should not be executed.
I'm confused if I'm the only one who's not approaching :o
I tried executing curl command on other packages for comparison.

curl http://mirror.centos.org/centos-7/7.9.2 ... x86_64.rpm
Warning: Binary output can mess up your terminal. Use "--output -" to tell
Warning: curl to output it to your terminal anyway, or consider "--output
Warning: <FILE>" to save to a file.

curl http://mirror.centos.org/centos-7/7.9.2 ... x86_64.rpm
curl: (56) Recv failure: Connection was aborted

Thanks

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

Re: CentOS7 yum update error bash

Post by TrevorH » 2022/06/20 08:51:14

It's only you.
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

yhmoon
Posts: 3
Joined: 2022/06/17 01:43:13

Re: CentOS7 yum update error bash

Post by yhmoon » 2022/06/28 08:37:43

Hello TrevorH !
Sorry for the delay in the update.

It was kind of a firewall problem, as you said. I checked that the package was downloaded through another PC.

Thank you again for your help!

Thanks

jsalma21
Posts: 2
Joined: 2022/07/08 05:18:50

Re: CentOS7 yum update error bash

Post by jsalma21 » 2022/07/08 06:11:37

Hi ,

I think your firewall is blocking the repositories you are connecting. You can manually download the files and install it to your server

Post Reply