Open synaptis opened 5 years ago
I have also tried the following fixes for this issue:
At that point I felt it was being unreasonable. In issue #4 it was mentioned that multiple runs of the command may get it to work. So...
for i in $(seq 1 30); do dnf makecache; done
dnf seems to be working now.
Hi guys, Im also experiencing the same issue, but looping it doesnt help at all for me.
Has anyone else got any ideas?
Trying to remove /var/cache/dnf blue-screened my computer. I've done all the other things mentioned above to no avail. Is there no more progress on this issue?
It worked for me with the lastest update and Windows 1903:
Fedora Modular 31 - x86_64 2.8 MB/s | 5.2 MB 00:01
Fedora Modular 31 - x86_64 - Updates 2.2 MB/s | 3.1 MB 00:01
Fedora 31 - x86_64 - Updates 5.0 MB/s | 11 MB 00:02
Fedora 31 - x86_64 7.1 MB/s | 71 MB 00:10
whitewaterfoundry_wslu 258 B/s | 833 B 00:03
whitewaterfoundry_wslu 4.3 kB/s | 3.9 kB 00:00
Importing GPG key 0x10735619:
Userid : "https://packagecloud.io/whitewaterfoundry/wslu (https://packagecloud.io/docs#gpg_signing) <support@packagecloud.io>"
Fingerprint: 90F6 8549 4B52 C0E9 6DA4 B925 0087 4F17 1073 5619
From : https://packagecloud.io/whitewaterfoundry/wslu/gpgkey
Is this ok [y/N]: y
whitewaterfoundry_wslu 363 B/s | 1.4 kB 00:03
Metadata cache created.
What fedora version are you running? Also what Windows version? Many things have been improved since Windows 1903
Regards
The current Fedora Remix is F29
Use this guide to upgrade to fedora 30:
https://github.com/WhitewaterFoundry/Fedora-Remix-for-WSL/issues/48#issuecomment-540124004
One thing try to upgrade your Windows version. Windows 1803 has some problems like these that were corrected in 1809
Unfortunately I have no authority to upgrade my version of windows -- that is control by the corporate IT group. I've asked about being an early-adopter, so I'm stuck with what I have for now. That being said, I followed the instructions in #48, and when I attempt to "sudo dnf upgrade dnf" after removing the .rpm.lock file, I blue-screened. Any other command I attempt to run I get the permission denied error. I've double checked the ownership and permissions for the whole /var/cache directory tree, and root has sufficient privileges.
[user@host ~]$ sudo dnf upgrade --refresh rpm glibc
Fedora 30 - x86_64 - Updates 2.2 MB/s | 26 MB 00:11
Cannot rename directory "/var/cache/dnf/updates-d6521d96a82a4d6a/tmpdir.Ohf1Dg/repodata" to "/var/cache/dnf/updates-d6521d96a82a4d6a/repodata": Permission denied
Error: Cannot rename directory "/var/cache/dnf/updates-d6521d96a82a4d6a/tmpdir.Ohf1Dg/repodata" to "/var/cache/dnf/updates-d6521d96a82a4d6a/repodata": Permission denied
"blue-screened" is that you see a Windows blue screen? So, your entire system crash?
Yes. The ":(" sad face and the QR code -- the Windows 10 version of the BSOD (Blue Screen of Death)
Do the users experiencing this error have any particular endpoint management software installed, like Sophos? Some of these can interfere with cryptographic functions, potentially hashing done by dnf.
Well, I repeated the tests in Windows 1803 with the package in the releases section and it works. So, check the @sirredbeard suggestion
I'm not sure about Sophos, but I know we have Cylance installed -- if that's the cause, is there a future windows update (post 1803) that resolves this, or will it likely never work? As I mentioned I have no control over what's running on this PC (work computer) but if WSL isn't something that I can count on in the future, I'll pivot and start looking for another solution. Thanks all!
hello
please hellp me :
yum update -y Docker Repository 0.0 B/s | 0 B 00:00 Error: Failed to download metadata for repo 'dockerrepo': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
====== cPanel Package Upgrades in Progress...
checkyum version 22.3 (excludes: bind-chroot)
All Needed Packages are already installed.
checkyum version 22.3 (excludes: bind-chroot)
Docker Repository 0.0 B/s | 0 B 00:00
Error: Failed to download metadata for repo 'dockerrepo': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
(XID fs24nc) “/usr/bin/yum” reported error code “1” when it ended:
Describe the bug This looks very similar to issue #4 "dnf makecache" fails with a permissions error:
Subsequent runs of "dnf makecache" may get the process to progress but I have not had it complete successfully.
The directory dnf is complaining about not being able to rename does not exist. Manually adding it does not help.
To Reproduce Steps to reproduce the behavior:
Expected behavior DNF successfully builds it's cache and I can then install additional software.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context I have paid for Fedora Remix for WSL but am using the sideload versions due to restrictions on Microsoft Store at my workplace.
Basic Troubleshooting Checklist
[ ] I have searched Google for the error message. [ ] I have checked official WSL troubleshooting documentation: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#confirm-wsl-is-enabled. [ ] I have searched the official Microsoft WSL issues page: https://github.com/Microsoft/WSL/issues. [ ] I have searched the Fedora Remix for WSL issues page: https://github.com/WhitewaterFoundry/WLinux/issues. [ ] I have reset WLinux: Settings->Apps->Apps & features->Fedora Remix for WSL->Advanced Options->Reset. [ ] I have disabled and re-enabled WSL in Windows Features. [ * ] I have run Windows 10 updates and restarted.
What other troubleshooting have you attempted?
Uninstall/reinstall. Uninstall v1.0.28 and install v1.0.26. Manually creating directories dnf is complaining about.
WLinux Version
1.0.28.0
Windows Build
OS Name: Microsoft Windows 10 Education OS Version: 10.0.17134 N/A Build 17134 OS Manufacturer: Microsoft Corporation OS Configuration: Member Workstation OS Build Type: Multiprocessor Free BIOS Version: American Megatrends Inc. 9901, 25/06/2014