On 23.07.2011 01:24, Fernando Oliveira wrote:
>  
> For
> uninstalling iptables-1.4.7, for example:
> $
> ./configure ... && sudo make uninstall
> Senha:
> Making
> uninstall in extensions
> make[1]: Entrando no diretório
> `/media/dados/home/fernando/tmp/iptables-1.4.7/extensions'
> make[1]:
> ***  Sem regra para processar o alvo `uninstall'. 
> Pare.
> make[1]: Saindo do diretório
> `/media/dados/home/fernando/tmp/iptables-1.4.7/extensions'
> make:
> ** [uninstall-recursive] Erro 1
> $ 
> Essentially,
> "No rules to process target `uninstall'. Stop."

OK, so 'make uninstall' fails. That's a problem with the package then.
Personally, I've never used 'make uninstall' in any package. I do it via
paco, or 'unpaco' as you called it. :-)

> $ sudo
> paco -r iptables-1.4.7
> Senha:
> $
> (gives
> no output, and goes to an empty prompt.)

If 'paco -r $PACKAGE' does not return any output, it should have
completed without any error and have removed all files that have been
registered with that package. Also, that package should have been
removed form paco's database. To verify, after a 'paco -r
iptables-1.4.7', a 'paco iptables-1.4.7' should also not return anything.

> Trying
> to batch remove, with (after the text you suggested and I read
> elsewhere, before):
> $ sudo
> paco -rx --batch iptables
> Senha:
> $ paco
> iptables
> iptables-1.4.11  iptables-1.4.11.1 
> iptables-1.4.7

I have paco-2.0.9 and the option 'x' does not exist in the
documentation. (Typo?)

That command should have removed all files associated with all
registered iptables packages and the database entry as well.

Going on a hunch here: Try it again in a shell as the superuser proper,
and not via sudo.

> Therefore,
> I assume that failure of first method implies the other failures.
> More generally, if a package cannot be uninstalled, the it cannot be
> unpacoed?

I don't think there is a connection that way. paco simply deletes the
files it has registered in its database as being associated with that
specific package. paco does not need the package source in order to call
'make uninstall'.

The only thing I can think of right now is that sudo prevents paco from
successfully deleting the files. So my suggestion at this time would be
to try it again as the superuser proper. Also, you could add the '-vv'
option to paco. That will create lots of verbose output and help solving
the problem.


> PS. The only place virtual or real I have to discuss compilation matters is 
> this list, so I apologize if something seems not appropriate.

This is the right place!

Lars

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to