vmware-archive / salt-pack

Salt Package Builder
Apache License 2.0
55 stars 23 forks source link

Fedora 28 packages depend on python2-tornado 4, making dnf unhappy #570

Closed viq closed 6 years ago

viq commented 6 years ago

Currently on fedora 28 salt depends on python2-tornado 4, whereas repos have python2-tornado 5, which makes dnf very unhappy during dnf upgrade:

$ sudo dnf upgrade 
Last metadata expiration check: 0:00:16 ago on Thu 05 Jul 2018 18:29:05 CEST.
Dependencies resolved.

 Problem: package salt-2018.3.2-1.fc28.noarch requires python-tornado < 5.0, but none of the providers can be installed
  - cannot install both python2-tornado-5.0.2-2.fc28.x86_64 and python2-tornado-4.5.2-2.fc28.x86_64
  - cannot install both python2-tornado-4.5.2-2.fc28.x86_64 and python2-tornado-5.0.2-2.fc28.x86_64
  - cannot install the best update candidate for package salt-2018.3.2-1.fc28.noarch
  - cannot install the best update candidate for package python2-tornado-4.5.2-2.fc28.x86_64
====================================================================================================================================
 Package                             Arch                       Version                           Repository                   Size
====================================================================================================================================
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 python2-tornado                     x86_64                     5.0.2-2.fc28                      updates                     746 k

Transaction Summary
====================================================================================================================================
Skip  1 Package

Nothing to do.
Complete!

Upgrading as it suggests with dnf upgrade --best --allowerasing upgrades tornado, and removes salt due to unmet dependencies.

dmurphy18 commented 6 years ago

@viq Will correct this and update for all versions of Fedora, remove limitation of tornado < 5.0

dmurphy18 commented 6 years ago

@viq Fix has been submitted, see https://bodhi.fedoraproject.org/updates/FEDORA-2018-2ce9e3267a

If this satisfies your issue, can you consider closing this issue.

For future reference, salt-pack is the correct place to file issues with salt packaging, https://github.com/saltstack/salt-pack

dmurphy18 commented 6 years ago

awaiting confirmation of fix

dmurphy18 commented 6 years ago

@viq can you confirm this is fixed and if so, close the issue

dmurphy18 commented 6 years ago

Closing this, please reopen if the problem reoccurs