El Jueves, 10 de Diciembre de 2009 19:08:06 usted escribió:
> Hello Raúl,
>
> the error message you provided is incomplete as it starts with dpkg trying
> to setup smcroute, but you say you're trying to uninstall it.
I'm sorry about this, I'll try to amed it.
>
> Can you please provide a complete log that includes the command line you
> were using to uninstall smcroute?
OK, I hope this is more helpful:
$ LANG=C sudo aptitude install smcroute
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following partially installed packages will be configured:
smcroute
0 packages upgraded, 0 newly installed, 0 to remove and 26 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up smcroute (0.94-1) ...
Starting static multicast router daemon: ERRO:
open(/proc/sys/net/ipv6/conf/all/mc_forwarding); Errno(13): Permission denied
invoke-rc.d: initscript smcroute, action "start" failed.
dpkg: error processing smcroute (--configure):
subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
smcroute
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up smcroute (0.94-1) ...
Starting static multicast router daemon: ERRO:
open(/proc/sys/net/ipv6/conf/all/mc_forwarding); Errno(13): Permission denied
invoke-rc.d: initscript smcroute, action "start" failed.
dpkg: error processing smcroute (--configure):
subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
smcroute
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
>
> Some more questions:
> - What permissions are set on the file
> /proc/sys/net/ipv6/conf/all/mc_forwarding ?
$ ls -l /proc/sys/net/ipv6/conf/all/mc_forwarding
-r--r--r-- 1 root root 0 dic 11 11:30
/proc/sys/net/ipv6/conf/all/mc_forwarding
cat /proc/sys/net/ipv6/conf/all/mc_forwarding
0
> - Is smcroute running while you are trying to uninstall it?
ps aux |grep smc
root 9625 0.0 0.0 9344 876 pts/4 S+ 11:32 0:00 grep smc
So looks not.
....And funny enough I got it purged now, after all of the above:
LANG=C sudo aptitude purge smcroute
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages will be REMOVED:
smcroute{p}
0 packages upgraded, 0 newly installed, 1 to remove and 26 not upgraded.
Need to get 0B of archives. After unpacking 131kB will be freed.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database ... 217410 files and directories currently installed.)
Removing smcroute ...
Stopping static multicast router daemon: ERRO: daemon not running ?; Errno(2):
No such file or directory
smcroute.
Purging configuration files for smcroute ...
Processing triggers for man-db ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
Now it is actually uninstalled.
>
> Regards
> Micha
>
Thanks and regards,
--
Raúl Sánchez Siles
Departamento de Montaje
INFOGLOBAL, S. A.
* C/ Virgilio, 2. Ciudad de la Imagen.
28223 Pozuelo de Alarcón (Madrid), España
* T: +34 91 506 40 00
* F: +34 91 506 40 01
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]