Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 01-23-2018, 11:27 PM   #1
Registered: Mar 2005
Location: Washington DC area
Posts: 213

Rep: Reputation: 30
uh... dnf group list is broken in Fedora 27 after system update

Hello all

Tonight I installed Fedora 27 and after I ran a dnf upgrade to update all of my packages, I tried to run the dnf group list command after reboot and I was given the following errors:

# dnf group list
Last metadata expiration check: 0:42:24 ago on Tue 23 Jan 2018 11:43:53 PM EST.
Traceback (most recent call last):
  File "/usr/bin/dnf", line 58, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python3.6/site-packages/dnf/cli/", line 179, in user_main
    errcode = main(args)
  File "/usr/lib/python3.6/site-packages/dnf/cli/", line 64, in main
    return _main(base, args, cli_class, option_parser_class)
  File "/usr/lib/python3.6/site-packages/dnf/cli/", line 99, in _main
    return cli_run(cli, base)
  File "/usr/lib/python3.6/site-packages/dnf/cli/", line 115, in cli_run
  File "/usr/lib/python3.6/site-packages/dnf/cli/", line 1014, in run
  File "/usr/lib/python3.6/site-packages/dnf/cli/commands/", line 375, in run
  File "/usr/lib/python3.6/site-packages/dnf/cli/commands/", line 108, in _grp_setup
  File "/usr/lib/python3.6/site-packages/dnf/", line 550, in read_comps
  File "/usr/lib/python3.6/site-packages/dnf/", line 328, in _add_from_xml_filename
    ret = comps.fromxml_f(fn)
_libpycomps.ParserError: Fatal parser error
yum group list gives me the same error as well.. Any ideas on what I should do to fix this? It is strange that this distro's package manager would break after a single system upgrade
Old 01-24-2018, 12:40 AM   #2
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 16,333

Rep: Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333
Looks broken here too. Check if a bug has been raised, and if not open one yourself.
Old 01-24-2018, 06:45 AM   #3
Senior Member
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Linux Mint, Ubuntu
Posts: 1,644

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
My Rawhide system claims it's up to date (although looking at Koji suggests otherwise)
dnf group list works as expected
Old 01-24-2018, 09:58 AM   #4
LQ Newbie
Registered: Jan 2018
Posts: 1

Rep: Reputation: Disabled
Had the problem hours ago, and just did the following minutes ago and got it resolved.

What I did:
`sudo dnf clean metadata`
`sudo dnf update`


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
dnf won't install, update on new Fedora 25 mickeyboa Fedora 1 07-19-2017 04:22 PM
DNF update super slow on 32 bit Fedora AzCoder Fedora 2 07-18-2017 07:16 PM
[SOLVED] Fedora, updating notices and packages : dnf updateinfo & dnf check-update fanoflq Linux - Newbie 9 05-20-2017 07:07 PM
[SOLVED] Fedora 22 dnf update error messages thanquol1313 Linux - Newbie 8 10-02-2015 04:52 PM
Fedora can't update - broken system vitotol Linux - General 7 10-14-2011 01:32 PM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration