Bug 1162408 - fedup automatically proceeds with upgrade to F21 despite advising against it
Summary: fedup automatically proceeds with upgrade to F21 despite advising against it
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fedup
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Will Woods
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-11 03:24 UTC by Nick Coghlan
Modified: 2015-06-01 05:35 UTC (History)
2 users (show)

Fixed In Version: fedup-0.9.2-1.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-23 16:05:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Nick Coghlan 2014-11-11 03:24:42 UTC
Description of problem:

fedup picked up some package conflicts when I ran "fedup --network 21 --product=nonproduct", emitted the warning advising against proceeding with the update, but configured the update to happen on next boot anyway.

Version-Release number of selected component (if applicable):


How reproducible:

Once, but that was annoying enough...

Steps to Reproduce:
1. Run fedup on a system with some packages that conflict with new F21 packages
2. Reboot the system
3.

Actual results:

System proceeds with the upgrade to F21, despite fedup advising against it

Expected results:

When fedup found a problem, I expected it to *not* configure the update for next boot, and instead require me to opt into forcing it.

Additional info:

I didn't read the details of the initial error message from fedup - I assumed it hadn't scheduled the upgrade to proceed (since it was advising against that), and just shut the machine down, intending to look into the problem later. I was very surprised to find my machine halfway through the upgrade progress when I came back to it after switching it on this morning.

Comment 1 Will Woods 2015-01-05 22:06:21 UTC
The next fedup release will at least have improved warnings/error messages in these cases - see bug 1098886 for details.

I'm also planning to change the behavior so that you must run something like:

  fedup reboot

to actually start the upgrade, but that code hasn't been written yet.

Comment 2 Nick Coghlan 2015-01-27 10:10:48 UTC
That sounds like a good improvement, thanks!

Comment 3 Will Woods 2015-04-20 15:04:34 UTC
So yeah, fedup 2.x will have separate "download"/"setup" and "reboot" commands, so this won't happen in the future.

As for the current version, the fix to bug 1098886 at least tells you how to abort the upgrade by running `fedup --resetbootloader`.

That's about the best we can do here, I think.

Comment 4 Fedora Update System 2015-04-20 15:05:18 UTC
fedup-0.9.2-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/fedup-0.9.2-1.fc20

Comment 5 Fedora Update System 2015-04-20 15:05:18 UTC
fedup-0.9.2-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/fedup-0.9.2-1.fc21

Comment 6 Fedora Update System 2015-04-20 15:05:24 UTC
fedup-0.9.2-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/fedup-0.9.2-1.fc22

Comment 7 Fedora Update System 2015-04-20 15:06:21 UTC
fedup-0.9.2-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/fedup-0.9.2-1.fc21

Comment 8 Fedora Update System 2015-04-21 18:49:33 UTC
Package fedup-0.9.2-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing fedup-0.9.2-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-6467/fedup-0.9.2-1.fc20
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2015-04-23 16:05:36 UTC
fedup-0.9.2-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2015-04-23 16:11:33 UTC
fedup-0.9.2-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Nick Coghlan 2015-06-01 05:35:28 UTC
I ran into some network problems that prevented fedup from finding all the packages it needed to upgrade from F21 to F22, and the updated error message was exactly the prompt I needed to remind me to explicitly abort the upgrade attempt.

Thanks!


Note You need to log in before you can comment on or make changes to this bug.