error message, I do think the package has been removed but I got the annoying message:
[root@A fontconfig]# pacman -R gcalctool
removing gcalctool... var/lib/pacman/local/gcalctool-4.3.51-1/install: line 22: post_remove: command not found
Or is it tied to my system, but I reinstalled my system that doesn't solve my problem with pacman, whose version is the lastest one, pacman-2.7.9-1.pkg.tar.gz.
Thanks in advance.
This means that the gcalctool uses older gcalctool.install file without post_remove function defined. See /var/abs/extra/gnome/gcalctool/gcalctool.install and compare it to /var/abs/install.proto (template)
AFAIR post_remove was introduced not so far ago. I don't think there is something to worry about (gcalctool uses only post_install and post_update and the rest is just empty or missing but pacman tries to find it so it displays error message).
If you want to know about it more read man makepkg.
EDIT: of course the package is properly removed.
Thank you very much for your quick answer for my question, now I know it. But I am afraid that there are a plenty of such packages in the archlinux ftp, if I don't misunderstand, they need a new install script or to be recompiled.
Recompiling will not help. You just have to add an "empty" post_remove function (like the one in install.proto) and repackage it. But this is really a minor problem and it will be solved "automatically" with new releases of these packages (hopefully with new intall files).
sounds like this might be a worthy bug report
I am not your friend
Judd knows about the problem and it contemplating a solution.
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal