Thank you, Lars, for this reply. Em 22-07-2011 14:11, Lars Bamberger escreveu: On 22.07.2011 18:30, Fernando Oliveira wrote: > >I noticed a >>"paco" command. I installed and now very much appreciate it. >> > >Jup, it's pretty neat! But please, don't just install it, read the >appropriate hint at >http://www.linuxfromscratch.org/hints/downloads/files/paco.txt
I did not know this URL, but the text is the same as I had read in http://paco.sourceforge.net/doc/lfs_hint.txt which is referred in paco's Documentation page http://paco.sourceforge.net/doc.html as "LFS hint (obsolete)", Why obsolete, no idea. >Attempt to remove with "make uninstall" was unsuccessful, and using >>paco, apparently nothing happens, probably due to the same error >>occurring with "make uninstall". >> > >I don't know what you mean. Paste EXACTLY what you are trying to do, I >mean the shell commands and the output. 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." >To remove a package with paco, the command would be: 'paco -r >$packagename'. Please read the manual: 'man paco' Exactly what I did first. The command $ sudo paco -r iptables-1.4.7 Senha: $ (gives no output, and goes to an empty prompt.) 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 $ 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? > >Also, there's a graphical version, gpaco available. Yes, it is installed by default with paco, and is pretty good. >I strongly recommend that you uninstall packages BEFORE you install a >newer version. Additionally, you might want to make a backup (using >pacoball). ... >$ cd paco-build-DDMMYY >$ tar xf $PACKAGE >$ cd $PACKAGE >$ make config && make && make check >$ paco -r $OLD-PACKAGE >$ paco -lD "make install" && ldconfig >$ cd ../.. The first time I needed to uninstall (unpaco?) was with iptables, but unfortunately it was following (next day, perhaps) paco installation, and I forgot. Indeed, I did not notice, but the Download link from paco to sourgeforge gives a page with just 2.0.8 and 2.0.7, so I had an older version installed. I have upgraded to 2.0.9 some minutes ago, I attach the script used, part of due to your post. $ paco paco paco-2.0.9 Thank you very much, again. []s, Fernando de Oliveira Natal, RN, BRAZIL PS. The only place virtual or real I have to discuss compilation matters is this list, so I apologize if something seems not appropriate.
paco-2.0.9.sh
Description: Bourne shell script
-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
