Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1965758 - Upgrade of libreswan fails on libldns
Summary: Upgrade of libreswan fails on libldns
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libreswan
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Paul Wouters
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1965916 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-29 11:55 UTC by scroolik
Modified: 2021-06-01 01:05 UTC (History)
6 users (show)

Fixed In Version: libreswan-4.4-2.fc33
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-01 01:05:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description scroolik 2021-05-29 11:55:23 UTC
Description of problem:
I would like to upgrade my system. libreswan-4.3-1.fc33.x86_64 cannot be upgraded becuse it requires libldns.so.2()(64bit), but none of the providers can be installed.

Version-Release number of selected component (if applicable):
libreswan-4.3-1.fc33.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Have following packages installed:

$ rpm -qa '*ldns*' '*libreswan*'
ldns-1.7.0-32.fc33.x86_64
libreswan-4.3-1.fc33.x86_64
NetworkManager-libreswan-1.2.14-1.fc33.x86_64
NetworkManager-libreswan-gnome-1.2.14-1.fc33.x86_64

2. Run dnf update -y

Actual results:

Problem: package libreswan-4.3-1.fc33.x86_64 requires libldns.so.2()(64bit), but none of the providers can be installed
  - cannot install both ldns-1.7.1-4.fc33.x86_64 and ldns-1.7.0-32.fc33.x86_64
  - cannot install the best update candidate for package libreswan-4.3-1.fc33.x86_64
  - cannot install the best update candidate for package ldns-1.7.0-32.fc33.x86_64
================================================================================
 Package        Architecture     Version                Repository         Size
================================================================================
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 ldns           x86_64           1.7.1-4.fc33           updates           160 k

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

Nothing to do.
Complete!


Expected results:
Upgrade suceeds


Additional info:

Comment 1 Jonathan S 2021-05-30 09:01:42 UTC
This is not an issue with updating libreswan - the latest version on Fedora 33 is libreswan-4.3-1

The problem is that libreswan on f33 requires libldns.so.2 and the ldns package is trying to update that file to libldns.so.3, hence the conflict.

This works fine on f34, where libreswan already requires libldns.so.3

Comment 2 Frank Crawford 2021-05-30 11:48:35 UTC
While it isn't an issue with updating libreswan, it is a packaging issue with libreswan, in that your current package expects libldns.so.2, and that is no longer available.

The fix is simple, bump the release to 2, and push a new build for F33.  There is very little work actually required.

Comment 3 Fedora Update System 2021-05-30 15:44:33 UTC
FEDORA-2021-07cfdcb4d4 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-07cfdcb4d4

Comment 4 John 2021-05-30 21:23:08 UTC
(In reply to scroolik from comment #0)
> Description of problem:
> I would like to upgrade my system. libreswan-4.3-1.fc33.x86_64 cannot be
> upgraded becuse it requires libldns.so.2()(64bit), but none of the providers
> can be installed.
> 
> Version-Release number of selected component (if applicable):
> libreswan-4.3-1.fc33.x86_64
> 
> How reproducible:
> Always.
> 
> Steps to Reproduce:
> 1. Have following packages installed:
> 
> $ rpm -qa '*ldns*' '*libreswan*'
> ldns-1.7.0-32.fc33.x86_64
> libreswan-4.3-1.fc33.x86_64
> NetworkManager-libreswan-1.2.14-1.fc33.x86_64
> NetworkManager-libreswan-gnome-1.2.14-1.fc33.x86_64
> 
> 2. Run dnf update -y
> 
> Actual results:
> 
> Problem: package libreswan-4.3-1.fc33.x86_64 requires libldns.so.2()(64bit),
> but none of the providers can be installed
>   - cannot install both ldns-1.7.1-4.fc33.x86_64 and
> ldns-1.7.0-32.fc33.x86_64
>   - cannot install the best update candidate for package
> libreswan-4.3-1.fc33.x86_64
>   - cannot install the best update candidate for package
> ldns-1.7.0-32.fc33.x86_64
> =============================================================================
> ===
>  Package        Architecture     Version                Repository        
> Size
> =============================================================================
> ===
> Skipping packages with conflicts:
> (add '--best --allowerasing' to command line to force their upgrade):
>  ldns           x86_64           1.7.1-4.fc33           updates          
> 160 k
> 
> Transaction Summary
> =============================================================================
> ===
> Skip  1 Package
> 
> Nothing to do.
> Complete!
> 
> 
> Expected results:
> Upgrade suceeds
> 
> 
> Additional info:

Comment 5 John 2021-05-30 21:23:55 UTC
I get the same error.

Comment 6 Fedora Update System 2021-05-31 01:25:16 UTC
FEDORA-2021-07cfdcb4d4 has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-07cfdcb4d4`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-07cfdcb4d4

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Paul Wouters 2021-05-31 17:57:12 UTC
*** Bug 1965916 has been marked as a duplicate of this bug. ***

Comment 8 Fedora Update System 2021-06-01 01:05:39 UTC
FEDORA-2021-07cfdcb4d4 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.


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