LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


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

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:

Code:
# 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/main.py", line 179, in user_main
    errcode = main(args)
  File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 64, in main
    return _main(base, args, cli_class, option_parser_class)
  File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 99, in _main
    return cli_run(cli, base)
  File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 115, in cli_run
    cli.run()
  File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 1014, in run
    return self.command.run()
  File "/usr/lib/python3.6/site-packages/dnf/cli/commands/group.py", line 375, in run
    self._grp_setup()
  File "/usr/lib/python3.6/site-packages/dnf/cli/commands/group.py", line 108, in _grp_setup
    self.base.read_comps(arch_filter=True)
  File "/usr/lib/python3.6/site-packages/dnf/base.py", line 550, in read_comps
    self._comps._add_from_xml_filename(decompressed)
  File "/usr/lib/python3.6/site-packages/dnf/comps.py", 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
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
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
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
My Rawhide system claims it's up to date (although looking at Koji suggests otherwise)
Code:
python3-3.6.4-3.fc28.x86_64
dnf-2.7.5-5.fc28.noarch
dnf group list works as expected
 
Old 01-24-2018, 09:58 AM   #4
code2be
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`
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 01:42 AM.

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