Comment 2 for bug 1416215

Revision history for this message
Fernando Acero (facemar) wrote :

I have the same problem during my last update/upgrade:

sudo apt-get upgrade
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Calculando la actualización... Listo
Se actualizarán los siguientes paquetes:
sudo
1 actualizados, 0 se instalarán, 0 para eliminar y 0 no actualizados.
Se necesita descargar 0 B/329 kB de archivos.
Se utilizarán 0 B de espacio de disco adicional después de esta operación.
¿Desea continuar? [S/n] s
(Leyendo la base de datos ... 298831 ficheros o directorios instalados actualmente.)
Preparing to unpack .../sudo_1.8.9p5-1ubuntu1.1_i386.deb ...
/etc/init.d/sudo: 1: /etc/init.d/sudo: Leyendo: not found
/etc/init.d/sudo: 2: /etc/init.d/sudo: Creando: not found
/etc/init.d/sudo: 3: /etc/init.d/sudo: Leyendo: not found
/etc/init.d/sudo: 4: /etc/init.d/sudo: opensc: not found
/etc/init.d/sudo: 5: /etc/init.d/sudo: pcsc-tools: not found
Unknown option: ya
Usage: pcscd options
Options:
-a, --apdu log APDU commands and results
-c, --config path to reader.conf
-f, --foreground run in foreground (no daemon),
send logs to stdout instead of syslog
-T, --color force use of colored logs
-h, --help display usage information
-H, --hotplug ask the daemon to rescan the available readers
-v, --version display the program version number
-d, --debug display lower level debug messages
--info display info level debug messages
-e --error display error level debug messages (default level)
-C --critical display critical only level debug messages
--force-reader-polling ignore the IFD_GENERATE_HOTPLUG reader capability
-t, --max-thread maximum number of threads (default 200)
-s, --max-card-handle-per-thread maximum number of card handle per thread (default: 200)
-r, --max-card-handle-per-reader maximum number of card handle per reader (default: 200)
-x, --auto-exit pcscd will quit after 60 seconds of inactivity
-S, --reader-name-no-serial do not include the USB serial number in the name
-I, --reader-name-no-interface do not include the USB interface name in the name
/etc/init.d/sudo: 7: /etc/init.d/sudo: Se: not found
/etc/init.d/sudo: 8: /etc/init.d/sudo: libopenct1: not found
/etc/init.d/sudo: 9: /etc/init.d/sudo: Se: not found
/etc/init.d/sudo: 10: /etc/init.d/sudo: libopenct1: not found
/etc/init.d/sudo: 11: /etc/init.d/sudo: 0: not found
/etc/init.d/sudo: 12: /etc/init.d/sudo: Necesito: not found
/etc/init.d/sudo: 13: /etc/init.d/sudo: Se: not found
/etc/init.d/sudo: 14: /etc/init.d/sudo: ¿Desea: not found
invoke-rc.d: initscript sudo, action "stop" failed.
dpkg: aviso: el subproceso script de `pre-removal' antiguo devolvió el código de salida de error 127
dpkg: probando el script del nuevo paquete en su lugar...
/etc/init.d/sudo: 1: /etc/init.d/sudo: Leyendo: not found
/etc/init.d/sudo: 2: /etc/init.d/sudo: Creando: not found
/etc/init.d/sudo: 3: /etc/init.d/sudo: Leyendo: not found
/etc/init.d/sudo: 4: /etc/init.d/sudo: opensc: not found
/etc/init.d/sudo: 5: /etc/init.d/sudo: pcsc-tools: not found
Unknown option: ya
Usage: pcscd options
Options:
-a, --apdu log APDU commands and results
-c, --config path to reader.conf
-f, --foreground run in foreground (no daemon),
send logs to stdout instead of syslog
-T, --color force use of colored logs
-h, --help display usage information
-H, --hotplug ask the daemon to rescan the available readers
-v, --version display the program version number
-d, --debug display lower level debug messages
--info display info level debug messages
-e --error display error level debug messages (default level)
-C --critical display critical only level debug messages
--force-reader-polling ignore the IFD_GENERATE_HOTPLUG reader capability
-t, --max-thread maximum number of threads (default 200)
-s, --max-card-handle-per-thread maximum number of card handle per thread (default: 200)
-r, --max-card-handle-per-reader maximum number of card handle per reader (default: 200)
-x, --auto-exit pcscd will quit after 60 seconds of inactivity
-S, --reader-name-no-serial do not include the USB serial number in the name
-I, --reader-name-no-interface do not include the USB interface name in the name
/etc/init.d/sudo: 7: /etc/init.d/sudo: Se: not found
/etc/init.d/sudo: 8: /etc/init.d/sudo: libopenct1: not found
/etc/init.d/sudo: 9: /etc/init.d/sudo: Se: not found
/etc/init.d/sudo: 10: /etc/init.d/sudo: libopenct1: not found
/etc/init.d/sudo: 11: /etc/init.d/sudo: 0: not found
/etc/init.d/sudo: 12: /etc/init.d/sudo: Necesito: not found
/etc/init.d/sudo: 13: /etc/init.d/sudo: Se: not found
/etc/init.d/sudo: 14: /etc/init.d/sudo: ¿Desea: not found
invoke-rc.d: initscript sudo, action "stop" failed.
dpkg: error al procesar el archivo /var/cache/apt/archives/sudo_1.8.9p5-1ubuntu1.1_i386.deb (--unpack):
el subproceso script pre-removal nuevo devolvió el código de salida de error 127
Se encontraron errores al procesar:
/var/cache/apt/archives/sudo_1.8.9p5-1ubuntu1.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)