-
Notifications
You must be signed in to change notification settings - Fork 698
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tdnf makecache hangs on PhotonOS3 #1530
Comments
It somehow took 4 minutes to make the cache : $ time sudo tdnf makecache
Refreshing metadata for: 'VMware Photon Linux 3.0 (x86_64) Updates'
Refreshing metadata for: 'VMware Photon Extras 3.0 (x86_64)'
Refreshing metadata for: 'VMware Photon Linux 3.0 (x86_64)'
Metadata cache created. 2498249 100%
real 3m58.512s
user 3m52.216s
sys 0m1.616s
$ |
Can you send the content of the repo files in Also, have you checked if network access is acceptable for other applications, or is it just |
Before doing this, you have to update
This might take a while to finish. Then add Then try |
Well yes, I was assuming that Also, if this is an old version, there should be no need to edit the config file to add |
Here is my $ grep skip_md_filelists /etc/yum.repos.d/*.repo
$ sudo tdnf --version
tdnf: 3.1.0
$ |
Now I've just updated it : $ sudo tdnf update tdnf
Upgrading:
tdnf-cli-libs x86_64 3.1.15-2.ph3 photon-updates 70.24k 71928
tdnf x86_64 3.1.15-2.ph3 photon-updates 313.71k 321243
Total installed size: 383.96k 393171
Is this ok [y/N]: y
Downloading:
tdnf-cli-libs 37007 100%
tdnf 123865 100%
Testing transaction
Running transaction
Installing/Updating: tdnf-cli-libs-3.1.15-2.ph3.x86_64
Installing/Updating: tdnf-3.1.15-2.ph3.x86_64
Removing: tdnf-3.1.0-1.ph3.x86_64
Removing: tdnf-cli-libs-3.1.0-1.ph3.x86_64
Complete!
$ The update of the $ grep skip_md_filelists /etc/yum.repos.d/*.repo
$ |
Still have the same problem : $ sudo rm -rf /var/cache/tdnf/
$ time sudo tdnf makecache --refresh
Refreshing metadata for: 'VMware Photon Linux 3.0 (x86_64) Updates'
Refreshing metadata for: 'VMware Photon Extras 3.0 (x86_64)'
Refreshing metadata for: 'VMware Photon Linux 3.0 (x86_64)'
Metadata cache created. 2498249 100%
real 3m38.129s
user 3m31.838s
sys 0m1.610s
$ On another vcenter, the exact same operation takes 1.5s. |
The issue was solved by manually appending the line Thanks a lot guys 👍 |
Describe the bug
tdnf makecache hangs on VMware Photon OS 3.0
Reproduction steps
$ sudo tdnf makecache Refreshing metadata for: 'VMware Photon Linux 3.0 (x86_64) Updates' ^Coton-updates 9558 100% $
Expected behavior
The cache is downloaded.
Additional context
VMware Photon OS 3.0
The text was updated successfully, but these errors were encountered: