On Tue, 19 Jul 2022 12:13:51 -0700
ToddAndMargo via users <[email protected]> wrote:

> I have yet to figure out "group reinstall".  The
> manual page is not being a lot of help.
> 
> This is what I have so far:
> 
> 
> List:
>     # dnf group list | grep -i xfce
>     Xfce Desktop
> 
> 
> Install:
>     # dnf groupinstall 'XFCE Desktop'
> 
> 
> Reinstall:  Note, not working as of 2022-07-19
>     # dnf groupreinstall 'XFCE Desktop'
> 
> 
> Errors I get back:
> 
> # dnf groupreinstall 'XFCE Desktop'
> No such command: groupreinstall. Please use /usr/bin/dnf --help
> It could be a DNF plugin command, try: "dnf install 
> 'dnf-command(groupreinstall)'"
> 
> # dnf group reinstall 'XFCE Desktop'
> Invalid groups sub-command, use: summary, list, info, remove,
> install, upgrade, mark.
> 
> 
> # dnf groupinstall 'XFCE Desktop(groupreinstall)'
> Last metadata expiration check: 2:03:15 ago on Tue 19 Jul 2022
> 10:08:27 AM PDT.
> Module or Group 'XFCE Desktop(groupreinstall)' is not available.
> Error: Nothing to do.
> 
> 
> -T
My bad, I didn't check the group reinstall command, thought it would
just be analogous to install and reinstall.  You've already done what I
would do. Is there a way to get packages from the Xfce Desktop group, or
that you have installed?  If you can get that list, you could put it in
a file and run a 
#! /bin/bash

dnf reinstall \
pkg1 \
pkg2\
...
pkg??

I was playing around with this trying to get a list of packages, and I
used the command
dnf group info 'Xfce Desktop'
and received a list of groups that are in that group.  There were
many optional xfce groups.  The one you want is probably one of them.
If you then do a
dnf group info 'Applications for the Xfce Desktop'
it will give you a list of the packages for that group.

That doesn't get you a group reinstall, but it allows you to reinstall
select packages.
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to