Jan 12 15:22:13 INFO --- logging initialized ---Jan 12 15:22:13 DDEBUG timer: config: 6 msJan 12 15:22:13 DEBUG cachedir: /var/cache/dnfJan 12 15:22:13 ERROR Failed loading plugin: system_upgradeJan 12 15:22:13 SUBDEBUG Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/dnf/plugin.py", line 124, in import_modules module = importlib.import_module(name) File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) File "/usr/lib/python2.7/site-packages/dnf-plugins/system_upgrade.py", line 348, in <module> class SystemUpgradeCommand(dnf.cli.Command): File "/usr/lib/python2.7/site-packages/dnf-plugins/system_upgrade.py", line 354, in SystemUpgradeCommand _("OPTIONS"), _("VERSION"))UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)Jan 12 15:22:13 DEBUG Loaded plugins: system-upgradeJan 12 15:22:13 DDEBUG Cleaning up.
[root@localhost ~]# cat /usr/bin/fedup#!/bin/sh# wrapper script to call `dnf system-upgrade` instead# fix --network -> download --releasever, since we can't do that in the pluginset -- "$@" END_OF_OPTIONSwhile [ "$1" != END_OF_OPTIONS ]; do case "$1" in --network*) set -- "$@" download "${1/--network/--releasever}" ;; *) set -- "$@" "$1" ;; esac shiftdoneshiftexec /usr/bin/dnf system-upgrade "$@"
dnf update --refreshdnf install dnf-plugin-system-upgrade
Код: [Вибрати]dnf update --refreshdnf install dnf-plugin-system-upgrade
[root@localhost ~]# dnf update --refreshFailed loading plugin: system_upgradeTraceback (most recent call last): File "/usr/bin/dnf", line 36, in <module> main.user_main(sys.argv[1:], exit_code=True) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 185, in user_main errcode = main(args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 84, in main return _main(base, args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 115, in _main cli.configure(map(ucd, args)) File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 976, in configure self.base.plugins.run_init(self.base, self) File "/usr/lib/python2.7/site-packages/dnf/plugin.py", line 104, in run_init plugin = p_cls(base, cli) File "/usr/lib/python2.7/site-packages/dnf-plugins/system_upgrade.py", line 344, in __init__ super(SystemUpgradePlugin, self).__init__(base, cli)TypeError: must be type, not None
[root@localhost ~]# rpm -e dnf-plugin-system-upgrade[root@localhost ~]# dnf install dnf-plugin-system-upgradeFedora 21 - x86_64 4.1 MB/s | 39 MB 00:09 RPM Fusion for Fedora 21 - Free - Updates 2.4 MB/s | 449 kB 00:00 RPM Fusion for Fedora 21 - Free 1.6 MB/s | 508 kB 00:00 RPM Fusion for Fedora 21 - Nonfree - Updates 808 kB/s | 211 kB 00:00 Fedora 21 - x86_64 - Updates 3.2 MB/s | 22 MB 00:07 RPM Fusion for Fedora 21 - Nonfree 1.1 MB/s | 179 kB 00:00 Using metadata from Tue Jan 12 22:24:01 2016 (0:00:31 hours old)Dependencies resolved.==================================================================================================================================== Package Архітектура Версія Сховище Розмір====================================================================================================================================Встановлення: dnf-plugin-system-upgrade noarch 0.5.0-1.fc21 updates 47 kРезюме операції====================================================================================================================================Встановити 1 PackageЗагальний обсяг звантаження: 47 kРозмір після встановлення: 82 kВиконати дію? [y/N]: yЗвантаження пакунків:dnf-plugin-system-upgrade-0.5.0-1.fc21.noarch.rpm 241 kB/s | 47 kB 00:00 ------------------------------------------------------------------------------------------------------------------------------------Загалом 26 kB/s | 47 kB 00:01 Running transaction checkTransaction check succeeded.Running transaction testTransaction test succeeded.Running transaction Встановлення : dnf-plugin-system-upgrade-0.5.0-1.fc21.noarch 1/1 Verifying : dnf-plugin-system-upgrade-0.5.0-1.fc21.noarch 1/1 Встановлено: dnf-plugin-system-upgrade.noarch 0.5.0-1.fc21 Завершено![root@localhost ~]# dnf update --refreshFailed loading plugin: system_upgradeTraceback (most recent call last): File "/usr/bin/dnf", line 36, in <module> main.user_main(sys.argv[1:], exit_code=True) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 185, in user_main errcode = main(args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 84, in main return _main(base, args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 115, in _main cli.configure(map(ucd, args)) File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 976, in configure self.base.plugins.run_init(self.base, self) File "/usr/lib/python2.7/site-packages/dnf/plugin.py", line 104, in run_init plugin = p_cls(base, cli) File "/usr/lib/python2.7/site-packages/dnf-plugins/system_upgrade.py", line 344, in __init__ super(SystemUpgradePlugin, self).__init__(base, cli)TypeError: must be type, not None[root@localhost ~]#
[root@localhost ~]# rpm -e dnf-plugin-system-upgrade[root@localhost ~]# dnf update --refreshRPM Fusion for Fedora 21 - Free - Updates 1.5 MB/s | 449 kB 00:00 RPM Fusion for Fedora 21 - Free 1.9 MB/s | 508 kB 00:00 RPM Fusion for Fedora 21 - Nonfree - Updates 622 kB/s | 211 kB 00:00 RPM Fusion for Fedora 21 - Nonfree 387 kB/s | 179 kB 00:00 Using metadata from Tue Jan 12 22:35:06 2016 (0:00:07 hours old)Dependencies resolved.Nothing to do.Завершено![root@localhost ~]#
[root@localhost ~]# yum clean allЗавантажені додатки: langpacksСпорожнення записів сховищ: fedora rpmfusion-free rpmfusion-free-updates rpmfusion-nonfree rpmfusion-nonfree-updates updatesCleaning up everything[root@localhost ~]# yum upgradeЗавантажені додатки: langpacksfedora/21/x86_64/metalink | 24 kB 00:00:00 fedora | 3.8 kB 00:00:00 rpmfusion-free | 2.5 kB 00:00:00 rpmfusion-free-updates | 2.7 kB 00:00:00 rpmfusion-nonfree | 1.2 kB 00:00:00 rpmfusion-nonfree-updates | 2.7 kB 00:00:00 updates/21/x86_64/metalink | 22 kB 00:00:00 updates | 4.7 kB 00:00:00 (1/5): fedora/21/x86_64/group_gz | 232 kB 00:00:00 (2/5): updates/21/x86_64/group_gz | 230 kB 00:00:00 (3/5): updates/21/x86_64/updateinfo | 1.1 MB 00:00:00 (4/5): updates/21/x86_64/primary_db | 8.4 MB 00:00:03 (5/5): fedora/21/x86_64/primary_db | 17 MB 00:00:05 (1/5): rpmfusion-free/21/x86_64/group_gz | 1.6 kB 00:00:00 (2/5): rpmfusion-nonfree/21/x86_64/primary | 68 kB 00:00:00 (3/5): rpmfusion-nonfree-updates/21/x86_64/primary_db | 230 kB 00:00:00 (4/5): rpmfusion-free/21/x86_64/primary_db | 420 kB 00:00:00 (5/5): rpmfusion-free-updates/21/x86_64/primary_db | 399 kB 00:00:00 rpmfusion-nonfree 178/178No packages marked for update
https://bugzilla.redhat.com/show_bug.cgi?id=1278031тут кажуть спробувати поміняти локаль на типову
# cp /usr/lib/systemd/system/dnf-makecache.service /etc/systemd/system# cp /usr/lib/systemd/system/dnf-system-upgrade.service /etc/systemd/system
# LANG=C dnf system-upgrade download --releasever=22# LANG=C dnf system-upgrade reboot
mdadm --assemble --scanlvm vgscanlvm vgchange -ayexit