Comments (13)
I have also tried the following fixes for this issue:
- chmod 777 /var/cache/dnf
- setuid on /var/cache/dnf
- setgid on /var/cache/dnf
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.
from fedora-remix-for-wsl.
Hi guys,
Im also experiencing the same issue, but looping it doesnt help at all for me.
Has anyone else got any ideas?
from fedora-remix-for-wsl.
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?
from fedora-remix-for-wsl.
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) <[email protected]>"
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
from fedora-remix-for-wsl.
The current Fedora Remix is F29
from fedora-remix-for-wsl.
Use this guide to upgrade to fedora 30:
One thing try to upgrade your Windows version. Windows 1803 has some problems like these that were corrected in 1809
from fedora-remix-for-wsl.
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
from fedora-remix-for-wsl.
"blue-screened" is that you see a Windows blue screen? So, your entire system crash?
from fedora-remix-for-wsl.
Yes. The ":(" sad face and the QR code -- the Windows 10 version of the BSOD (Blue Screen of Death)
from fedora-remix-for-wsl.
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.
from fedora-remix-for-wsl.
Well, I repeated the tests in Windows 1803 with the package in the releases section and it works. So, check the @sirredbeard suggestion
from fedora-remix-for-wsl.
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!
from fedora-remix-for-wsl.
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:
from fedora-remix-for-wsl.
Related Issues (20)
- possible bug in upgrade.sh ? HOT 1
- Misleading error message on reinstalling same(?) version
- Reinstalling does not reinstall HOT 1
- SystemD not in github-downloaded AppBundle? HOT 4
- bash: /mnt/c/WINDOWS/system32/wsl.exe: Permission denied HOT 1
- Port arm64 fedora using WSA backend HOT 4
- Using fish shell breaks ssh ProxyJump HOT 3
- Document Fedora distro version upgrade process HOT 3
- wsl: Nested virtualization is not supported on this machine. HOT 5
- system provided julia 1.9.0-rc2 segmentation fault on fedoraremix 38 HOT 11
- version `GLIBC_2.36' not found HOT 4
- Fedora 39 release HOT 3
- remove custom background HOT 1
- about ${HOME}/.wslconfig error HOT 1
- mesa broken HOT 14
- after latest mesa update rendering is software only HOT 3
- Fedora 39 Prompt defaulting to `-bash-5.2#` -> `\s-\v\$` HOT 3
- dnf fails with ssl error HOT 4
- Initial user creation fail because of password missmatch create another user with uid 1001. HOT 1
- README badge broken HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fedora-remix-for-wsl.