void-linux / void-packages

The Void source packages collection
https://voidlinux.org
Other
2.55k stars 2.13k forks source link

ca-certificates, openssl - something wrong with dependencies #29301

Closed unspecd closed 3 years ago

unspecd commented 3 years ago

System

Expected behavior

xbps-remove -Ro # should do nothing

Actual behavior

# xbps-remove -Ro
Name    Action    Version           New version            Download size
openssl remove    1.1.1j_2          -                      - 

Size freed on disk:           1718KB
Space available on disk:        14GB

Do you want to continue? [Y/n] 

Steps to reproduce the behavior

# xbps-install -Syu || xbps-install -yu xbps
# xbps-install -yu
# xbps-remove -yRo
# xbps-pkgdb ca-certificates
ERROR: ca-certificates: dependency not satisfied: openssl<=2.0_1

Also

$ xbps-query -x ca-certificates 
openssl<=2.0_1
run-parts>=0
$ xbps-query -X openssl
$ xbps-query -RX openssl
…
ca-certificates-20210119_2
…
ericonr commented 3 years ago

Can you show the xbps-remove -vd -Ro output? I can't reproduce this locally :/

unspecd commented 3 years ago

I can't reproduce this locally :/

It does reproduce with the latest live image.

Can you show the xbps-remove -vd -Ro output?

https://privatebin.net/?cfce7a0c584a8766#EJWGhK65MsVCdAE7PSfs51UtYepeMjy24DXiic4JYQJS

Permanent gist https://gist.github.com/ericonr/e7dc8c4fc31d779a151b8e3a16a02d9c

ericonr commented 3 years ago

@Duncaen or @Chocimier any idea? This looks more like a XBPS corner case...

unspecd commented 3 years ago

It does reproduce with the latest live image.

$ xuname
Void 5.10.20_2 x86_64 GenuineIntel/KVM uptodate rFF

https://privatebin.net/?55c03bd8de5aac83#A2Ai48aSArXHBc2kt6VotzbMHczFp4by2w6sRS2Re6Pe

unspecd commented 3 years ago

@ericonr Please update/replace gist.

unspecd commented 3 years ago

grep libressl log.txt

[DEBUG] /usr/share/xbps.d/void-virtualpkgs.conf: added virtualpkg openssl for libressl-openssl
[DEBUG] vpkg_user_conf: vpkg_conf openssl pkg libressl-openssl vpkgname openssl
[DEBUG] vpkg_user_conf: vpkg_conf openssl pkg libressl-openssl vpkgname openssl
Duncaen commented 3 years ago

/usr/share/xbps.d/void-virtualpkgs.conf shouldn't exist.

unspecd commented 3 years ago

Fixed by 0700dc22f9b23327b6b1f7ec262fbde58b246fc6