Skip to content

Conversation

@Duncaen
Copy link
Member

@Duncaen Duncaen commented Jun 15, 2025

This fix a bug where xbps would install an existing package again if xbps-install is called with one of its provided virtual packages. This change will avoid this, but keep the case where when there is a real package for this virtual package that the real package gets installed.

% xbps-query -p provides strace
cmd:strace-6.15_1
cmd:strace-log-merge-6.15_1
# xbps-install cmd:strace
Name   Action    Version           New version            Download size
strace install   6.15_1            6.15_1                 - 

Size required on disk:        2103KB
Space available on disk:        25GB

Do you want to continue? [Y/n] 

And after the patch:

# xbps-install cmd:strace
ERROR: Package `cmd:strace' already installed.

Copy link
Member

@classabbyamp classabbyamp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sgtm

@Duncaen Duncaen merged commit a634e82 into void-linux:master Jun 24, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants