You are not logged in.

#1 2004-05-27 15:11:24

ganlu
Member
From: ChongQing, China
Registered: 2004-01-04
Posts: 360

Have anyone got the same message when remove certain package

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
done.
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.

Offline

#2 2004-05-27 17:57:09

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: Have anyone got the same message when remove certain package

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.

Offline

#3 2004-05-28 03:44:17

ganlu
Member
From: ChongQing, China
Registered: 2004-01-04
Posts: 360

Re: Have anyone got the same message when remove certain package

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.

Offline

#4 2004-05-29 00:06:23

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: Have anyone got the same message when remove certain package

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).

Offline

#5 2004-05-29 00:42:56

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Have anyone got the same message when remove certain package

sounds like this might be a worthy bug report  wink


AKA uknowme

I am not your friend

Offline

#6 2004-05-29 04:39:07

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: Have anyone got the same message when remove certain package

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

Offline

Board footer

Powered by FluxBB