Bug 1902084 - system-upgrade fails when openssh-ldap is installed
Summary: system-upgrade fails when openssh-ldap is installed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: openssh
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Jelen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-26 20:18 UTC by Chris Murphy
Modified: 2020-12-05 01:39 UTC (History)
9 users (show)

Fixed In Version: openssh-8.4p1-4.fc33
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-05 01:39:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Chris Murphy 2020-11-26 20:18:28 UTC
Description of problem:

If openssh-ldap is installed on Fedora 31/32, systemd-upgrade to Fedora 33 fails.


Version-Release number of selected component (if applicable):
openssh-ldap-8.3p1-3.fc32.x86_64 -> ? since it's deprecated in fc33

How reproducible:
Always


Steps to Reproduce:
1. Clean install Fedora 32 Workstation, full update to current, install openssh-ldap
2. dnf system-upgrade download --refresh --releasever=33 -
3.

Actual results:

Error: 
 Problem: package openssh-ldap-8.3p1-3.fc32.x86_64 requires openssh = 8.3p1-3.fc32, but none of the providers can be installed
  - openssh-8.3p1-3.fc32.x86_64 does not belong to a distupgrade repository
  - problem with installed package openssh-ldap-8.3p1-3.fc32.x86_64
(try to add '--skip-broken' to skip uninstallable packages)


Expected results:

Since it's deprecated, the only way forward is to remove it. It should just be automatically removed.


Additional info:


Still fails with -skip-broken

Comment 1 Jakub Jelen 2020-11-30 08:33:45 UTC
The new openssh has correctly set:

  Obsoletes: openssh-ldap <= 8.3p1-3

It looks like it is not enough for a clean update so we will probably need to add it to the fedora-obsolete-packages too ...

Comment 2 Mattias Ellert 2020-11-30 10:23:13 UTC
(In reply to Jakub Jelen from comment #1)
> The new openssh has correctly set:
> 
>   Obsoletes: openssh-ldap <= 8.3p1-3
> 
> It looks like it is not enough for a clean update so we will probably need
> to add it to the fedora-obsolete-packages too ...

The Obsolete is for the wrong version. The version in Fedora 32 is 8.3p1-3.fc32 which is not <= 8.3p1-3.
The correct Obsoletes is

Obsoletes: openssh-ldap < 8.3p1-4

Comment 3 Jakub Jelen 2020-12-01 08:55:05 UTC
Thank you for pointing out the issue.

One would naively think that

  Obsoletes: openssh-ldap <= 8.3p1-3

is the same as

  Obsoletes: openssh-ldap < 8.3p1-4

Let me fix that in the next update.

Comment 4 Miro Hrončok 2020-12-01 09:56:18 UTC
The difference is that 8.3p1-3.fc32 is not <= 8.3p1-3.

Comment 5 Fedora Update System 2020-12-01 12:48:47 UTC
FEDORA-2020-ee81b5c54f has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-ee81b5c54f

Comment 6 Fedora Update System 2020-12-02 01:38:53 UTC
FEDORA-2020-ee81b5c54f has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-ee81b5c54f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-ee81b5c54f

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

Comment 7 Fedora Update System 2020-12-05 01:39:24 UTC
FEDORA-2020-ee81b5c54f 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.