sd icon indicating copy to clipboard operation
sd copied to clipboard

sd can not be installed from Fedora repos

Open rusty-snake opened this issue 5 years ago • 8 comments
trafficstars

The README.md says I should run [sudo] dnf install sd.

$ LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 sudo dnf install sd
Last metadata expiration check: ………
No match for argument: sd
Error: Unable to find a match: sd

Fedora: 32

rusty-snake avatar May 24 '20 17:05 rusty-snake

same here! Use to work earlier though

kaushalyap avatar Jun 01 '20 02:06 kaushalyap

It works on fedora 31. Maybe this is an upstream fedora bug?

maflcko avatar Aug 26 '20 08:08 maflcko

sd does not appear to be in the Fedora 33 repositories

abatkin avatar Dec 22 '20 04:12 abatkin

It works on fedora 31. Maybe this is an upstream fedora bug?

Are you sure you downloaded it from main fedora repositories? I don't have a fedora 31 box, but I executed the following to query fedora 31 repositories and came up empty handed

dnf --repofrompath 'f31-release,https://dl.fedoraproject.org/pub/archive/fedora/linux/releases/31/Everything/x86_64/os/' --repofrompath 'f31-updates,https://dl.fedoraproject.org/pub/archive/fedora/linux/updates/31/Everything/x86_64/' --repo=f31-release --repo=f31-updates repoquery sd

I also can't find any mention of sd on https://src.fedoraproject.org/

hexagonrecursion avatar Jan 12 '21 10:01 hexagonrecursion

# dnf list sd 
Last metadata expiration check: 0:01:29 ago on Tue Jan 12 10:51:06 2021.
Available Packages
sd.x86_64          0.6.5-3.module_f31+6556+4c9149f0           fedora-modular 
sd.x86_64          0.6.5-3.module_f31+6556+4c9149f0           updates-modular

maflcko avatar Jan 12 '21 10:01 maflcko

You are right. I forgot modular repos.

dnf --repofrompath=f31-m,https://dl.fedoraproject.org/pub/archive/fedora/linux/releases/31/Modular/x86_64/os/ --repofrompath=f31,https://dl.fedoraproject.org/pub/archive/fedora/linux/releases/31/Everything/x86_64/os/  --repo=f31-m --repo=f31 repoquery sd
# sd-0:0.6.5-3.module_f31+6556+4c9149f0.x86_64

hexagonrecursion avatar Jan 12 '21 15:01 hexagonrecursion

the "sd" package providing /usr/bin/sd seems to be available in the frozen fedora and the rolling updates official Fedora repos for Fedora 35:

$ dnf provides /usr/bin/sd
...
sd-0.7.6-4.fc35.x86_64 : Intuitive find & replace CLI
Repo        : fedora
Matched from:
Provide    : sd = 0.7.6-4.fc35

sd-0.7.6-6.fc35.x86_64 : Intuitive find & replace CLI
Repo        : updates
Matched from:
Provide    : sd = 0.7.6-6.fc35

Seirdy avatar Jan 01 '22 19:01 Seirdy

Agreed, I believe this issue can now be closed:

abatkin avatar Jan 01 '22 22:01 abatkin