Skip to content

lib: remove automatic self replacement#691

Open
Duncaen wants to merge 3 commits into
void-linux:masterfrom
Duncaen:remove-self-replaces
Open

lib: remove automatic self replacement#691
Duncaen wants to merge 3 commits into
void-linux:masterfrom
Duncaen:remove-self-replaces

Conversation

@Duncaen

@Duncaen Duncaen commented Jun 26, 2026

Copy link
Copy Markdown
Member

Packages previously automatically added a replacemnet on their own package name so that they can easily replace virtual packages providing that same package name. This causes some unexpected behaviour where util-linux added to hostmakedepends in xbps-src will automatically replace chroot-util-linux and destroy the build chroot doing that.

In general this might have been a bit more useful previously before alternatives allowed to install some virtual packages in parallel.

The test is changed to test wheter explict self replacement works.

Duncaen added 3 commits June 26, 2026 21:56
Packages previously automatically added a replacemnet on their own
package name so that they can easily replace virtual packages providing
that same package name. This causes some unexpected behaviour where
util-linux added to hostmakedepends in xbps-src will automatically replace
chroot-util-linux and destroy the build chroot doing that.

In general this might have been a bit more useful previously before
alternatives allowed to install some virtual packages in parallel.
@Duncaen Duncaen force-pushed the remove-self-replaces branch from 3ae007d to b3e4d94 Compare June 26, 2026 19:57
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