okay, this is probably just a bit simplistic but can you make a "upgrade" for libreoffice-bin, that contains/runs a simple script to install libreoffice and then uninstalls libreoffice-bin - or am I missing something ?
---
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/voidlinux/void-packages/issues/4182#issuecomment-219093810
You mean a one-file `libreoffice-bin` that runs `xbps-install libreoffice && xbps-remove libreoffice-bin` in the INSTALL for the package?
---
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/voidlinux/void-packages/issues/4182#issuecomment-219129677
Essentially I guess so, but I have no idea of the impact or advisability, just seemed a simple solution
---
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/voidlinux/void-packages/issues/4182#issuecomment-219137650
It depends on if the INSTALL runs inside the xbps transaction or afterwards.
In case it's during the transaction, it would probably fail or even deadlock, because the update tries to remove the currently updated package...
I fear there is no easy way around this essential problem - yet.
---
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/voidlinux/void-packages/issues/4182#issuecomment-219171549
okay this is going to sound even lamer and suckier.....!
Fork and sleep ?
---
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/voidlinux/void-packages/issues/4182#issuecomment-219176138
You are right. It is lamer and suckier. As well as racier (imagine installing texlive-bin after this) and still does not avoid the essential issues.
Adding a one-time runit script that then removes itself on successful run might work, but seems extremely hacky.
---
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/voidlinux/void-packages/issues/4182#issuecomment-219260403
Perhaps an `replace_with` variable in xbps to direct xbps to replace a given package with another.
---
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/voidlinux/void-packages/issues/4182#issuecomment-219267060
What's so hard about using `xbps-install -Sf libreoffice` ?
---
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/voidlinux/void-packages/issues/4182#issuecomment-219267719
It doesn't get caught in a `-u`
---
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/voidlinux/void-packages/issues/4182#issuecomment-219268334
Is there a way to identify obsolete packages or would I have to script that myself?
---
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/voidlinux/void-packages/issues/4182#issuecomment-221328352
you mean for installed package on a running system ? `xbps-install -Sun` for instance. See `xbps-install(1)` man page.
---
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/voidlinux/void-packages/issues/4182#issuecomment-221330389
that didn't pick up libreoffice for me - I run this sans -n practically every day...
---
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/voidlinux/void-packages/issues/4182#issuecomment-221330927