Giter Club home page Giter Club logo

Comments (11)

crramirez avatar crramirez commented on May 30, 2024 3

Try this:

sudo dnf copr enable fif/tdiff fedora-31-x86_64

from fedora-remix-for-wsl.

crramirez avatar crramirez commented on May 30, 2024 2

I created a how-to based on this: https://github.com/WhitewaterFoundry/Fedora-Remix-for-WSL/wiki/Enable-COPRs

from fedora-remix-for-wsl.

xasx avatar xasx commented on May 30, 2024 1

Thank you, this works.

Could you get to the source causing this behaviour?

from fedora-remix-for-wsl.

crramirez avatar crramirez commented on May 30, 2024

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

from fedora-remix-for-wsl.

xasx avatar xasx commented on May 30, 2024

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)

from fedora-remix-for-wsl.

crramirez avatar crramirez commented on May 30, 2024

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

from fedora-remix-for-wsl.

crramirez avatar crramirez commented on May 30, 2024

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.

https://jimdean.id.au/2016/03/04/fedoras-copr-and-remixes/

from fedora-remix-for-wsl.

xasx avatar xasx commented on May 30, 2024

Strangely, on my other PC running 1.31.14.0 it works without the chroot parameter.

from fedora-remix-for-wsl.

crramirez avatar crramirez commented on May 30, 2024

In the version when you issue:

$ cat /etc/os-release

NAME is without quotes?

NAME=Fedora Remix for WSL

from fedora-remix-for-wsl.

xasx avatar xasx commented on May 30, 2024

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"

from fedora-remix-for-wsl.

crramirez avatar crramirez commented on May 30, 2024

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

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.