LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   def grouplist None (https://www.linuxquestions.org/questions/linux-newbie-8/def-grouplist-none-4175602686/)

spitzie1968 03-28-2017 03:42 AM

def grouplist None
 
Hi,
This is my first question so sorry if it's posted in the wrong place.
For security reasons, I have had to create my own repository using
Code:

createrepo -g /<location>/comps/comps.xml --cachdir /<location>/releases/cache --workers 8 --update /<location>/releases/25/Everything/x86_64/os
The repository works and
Code:

dnf info <package name>
returns the correct output.
However
Code:

dnf grouplist
returns None for each Available environment group and Available groups entry in the comps.xml file.

I having to post this on a separate machine, because of said security issues, so I can't do screen dumps.

Any help will be greatly appreciated

Jjanel 04-24-2017 04:11 AM

Hi & welcome to LQ. Although I don't have the resources to experiment with this (nor expertise), I decided to at least say 'hi' (&sorry), because your initial post a month ago didn't get a reply (&is about to scroll off ZRT).

Maybe you have already solved it. (feel free to post solution, for future searchers)

I did see something in createrepo(8) (I think dnf is 'same' as yum):
Note that the groups file should be in the same directory as the rpm packages (i.e. /path/to/rpms/comps.xml).
createrepo -g comps.xml /path/to/rpms (which looks a bit different than your
createrepo -g /<location>/comps/comps.xml --cachdir /<location>/releases/cache --workers 8 --update /<location>/releases/25/Everything/x86_64/os
Maybe that /comps/ confused/broke it (just my wild-guess, sorry).

Yes, a bit of sample output would have maybe 'attracted' more response; did you get like:
Code:

Available Environment Groups:
  None
Installed Groups:
  None ....no, this probably DID work/list OK, I'm guessing....
Available Groups:
  None
Done

instead of like:

Available Environment Groups:
  Minimal Install
  ...
Installed Groups:
  Development Tools
  ...
Available Groups:
  Compatibility Libraries
  ...
Done

? Also, maybe the typo in the Title of 'def' instead of 'dnf' may have caused less response.

Anyway, best wishes, esp. for better results with your next question (&I hope there will be one)!


All times are GMT -5. The time now is 04:39 PM.