Giter Club home page Giter Club logo

Comments (13)

synaptis avatar synaptis commented on May 29, 2024 4

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.

UnicodeTreason avatar UnicodeTreason commented on May 29, 2024

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.

tim-sebring avatar tim-sebring commented on May 29, 2024

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.

crramirez avatar crramirez commented on May 29, 2024

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.

tim-sebring avatar tim-sebring commented on May 29, 2024

The current Fedora Remix is F29

from fedora-remix-for-wsl.

crramirez avatar crramirez commented on May 29, 2024

Use this guide to upgrade to fedora 30:

#48 (comment)

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.

tim-sebring avatar tim-sebring commented on May 29, 2024

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.

crramirez avatar crramirez commented on May 29, 2024

"blue-screened" is that you see a Windows blue screen? So, your entire system crash?

from fedora-remix-for-wsl.

tim-sebring avatar tim-sebring commented on May 29, 2024

Yes. The ":(" sad face and the QR code -- the Windows 10 version of the BSOD (Blue Screen of Death)

from fedora-remix-for-wsl.

sirredbeard avatar sirredbeard commented on May 29, 2024

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.

crramirez avatar crramirez commented on May 29, 2024

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.

tim-sebring avatar tim-sebring commented on May 29, 2024

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.

hehgti avatar hehgti commented on May 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.