Open xasx opened 4 years ago
Hello,
Thanks for reporting. Yesterday I tested this, and I thought that the repository indeed didn't have any packages until you wrote this issue.
We will investigate what is happening.
Regards, Carlos
Somehow, the distro identifier within the URL is messed up:
OSError: Status code: 404 for https://copr.fedorainfracloud.org/coprs/fif/tdiff/repo/epel-31/dnf.repo?arch=x86_64 (IP: 3.81.0.123)
Good finding this should be :https://copr.fedorainfracloud.org/coprs/fif/tdiff/repo/fedora-31/dnf.repo?arch=x86_64 right?
Let's check the os-release
Try this:
sudo dnf copr enable fif/tdiff fedora-31-x86_64
I created a how-to based on this: https://github.com/WhitewaterFoundry/Fedora-Remix-for-WSL/wiki/Enable-COPRs
Thank you, this works.
Could you get to the source causing this behaviour?
In summary, this command won't work with remixes:
Unfortunately the command provided on the COPR site does not work on Fedora remixes such as Korora. The command attempts to determine the version and arch you are running but doesn’t recognize a remix. You must provide this information as an additional argument.
Strangely, on my other PC running 1.31.14.0 it works without the chroot parameter.
In the version when you issue:
$ cat /etc/os-release
NAME is without quotes?
NAME=Fedora Remix for WSL
The 1.31.14.0 has as you said, no quotes for NAME
:
NAME=Fedora Remix for WSL
VERSION="31"
ID=fedoraremixforwsl
ID_LIKE=fedora
VERSION_ID=31
PLATFORM_ID="platform:f31"
PRETTY_NAME="Fedora Remix for WSL"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:fedoraproject:fedora:31"
Due to the spaces in previous versions, the NAME variable becomes Fedora. We fixed that due to other problems and now this fix broke dnf copr which should use the ID_LIKE variable
Describe the bug Whenever I try to enable a COPR, it cannot be enabled due to missing builds although there are builds for Fedora 31.
To Reproduce Steps to reproduce the behavior:
sudo dnf copr enable fif/tdiff
(refer to https://fedoramagazine.org/4-cool-new-projects-to-try-in-copr-for-january-2020/ for more info)Expected behavior The COPR is enabled and software from it ready to be installed via dnf.
Additional context
Example COPR used here: https://copr.fedorainfracloud.org/coprs/fif/tdiff/
Basic 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. [ ] 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?
Insert here:
WLinux Version
Insert here:
Windows Build