Description of problem: When I tried fedup-cli tool, it failed with "kernel referenced before assignment". It was in fedup-cli on line 247 - there is "prep_boot" called, but since I have used --skip-kernel argument, variable 'kernel' doesnt' exists. How reproducible: Always. Steps to Reproduce: 1. Try to upgrade fedora with "fedup-cli --network 18 --skipkernel" Actual results: It fails with python traceback. Expected results: It shouldn't.
How did you install fedup? Can you attach the traceback you saw?
I have cloned it using git from github, installed python-devel, did "make install". Traceback: setting up system for upgrade Traceback (most recent call last): File "/bin/fedup-cli", line 271, in <module> main(args) File "/bin/fedup-cli", line 243, in main prep_boot(kernel, initrd) UnboundLocalError: local variable 'kernel' referenced before assignment
I was using --skipkernel argument, as stated in readme on github.
Created attachment 644099 [details] fedup log
Should be fixed in commit 0e72580. As a side note, I'd prefer if people used github for issues that are only found in code direct from the git repo.