void-linux / xbps

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

ignorepkg does not work as declared #369

Closed ghost closed 3 years ago

ghost commented 3 years ago

My input: echo "ignorepkg=webkit2gtk" > /etc/xbps.d/20-ignore.conf xbps-remove webkit2gtk

Rusult: wxWidgets-gtk3-3.0.5.1_1: broken, unresolvable shlib `libwebkit2gtk-4.0.so.37' Transaction aborted due to unresolved shlibs

I need wxWidgets-gtk3 for audacity, but don't want to update webkit2gtk, what to do?

Vaelatern commented 3 years ago

Maybe try not removing the package that provides the necessary library? I'm not sure what you expected would happen when you removed a package providing a library your system still needed.

ericonr commented 3 years ago

ignorepkg can only be used for packages that are added to depends manually, XBPS simply doesn't allow breaking dynamic libraries. Removing webkit2gtk from your system would simply break wxWidgets, and XBPS doesn't want to allow that. Maybe the man page needs to be clearer about it.

ghost commented 3 years ago

Is it possible to just block the update and keep the old libs?

Chocimier commented 3 years ago

No, it will break eventually because soname will change. You may build your own wxWidgets-gtk3 with xbps-src with --disable-webview, if you find it better than not using webkit2gtk.

superiums commented 1 year ago

then how could we remove the pkg ?

i want to remove pkg: linux-firmware-intel which was dependented by linux-base, because i'm on AMD.