You are not logged in.

#1 2023-06-12 21:05:43

rif
Member
Registered: 2023-06-12
Posts: 6

[SOLVED] Install nerd-fonts group

Hey guys,

If I run the command yay nerd-fonts I get a list of fonts ending in [nerd-fonts]. I presumed this is a group and I tried to run yay -S nerd-fonts, however, it does not install all the members of that group.

Is nerd-fonts really a group? How can I install all the fonts in that group?

Last edited by rif (2023-06-12 22:05:52)

Offline

#2 2023-06-12 21:23:50

seth
Member
Registered: 2012-09-03
Posts: 58,687

Offline

#3 2023-06-12 21:26:23

rif
Member
Registered: 2023-06-12
Posts: 6

Re: [SOLVED] Install nerd-fonts group

❯ pacman -Qg nerd-fonts | wc -l
1

It only prints 1

My question is how to install the entire group.

Offline

#4 2023-06-12 21:32:43

seth
Member
Registered: 2012-09-03
Posts: 58,687

Re: [SOLVED] Install nerd-fonts group

Out of curiosity, post

pacman -Qg nerd-fonts

BEFORE you run

sudo pacman -S $(pacman -Sgq nerd-fonts)

Offline

#5 2023-06-12 21:38:21

rif
Member
Registered: 2023-06-12
Posts: 6

Re: [SOLVED] Install nerd-fonts group

❯ pacman -Qg nerd-fonts
nerd-fonts ttf-nerd-fonts-symbols-mono

Offline

#6 2023-06-12 21:42:02

rif
Member
Registered: 2023-06-12
Posts: 6

Re: [SOLVED] Install nerd-fonts group

seth wrote:
sudo pacman -S $(pacman -Sgq nerd-fonts)

This solves my quest, thank you, yet I still wonder why I can run

sudo pacman -S gnome

but not

sudo pacman -S nerd-fonts

Offline

#7 2023-06-12 21:43:19

seth
Member
Registered: 2012-09-03
Posts: 58,687

Re: [SOLVED] Install nerd-fonts group

This happens when you "pacman -S nerd-fonts" and select the 2nd provider, there're apparently two fonts which "provide" the dependency for "nerd-fonts" (edit: which collides w/ the group, might be a packaging bug?)

Last edited by seth (2023-06-12 21:44:52)

Offline

#8 2023-06-12 21:54:07

rif
Member
Registered: 2023-06-12
Posts: 6

Re: [SOLVED] Install nerd-fonts group

This happens if I remove ttf-nerd-fonts-symbols-mono and try again:

❯ sudo pacman -S nerd-fonts
Alias tip: pacin nerd-fonts
:: There are 2 providers available for nerd-fonts:
:: Repository extra
   1) ttf-nerd-fonts-symbols  2) ttf-nerd-fonts-symbols-mono

Enter a number (default=1):

Offline

#9 2023-06-12 21:58:48

seth
Member
Registered: 2012-09-03
Posts: 58,687

Re: [SOLVED] Install nerd-fonts group

I know what happens when you do this - and speculated that this is what has happened before because there was only one package (but because of yay showing you the group but then not installing and I have really no idea in which ways yay is broken, didn't know for sure)

Edit: Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Last edited by seth (2023-06-12 21:59:11)

Offline

#10 2023-06-12 22:05:02

rif
Member
Registered: 2023-06-12
Posts: 6

Re: [SOLVED] Install nerd-fonts group

If nerd-fonts is really a group than I guess pacman is broken not yay as I am trying to install the group using pacman.

Will change the post title, thank you again.

Offline

#11 2023-06-12 22:33:17

seth
Member
Registered: 2012-09-03
Posts: 58,687

Re: [SOLVED] Install nerd-fonts group

Neither is broken, there's a group w/ the same name as effectively a package.
It's just that I didn't know what yay actually did (before you posted the output)

Offline

#12 2023-08-13 10:34:32

hully
Member
Registered: 2022-11-14
Posts: 161

Re: [SOLVED] Install nerd-fonts group

This happened to me too.

Is this because ttf-nerd-fonts-symbols provides "nerd-fonts", which is the same name as the group?

Is this a packaging bug?

Who should I report it to?

Offline

#13 2023-08-13 12:12:14

seth
Member
Registered: 2012-09-03
Posts: 58,687

Re: [SOLVED] Install nerd-fonts group

https://archlinux.org/packages/extra/an … s-symbols/ provides the group it belongs to what's a logic contradiction, so it's be the likely offender, but idk. whether there're historic reasons for this setup.

Edit: https://bugs.archlinux.org/task/79367?p … ts-symbols

Last edited by seth (2023-08-13 12:12:48)

Offline

Board footer

Powered by FluxBB