-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
DNF broken after upgrading DNF #123
Comments
Hello @xasx , Please run the upgrade.sh script to solve the issue. Regards, |
Gracias @crramirez, that did it. I am curious: which part of the script is responsible for fixing the issue? |
The part around gpgcheck=0. I don't know exactly what changed but looks like the dnf update is using an unsupported function in the WSL1 kernel. You can see also in the script that the fix only applies to WSL1. We recommend that you always use upgrade.sh instead of dnf update. Because we include fixes and improvement in this script. Happy that this solved your issue. Next week we will release a new image with this fix included. Regards, |
Just found that too, after adding external repos. Thx for your support. |
Hello @xasx , We made a release with this fix built in: https://github.com/WhitewaterFoundry/Fedora-Remix-for-WSL/releases/tag/34.5.6 Regards, |
Describe the bug
After upgrading DNF to the latest version in an existing installation or a completely new installation, DNF is broken and you cannot install any new packages anymore.
To Reproduce
Steps to reproduce the behavior:
dnf upgrade dnf
dnf upgrade
Expected behavior
DNF can be run without any problems to update packages.
Screenshots/logs
The complete console output of a fresh installation with the above sequence of steps is attached here:
dnf-upgrade-dnf.txt
Additional context
quay.io/fedora/fedora:34-x86_64
running in k8s does not have this issueBasic Troubleshooting Checklist
[x] 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.
[x] I have searched the WLinux issues page: https://github.com/WhitewaterFoundry/WLinux/issues.
[x] I have reset WLinux: Settings->Apps->Apps & features->WLinux->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?
rpm --rebuilddb
WLinux Version
34.4.3.0
Windows Build
(de)
Betriebssystemname: Microsoft Windows 10 Pro
Betriebssystemversion: 10.0.19042 Nicht zutreffend Build 19042
Betriebssystemhersteller: Microsoft Corporation
Betriebssystemkonfiguration: Mitglied der Domäne/Arbeitsgruppe
Typ des Betriebssystembuilds: Multiprocessor Free
The text was updated successfully, but these errors were encountered: