Bug 1324694 - dnf not upgrading docker
Summary: dnf not upgrading docker
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-07 02:44 UTC by Nick Coghlan
Modified: 2016-04-18 06:45 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-11 11:28:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Nick Coghlan 2016-04-07 02:44:29 UTC
Description of problem:

"dnf upgrade docker" isn't working to upgrade to docker 1.10 after running "dnf copr enable maxamillion/docker110"


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

dnf-1.1.7-2.fc23.noarch


How reproducible:

100%

Steps to Reproduce:
1. Install docker 1.9
2. Enable the docker 1.10 COPR repo
3. Run "dnf upgrade docker"

Actual results:

Copr repo for docker110 owned by maxamillion                                                             48 kB/s |  81 kB     00:01    
Last metadata expiration check: 0:00:01 ago on Thu Apr  7 12:31:06 2016.
Dependencies resolved.
Nothing to do.
Complete!

Expected results:

docker is upgraded to docker 1.10

Additional info:

I had previously upgraded to 1.10 when it was in the updates-testing repo, and got hit by the unwanted downgrade when updates-testing was reverted back to docker 1.9: https://bugzilla.redhat.com/show_bug.cgi?id=1320275#c10

dnf info output suggests dnf isn't seeing the COPR binary RPMs for some reason:

[ncoghlan@thechalk cucos-server]$ sudo dnf info --show-duplicates docker
Last metadata expiration check: 0:12:21 ago on Thu Apr  7 12:31:06 2016.
Installed Packages
Name        : docker
Arch        : x86_64
Epoch       : 2
Version     : 1.9.1
Release     : 9.gitee06d03.fc23
Size        : 38 M
Repo        : @System
From repo   : updates
Summary     : Automates deployment of containerized applications
URL         : https://github.com/projectatomic/docker
License     : ASL 2.0
Description : Docker is an open-source engine that automates the deployment of any
            : application as a lightweight, portable, self-sufficient container that will
            : run virtually anywhere.
            : 
            : Docker containers can encapsulate any payload, and will run consistently on
            : and between virtually any server. The same container that a developer builds
            : and tests on a laptop will run at scale, in production*, on VMs, bare-metal
            : servers, OpenStack clusters, public instances, or combinations of the above.

Available Packages
Name        : docker
Arch        : src
Epoch       : 1
Version     : 1.10.0
Release     : 21.gitd3f4a34.fc23
Size        : 9.5 M
Repo        : maxamillion-docker110
Summary     : Automates deployment of containerized applications
URL         : https://github.com/projectatomic/docker
License     : ASL 2.0
Description : Docker is an open-source engine that automates the deployment of any
            : application as a lightweight, portable, self-sufficient container that will
            : run virtually anywhere.
            : 
            : Docker containers can encapsulate any payload, and will run consistently on
            : and between virtually any server. The same container that a developer builds
            : and tests on a laptop will run at scale, in production*, on VMs, bare-metal
            : servers, OpenStack clusters, public instances, or combinations of the above.

Comment 2 Igor Gnatenko 2016-04-11 11:28:18 UTC
Your package has Epoch 1 while Fedora package has Epoch 2.

Epoch has more priority than Version, so change Epoch to 2 in your package in COPR repo, rebuild and then it will be upgraded automatically.

Comment 3 Nick Coghlan 2016-04-18 06:45:14 UTC
Following up: Adam has a new COPR at maxamillion/docker-test that has the epoch set correctly so upgrade work as expected (it also has Docker 1.11 rather than Docker 1.10)


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