yum/dnf update hangs at 99% for all repo sources

Issues related to applications and software problems and general support
user132413242
Posts: 11
Joined: 2020/05/28 19:08:25

Re: yum/dnf update hangs at 99% for all repo sources

Post by user132413242 » 2020/05/29 13:27:30

For the fourth time, I'm 100% aware that yum = dnf. Let's make sure that's understood. If you'd like to explain it again just to be sure, go ahead.

user132413242
Posts: 11
Joined: 2020/05/28 19:08:25

Re: yum/dnf update hangs at 99% for all repo sources

Post by user132413242 » 2020/05/29 13:40:24

The network connection speed is fine. During the download, it showed a speed of 3-5 MB/s; a test of the bandwidth was around 4.

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

Re: yum/dnf update hangs at 99% for all repo sources

Post by TrevorH » 2020/05/29 15:25:29

Are you behind a web proxy of some sort? Perhaps your ISP uses one without you knowing?

Can you use e.g curl http://mirror.centos.org/centos/8/AppSt ... es.yaml.gz -o to retrieve the file it's complaining about?
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

user132413242
Posts: 11
Joined: 2020/05/28 19:08:25

Re: yum/dnf update hangs at 99% for all repo sources

Post by user132413242 » 2020/05/29 15:44:53

TrevorH wrote:
2020/05/29 15:25:29
Are you behind a web proxy of some sort? Perhaps your ISP uses one without you knowing?

Can you use e.g curl http://mirror.centos.org/centos/8/AppSt ... es.yaml.gz -o to retrieve the file it's complaining about?
I did try curling it; the behavior is similar. It seems to successfully download most of the file then just hangs an eventually times out.

user132413242
Posts: 11
Joined: 2020/05/28 19:08:25

Re: yum/dnf update hangs at 99% for all repo sources

Post by user132413242 » 2020/05/29 16:04:26

We've found this was a Cisco FirePower rule blocking this erroneously. Thanks for looking anyway.

bmorse
Posts: 1
Joined: 2020/06/26 11:28:38

Re: yum/dnf update hangs at 99% for all repo sources

Post by bmorse » 2020/06/26 11:29:42

user132413242 wrote:
2020/05/29 16:04:26
We've found this was a Cisco FirePower rule blocking this erroneously. Thanks for looking anyway.
Would you mind posting which rule it is. I am having the same issue and have Firepower firewalls.

Thank you

cschwieterman
Posts: 1
Joined: 2020/08/11 20:43:10

Re: yum/dnf update hangs at 99% for all repo sources

Post by cschwieterman » 2020/08/11 20:46:42

bmorse wrote:
2020/06/26 11:29:42
Would you mind posting which rule it is. I am having the same issue and have Firepower firewalls.
Just ran into this today as well. It's a result of the following bug: https://quickview.cloudapps.cisco.com/q ... CSCva10734

samwichse
Posts: 3
Joined: 2019/10/08 14:29:42

Re: yum/dnf update hangs at 99% for all repo sources

Post by samwichse » 2020/08/28 14:02:08

Thank you for linking that!

I've got a test system that suddenly 2 months ago wasn't able to receive updates. I thought it was a transient problem, but then I powered it up yesterday and it STILL couldn't. I exhausted everything I could think of locally with dnf and finally wiped the system and started fresh thinking there must've been something and it STILL wouldn't work.

Turns out it was the Cisco bug linked above. CentOS-8 - AppStream was hanging at 99% every time.

Strangely CentOS 7 and Fedora 32 machines on the same network worked fine through that period, but now they're failing too.

EDIT: elrepo is the only one hanging on CentOS 7, Fedora it's the repo for some proprietary software.

Post Reply