You are not logged in.
Pages: 1
When updating pinentry today it said
warning: /usr/bin/pinentry installed as /usr/bin/pinentry.pacnew
There is not much difference in the original & new scripts but wondering why it occurred; I certainly have not been poking at it
Mack
Offline
It has been added to backup() of PKGBUILD in last release. And possibly thats the reason.
As pinentry of old version is different from pinentry of new version.
So pacman thinks that old version is modified one and hence new version is installed as pacnew.
Last edited by amish (2018-06-29 07:32:52)
Offline
Offline
The bugreport was closed, so what am I supposed to do here. I don't understand why this was done. In six years of using Arch, I was never supposed to edit files under /usr/bin...
This can't be the right way to do things. (I understand why the pacnew is created. But the thing is it should never happen in the first place.)
Personal website: reboot.li
GitHub: github.com/rebootl
Offline
so what am I supposed to do here.
mv /usr/bin/pinentry.pacnew /usr/bin/pinentry
Unless you had your custom /usr/bin/pinentry
Offline
This can't be the right way to do things.
May be maintainer could have written a small "post-installation" script.
If $(md5sum usr/bin/pinentry) eq "XXXXXXXX"
then
mv usr/bin/pinentry.pacnew usr/bin/pinentry
fi
But probably its first time a script from /usr/bin is put in backup() so something new to learn and try to avoid in future.
Offline
Thx for your reply.
Idk, I think what bugged me the most was the tone from the assigned person in the bugreport, while it's clearly unusual to have scripts in the backup array...
There is really no point in doing this. It cannot be right to cause trouble and confusion for _everyone_ in order to solve _one's_ problem.
Even the requester himself suggested to put it in /etc, twice. https://bugs.archlinux.org/task/58979
Jeesh, if people want to override default behaviour systemwide they can even put their scripts in /usr/local/bin. I think it's searched first.
At the very least a notification output during update would've probably avoided all of this.
Thx
Personal website: reboot.li
GitHub: github.com/rebootl
Offline
Jeesh, if people want to override default behaviour systemwide they can even put their scripts in /usr/local/bin. I think it's searched first.
I'm told you think wrong. Apparently gpg hardcodes the pinentry path into itself at configure time. So any version in /usr/local/bin does not get used. I have not tested this...
Offline
rebootl wrote:Jeesh, if people want to override default behaviour systemwide they can even put their scripts in /usr/local/bin. I think it's searched first.
I'm told you think wrong. Apparently gpg hardcodes the pinentry path into itself at configure time. So any version in /usr/local/bin does not get used. I have not tested this...
I can confirm this, and clarify that GnuPG hardcodes the pinentry in the same directory as the bindir for the GnuPG installation itself (with a ./configure option to override that with a different hardcoded location).
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
Pages: 1