void-linux / xbps

The X Binary Package System (XBPS)
https://voidlinux.org/xbps/
Other
822 stars 124 forks source link

Package updates does not remove noextract'ed files #518

Open Carmina16 opened 2 years ago

Carmina16 commented 2 years ago

If a package installs a file foo, and there is a noextract rule that excludes that file, and if the package is updated, the old version of foo will not be cleaned properly and the file will be left over.

Vaelatern commented 2 years ago

noextract doesn't apply to installed packages

Carmina16 commented 2 years ago

Really? I'm still getting messages that foo was not extracted during the upgrade. Is that message lying?

Vaelatern commented 2 years ago

give an example?

Duncaen commented 1 year ago

Making xbps remove files that its not tracking seems like it could lead to deleting user data.