I am trying to install the “package”-git package while I already have “package” installed. “package” is a dependency of a lot of other packages which I do not like to remove and reinstall.
How to replace gracefully a “package” for its “package”-git version?
Generally the “package-git” will conflict with the “package” while installing. For example tenacity-git from AUR has conflicts=(tenacity) in it’s PKGBUILD which means it will automatically prompt you to remove tenacity during installation. The git package should normally replace the package without any problems.
Problem was that unpaper 6.1 produced 0 byte output images and caused gscan2pdf to not work.
So my first thought was to try installing the unpaper-git from AUR but that didn’t work.
Anyhow:
With a direct git compile of unpaper 6.2 it works as expected. Don’t know why.
I had to link the compiled binary to the .local/bin though: ln -s ~/source/unpaper/builddir/unpaper ~/.local/bin/unpaper