Comments (4)
update-crypto-policies --set DEFAULT:SHA1
fix the problem temporarily but the problem persists when you need to import another key.
from centos-wsl.
Are you using WSL version 1? You can always run DNF with the --nogpgcheck
parameter to skip GPG key checks.
Also, you can try the solutions described in:
- WhitewaterFoundry/Fedora-Remix-for-WSL#46
- WhitewaterFoundry/Fedora-Remix-for-WSL#47
- WhitewaterFoundry/Fedora-Remix-for-WSL#123
from centos-wsl.
switch to wsl 2 fixes the issue, but for wsl 1 aforementioned "solution" doesn't really seem to do anything since I can sort of "fix" the problem even just by killing the dnf process and restart it. It's super weird...
from centos-wsl.
one possible workaround (if you are stuck with WSL1) is to comment out gpgcheck=1
in /etc/dnf/dnf.conf
.
from centos-wsl.
Related Issues (20)
- CentOS6 Install Fails HOT 2
- How to create Two CentOS? HOT 2
- Hi, question is there will be a CentOS WSL 2 Version HOT 1
- the /etc/wsl.conf can not work , how do i fix it HOT 3
- Launches into root account - would like to launch into un-elevated user profile HOT 1
- Issue Installing MariaDB on CentOS7 WSL: Failed to get D-Bus connection: Operation not permitted HOT 4
- How to manage services?such as systemctl HOT 6
- F&Q HOT 3
- Build scripts and CI/CD configuration HOT 2
- Failed to change default user HOT 1
- Kernel does not support multicast on CentOS7 HOT 1
- systemctl & lsof HOT 1
- Would you like to add a wsl.conf in /etc to start systemd?
- CentOS on WSL1 can not resolve DNS HOT 1
- Not allowing new terminals without launching with --exec argument HOT 2
- How to uninstall? HOT 2
- cannot run without internet or via WI-FI HOT 2
- cannot start a program using systemctl HOT 3
- Where is the rootfs directory in centos? 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 centos-wsl.