Hi, I have some problems to upgrade to 22. Here are the errors:
[root@localhost ~]# dnf system-upgrade reboot Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.DBus.Error.TimedOut: Activation of org.freedesktop.PolicyKit1 timed out (g-dbus-error-quark, 20) Failed to start reboot.target: Connessione scaduta Traceback (most recent call last): File "/bin/dnf", line 58, in <module> main.user_main(sys.argv[1:], exit_code=True) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 174, in user_main errcode = main(args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 60, in main return _main(base, args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 112, in _main cli.run() File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1091, in run return self.command.run(self.base.extcmds) File "/usr/lib/python2.7/site-packages/dnf-plugins/system_upgrade.py", line 434, in run self._call_sub("run", extcmds) File "/usr/lib/python2.7/site-packages/dnf-plugins/system_upgrade.py", line 442, in _call_sub subfunc(*args) File "/usr/lib/python2.7/site-packages/dnf-plugins/system_upgrade.py", line 541, in run_reboot reboot() File "/usr/lib/python2.7/site-packages/dnf-plugins/system_upgrade.py", line 106, in reboot check_call(["systemctl", "reboot"]) File "/usr/lib/python2.7/subprocess.py", line 540, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '[u'systemctl', u'reboot']' returned non-zero exit status 1
I have also found those in the boot log:
[FAILED] Failed to start Authorization Manager. See "systemctl status polkit.service" for details.
so that I have typed:
[root@localhost ~]# systemctl status polkit.service � polkit.service - Authorization Manager Loaded: loaded (/usr/lib/systemd/system/polkit.service; static; vendor preset: enabled) Active: activating (start) since lun 2016-01-04 12:12:11 CET; 35s ago Docs: man:polkit(8) Main PID: 1562 (polkitd) CGroup: /system.slice/polkit.service └─1562 /usr/lib/polkit-1/polkitd --no-debug
Thank u for any help.
On Jan 4, 2016 1:09 PM, "Frank White" mediomen27@gmail.com wrote:
Hi, I have some problems to upgrade to 22. Here are the errors:
[root@localhost ~]# dnf system-upgrade reboot
[...]
I think you need to use fedup, not dnf, to upgrade from F21 to F22.
Andras
fedup says that the system is updated... I mean "need a --releasever greater than the current system version". I have used **fedup --network 22** to upgrade the system If I use **dnf distro-sync** it says nothing to do.. then it looks updated.. but a # rpm -qa | grep fc21 | wc -l says that I have 1354 packages that are till to fedora 21.. and also # dnf update says I am ok.. and **dnf repolist** says that all repos are at f22.. ciao luigi
2016-01-04 14:24 GMT+01:00 Andras Simon szajmi@gmail.com:
On Jan 4, 2016 1:09 PM, "Frank White" mediomen27@gmail.com wrote:
Hi, I have some problems to upgrade to 22. Here are the errors:
[root@localhost ~]# dnf system-upgrade reboot
[...]
I think you need to use fedup, not dnf, to upgrade from F21 to F22.
Andras
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
On 01/04/2016 09:05 AM, Frank White wrote:
# rpm -qa | grep fc21 | wc -l says that I have 1354 packages that are till to fedora 21..
Fedora is not in the practice of rebuilding unchanged packages just to give them a new distro number.
You might try package-cleanup --dupes to make sure that all of the old packages got properly tidied up.
Oh thank u joe, now with --cleandupes argument some problems are solved.
2016-01-04 18:14 GMT+01:00 Joe Zeff joe@zeff.us:
On 01/04/2016 09:05 AM, Frank White wrote:
# rpm -qa | grep fc21 | wc -l says that I have 1354 packages that are till to fedora 21..
Fedora is not in the practice of rebuilding unchanged packages just to give them a new distro number.
You might try package-cleanup --dupes to make sure that all of the old packages got properly tidied up.
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org