Re: dnf upgrade dnf massacred dnf

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

 




On 3/11/19 07:26, Felix Miata wrote:
Not enough freespace to download everything in advance and install/upgrade 1100+ packages before
deleting everything. So after set-disabled rawhide and rawhide-modular I did my usual attempt to
bunch packages via .bash_history:

# dnf update dnf* rpm* system* libsol* hawke* glibc* fedor* bash-completion util-linux grub2-common
grubby dracu*

Apparently something about python3.7 is missing or broken, because now any dnf command I attempt to
proceed with (install|upgrade|update) produces "Unknown option". dnf makecache produces a blitz of
python errors:
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 193, 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 1108, in run
   return self.command.run()
File "/usr/lib/python3.7/site-packages/dnf/cli/commands/makecache.py", line 50, in run
   return self.base.update_cache(timer)
File "/usr/lib/python3.7/site-packages/dnf/base.py", line 360, in update_cache
   (is_cache, expires_in) = r._metadata_expire_in()
File "/usr/lib/python3.7/site-packages/dnf/repo.py", line 585, in _metadata_expire_in
   self._repo.loadCache(False)
File "/usr/lib64/python3.7/site-packages/libdnf/repo.py", line 506, in loadCache
   return _repo.Repo_loadCache(self, throwExcept)
RuntimeError: Unknown option
# dnf install icewm
Unknown option
Error: Unknown option
#

Bugzilla's scripting has evolved to make it virtually useless for searches that don't return either
nothing or hundreds of hits.

Anyone know whether this is a known problem fixable with rpm, or is going to require complete
restore from backup or fresh installation?

Maybe check if you have all of the libdnf subpackages updated from
https://koji.fedoraproject.org/koji/buildinfo?buildID=1213513 ?

You can update them with 'rpm -Uvh *.rpm' if the downloaded rpms are in
the current directory.

Hope this helps,
Kalev



_______________________________________________
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




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

  Powered by Linux