cannot install libssl-dev due to phased updates?
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| apt (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
I have two Vagrant boxes: one with Ubuntu 18.04 LTS, one with Ubuntu 20.04 LTS. Both currently refuse to install libssl-dev for me:
vagrant@
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libssl-dev : Depends: libssl1.1 (= 1.1.1f-1ubuntu2.4) but 1.1.1f-1ubuntu2.5 is to be installed
E: Unable to correct problems, you have held broken packages.
vagrant@
libssl-dev:
Installed: (none)
Candidate: 1.1.1f-1ubuntu2.4
Version table:
1.
500 http://
1.
500 http://
1.
500 http://
vagrant@
libssl1.1:
Installed: 1.1.1f-1ubuntu2.5
Candidate: 1.1.1f-1ubuntu2.5
Version table:
*** 1.1.1f-1ubuntu2.5 100
100 /var/lib/
1.
500 http://
1.
500 http://
1.
500 http://
(The 18.04 box is in a similar situation.)
packages.ubuntu.com says that libssl1.1 1.1.1f-1ubuntu2.5 is the current version available in focal-updates. I'm pretty sure my VM here doesn't see it because of apt's phased updates (but I only know this because I'm following the blogs on Planet Ubuntu; the error message give no clue!).
I have no idea how to resolve this in a generic way (it's an Ansible playbook that fails for me). As a manual fix, I suppose I could downgrade libssl1.1 to 1.1.1f-1ubuntu2.4, but I don't want to hardcode specific version numbers -- I expect 1.1.1f-1ubuntu2.5 will be available universally some time soon?
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: apt 2.0.6
ProcVersionSign
Uname: Linux 5.4.0-80-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
Date: Mon Aug 23 07:08:34 2021
InstallationDate: Installed on 2021-08-11 (11 days ago)
InstallationMedia: Ubuntu-Server 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)

On a closer look it may just be a mirror inconsistency.
There's no Phased- Update- Percentage field in /var/lib/ apt/lists/ lt.archive. ubuntu. com_ubuntu_ dists_focal- updates_ main_binary- amd64_Packages for the libssl-dev entry, and the only available version is 1.1.1f-1ubuntu2.4.