Re: Rawhide groupinstall error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2018-07-27 at 14:35 -0700, Adam Williamson wrote:
> On Fri, 2018-07-27 at 12:48 +0200, Kamil Paral wrote:
> > On Fri, Jul 27, 2018 at 12:27 PM, Andre Robatino <robatino@xxxxxxxxxxxxxxxxx
> > > wrote:
> > > Which component should a bug be filed against for the following Rawhide
> > > error?
> > > 
> > > [root@localhost ~]# dnf groupinstall basic-desktop-environment
> > > Last metadata expiration check: 1:44:13 ago on Fri 27 Jul 2018 03:39:28 AM
> > > EDT.
> > > 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.7/site-packages/dnf/cli/main.py", line 179, in
> > > user_main
> > >     errcode = main(args)
> > >   File "/usr/lib/python3.7/site-packages/dnf/cli/main.py", line 64, in
> > > main
> > >     return _main(base, args, cli_class, option_parser_class)
> > >   File "/usr/lib/python3.7/site-packages/dnf/cli/main.py", line 99, in
> > > _main
> > >     return cli_run(cli, base)
> > >   File "/usr/lib/python3.7/site-packages/dnf/cli/main.py", line 115, in
> > > cli_run
> > >     cli.run()
> > >   File "/usr/lib/python3.7/site-packages/dnf/cli/cli.py", line 1041, in
> > > run
> > >     return self.command.run()
> > >   File "/usr/lib/python3.7/site-packages/dnf/cli/commands/group.py", line
> > > 423, in run
> > >     self.base.conf.strict)
> > >   File "/usr/lib/python3.7/site-packages/dnf/base.py", line 1662, in
> > > env_group_install
> > >     cnt += self.environment_install(env_id, types, strict=strict)
> > >   File "/usr/lib/python3.7/site-packages/dnf/base.py", line 1590, in
> > > environment_install
> > >     strict)
> > >   File "/usr/lib/python3.7/site-packages/dnf/comps.py", line 93, in
> > > install_or_skip
> > >     return install_fnc(grp_or_env_id, types, exclude, strict)
> > >   File "/usr/lib/python3.7/site-packages/dnf/comps.py", line 564, in
> > > _environment_install
> > >     for comps_group in comps_env.optional_groups:
> > >   File "/usr/lib/python3.7/site-packages/dnf/comps.py", line 262, in
> > > optional_groups
> > >     return [self._build_group(gi) for gi in self.option_ids]
> > >   File "/usr/lib/python3.7/site-packages/dnf/comps.py", line 262, in
> > > <listcomp>
> > >     return [self._build_group(gi) for gi in self.option_ids]
> > >   File "/usr/lib/python3.7/site-packages/dnf/comps.py", line 249, in
> > > _build_group
> > >     raise ValueError(msg % (grp_id.name, self.id))
> > > ValueError: no group 'hawaii-desktop' from environment
> > > 'basic-desktop-environment'
> > > [root@localhost ~]#
> > > 
> > 
> > Please file a bug against dnf, it should definitely not crash when there's
> > such a problem.
> 
> Even if it didn't crash, it should probably *fail* in this case, so the
> difference isn't that great.

Actually, I take that back...hawaii-desktop was only in the *option
list* for basic-desktop-environment, so dnf probably wouldn't need to
fail in this case, that could easily just be a warning.
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net
_______________________________________________
test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to test-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/test@xxxxxxxxxxxxxxxxxxxxxxx/message/IOOIXLY2L7GKDUQE2VL66UDK7LHEKXK4/




[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux