Bug 1283818 - something in dnf deletes >6000 downloaded upgrade packages, makes me download them all again
Summary: something in dnf deletes >6000 downloaded upgrade packages, makes me download...
Keywords:
Status: CLOSED DUPLICATE of bug 1276886
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-plugin-system-upgrade
Version: 22
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: 2015-11-20 01:50 UTC by Jonathan Kamens
Modified: 2015-11-20 02:49 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-11-20 02:49:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jonathan Kamens 2015-11-20 01:50:32 UTC
I ran "sudo dnf system-upgrade --releasever=23 --allowerasing" (I'm currently on F22).

At the end, after all the downloading, it reported:

Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache till the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction check error:
  file /usr/bin from install of filesystem-3.2-35.fc23.x86_64 conflicts with file from package google-earth-stable-6.0.3.2197-0.x86_64

I then tried to do the upgrade, but it failed because apparently it didn't like the conflict shown above:

$ sudo dnf system-upgrade reboot
Error: system is not ready for upgrade
$ 

So I erased google-search-stable with "sudo dnf remove google-earth-stable", then ran the original command, "sudo dnf system-upgrade download --allowerasing --releasever=23" again, to make sure I was ready.

It proceeded to download all 6,103 packages over again, because apparently either running "sudo dnf system-upgrade reboot" when it wasn't ready or "sudo dnf remove google-earth-stable" told dnf that it was a good idea to delete everything in /var/lib/dnf/system-upgrade.

This is monumentally stupid.

Comment 1 Zbigniew Jędrzejewski-Szmek 2015-11-20 02:49:32 UTC
Yeah, sorry for that.

*** This bug has been marked as a duplicate of bug 1276886 ***


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