Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dnf group list and matching incomplete/invalid #2082

Open
mcrha opened this issue Feb 24, 2025 · 4 comments
Open

dnf group list and matching incomplete/invalid #2082

mcrha opened this issue Feb 24, 2025 · 4 comments

Comments

@mcrha
Copy link
Contributor

mcrha commented Feb 24, 2025

Below are the commands I used. Problems:

  • group list doesn't show all groups - the mate-desktop is not included, even it exists and is known
  • there used to work to just run dnf group install MATE, even the groups could be named differently, but the dnf5 does not match on this name, despite at the end of the dnf5 group install mate-desktop is says: Installing groups: MATE
[root@localhost ~]# rpm -q dnf5
dnf5-5.2.10.0-2.fc43.x86_64


[root@localhost ~]# dnf5 group install MATE
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
No match for argument: MATE
You can try to add to command line:
  --skip-unavailable to skip unavailable packages


[root@localhost ~]# dnf5 group list | grep -i mate
Updating and loading repositories:
Repositories loaded.
mate-applications           MATE Applications                                  no


[root@localhost ~]# dnf5 group install mate-desktop
Updating and loading repositories:
Repositories loaded.
 https://dl.google.com/linux/linux_sign 100% | 104.9 KiB/s |  18.7 KiB |  00m00s
Package "firefox-135.0.1-1.fc43.x86_64" is already installed.
...
Installing weak dependencies:
 blueman-caja                         noarch 1:2.4.4-1.fc42          rawhide   1.7 KiB
 openvswitch-dpdk                     x86_64 3.4.1-3.fc43            rawhide   3.9 MiB
 systemd-oomd-defaults                noarch 257.3-7.fc43            rawhide 187.0   B
Installing groups:
 MATE                                                                                 

Transaction Summary:
 Installing:       134 packages

Total size of inbound packages is 334 MiB. Need to download 334 MiB.
After this operation, 1 GiB extra will be used (install 1 GiB, remove 0 B).
Is this ok [y/N]: n
Operation aborted by the user.
@pkratoch
Copy link
Contributor

  1. The mate-desktop group has uservisible=false, therefore it's only listed when the option --hidden is used. Therefore, not listing it without the option is not a bug.
  2. The install command takes only group id, not group name. I would say that is correct, but the group list and info commands also take names, so that is inconsistent and probably should be fixed.

@mcrha
Copy link
Contributor Author

mcrha commented Feb 24, 2025

  1. The mate-desktop group has uservisible=false, therefore it's only listed when the option --hidden is used. Therefore, not listing it without the option is not a bug.

Hmm, in that case it's some config problem I should ask about/report somewhere in Fedora, right? No idea where that would be though.

@jan-kolarik
Copy link
Member

  1. The mate-desktop group has uservisible=false, therefore it's only listed when the option --hidden is used. Therefore, not listing it without the option is not a bug.

Hmm, in that case it's some config problem I should ask about/report somewhere in Fedora, right? No idea where that would be though.

I expect it should be discussed in this repository with definition of comps groups in Fedora: https://pagure.io/fedora-comps.

@mcrha
Copy link
Contributor Author

mcrha commented Feb 24, 2025

Aha, nice, I opened https://pagure.io/fedora-comps/issue/1093 for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants