FEDORA-2015-15002 created by wwoods 8 years ago for Fedora 22

This is the first release of the dnf system-upgrade plugin, which replaces fedup.

This update has been submitted for testing by wwoods.

8 years ago

This update has been pushed to testing

8 years ago
User Icon mayorga commented & provided feedback 8 years ago

It is not functional.

[root@topo mayorga]# dnf system-upgrade downloadable --releasever=23 Traceback (most recent call last): File "/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 193, 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 120, in _main cli.configure(map(ucd, args)) File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1005, in configure self.optparser.usage = self.optparser.get_usage() File "/usr/lib/python2.7/site-packages/dnf/cli/option_parser.py", line 273, in get_usage usage += "%-25s %s\n" % (name, summary) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 40: ordinal not in range(128)

@mayorga what is your LANG setting?

Also, it's download, not downloadable...

If a package doesn't have an update, then dnf will skip all other updates that world break that package. For example I have a Perl module package that requires perl-5.20, then when I try to system-upgrade, it will just skip the updates of all Perl 5.22 packages. That may be not what people want. System-upgrade should tell users what packages don't have updates and would break after the upgrade, just like what Fedup has done.

@cheeselee: that's what the DNF flag --best is for. The fact that this is not DNF's default behavior is a policy decision, not a technical flaw.

User Icon adamwill commented & provided feedback 8 years ago

@wwoods for the specific case of a system upgrade, though, it may be worth considering whether --best should be the default, I think.

This seems to work OK in basic testing; 22 to 23 and 22 to Rawhide(!) upgrades work from both minimal and Workstation fresh installs.

@adamwill it's worth considering. but this isn't the place.

User Icon sergiomb commented & provided feedback 8 years ago

Very coll tool , worked without problems .

User Icon cheeselee commented & provided feedback 8 years ago

Upgrade prepared using this command. This would display packages with no updates available:

dnf system-upgrade download --releasever=23 --allowerasing --best

And then reboot:

dnf system-upgrade reboot

[mayorga@topo ~]$ echo $LANG es_ES.UTF-8

After installing the plugin I got that same Traceback for every dnf command but after rebooting the issue went away.

This update has been obsoleted by dnf-plugin-system-upgrade-0.4.1-1.fc22.

8 years ago

Please login to add feedback.

Content Type
Test Gating
Unstable by Karma
Stable by Karma
Stable by Time
8 years ago
in testing
8 years ago

Automated Test Results