Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#76441 - [pacman] pacman 6.0.2-5 breaks if openssl is not a dependency of pacman

Attached to Project: Arch Linux
Opened by Steven Ponsford (sp4rchy) - Sunday, 06 November 2022, 02:32 GMT
Last edited by Toolybird (Toolybird) - Sunday, 06 November 2022, 04:52 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

pacman 6.0.2-5 breaks if openssl(3.0.7-2) is not a dependency of pacman, or if system was not yet upgraded with other core packages that have openssl (with libcrypto.so.3) as their dependency. Recent upgrade of pacman broke if I only upgraded pacman before upgrading other packages that have openssl as their dependency, libcrypto.so.3 is part of openssl. There are three openssl packages in core, when pacman tried to find libcrypto.so.3, which is a part of the newer openssl-3.0.7-2(and a coreutils and other core packages dependency), it failed saying it couldn't find libcrypto.so.3 and broke pacman-6.0.2-5.
This happened when only upgrading pacman before upgrading many other packages(coreutils, etc.,) that have openssl(with libcrypto.so.3) as a dependency, or before upgrading openssl which libcrypto.so.3 is a part of.
Although other pacman dependencies, like coreutils, curl, etc., are shown with openssl as a dependency, openssl is not shown as a dependency of pacman 6.0.2-5.

Additional info:
* package version(s)
pacman 6.0.2-5
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 06 November 2022, 04:52 GMT
Reason for closing:  Not a bug
Additional comments about closing:  See comments
Comment by Doug Newgard (Scimmia) - Sunday, 06 November 2022, 02:42 GMT
Partial updates are not supported. You either update your entire system or you update nothing.
Comment by Steven Ponsford (sp4rchy) - Sunday, 06 November 2022, 03:12 GMT
It wasn't a partial update as pacman was looking for libcrypto.so.3 which is part of openssl(3.0.7-2) and couldn't find because openssl wasn't listed as a dependency of pacman and so therefore pacman when upgrading itself didn't pull it in. There are dependencies of pacman that have openssl(with libcrypto.so.3), but pacman is THE core system package to upgrade your system, openssl should just be required as a pacman dependency.
I did finish updating my entire system but I had to use an emergency statically linked pacman (pacman-static from AUR) to 'update nothing'.
Comment by Doug Newgard (Scimmia) - Sunday, 06 November 2022, 03:14 GMT
"...if I only upgraded pacman before upgrading other packages"

That's the DEFINITION of a partial update.

Loading...