package sudo 1.8.9p5-1ubuntu1 failed to install/upgrade: el subproceso instalado el script pre-removal devolvió el código de salida de error 1

Bug #1416215 reported by Axel Andres Valderrama Valderrama
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sudo (Ubuntu)
New
Undecided
Unassigned

Bug Description

Trying to install some libbs, this error apears... i guess that is because this is a 32x system and those libb use a 64x sudo, so that.

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: sudo 1.8.9p5-1ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-44.73-generic 3.13.11-ckt12
Uname: Linux 3.13.0-44-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.6
Architecture: amd64
Date: Thu Jan 29 13:18:02 2015
DuplicateSignature: package:sudo:1.8.9p5-1ubuntu1:el subproceso instalado el script pre-removal devolvió el código de salida de error 1
ErrorMessage: el subproceso instalado el script pre-removal devolvió el código de salida de error 1
InstallationDate: Installed on 2015-01-22 (7 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
SourcePackage: sudo
Title: package sudo 1.8.9p5-1ubuntu1 failed to install/upgrade: el subproceso instalado el script pre-removal devolvió el código de salida de error 1
UpgradeStatus: No upgrade log present (probably fresh install)
VisudoCheck:
 /etc/sudoers análisis OK
 /etc/sudoers.d/README análisis OK

Revision history for this message
Axel Andres Valderrama Valderrama (sachiel-song) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Fernando Acero (facemar) wrote :
Download full text (4.9 KiB)

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

Read more...

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

I have resolved the problem upgrading sudo in kubuntu 14.04 LTS

I have deleted all files starting with sudo on var/cache/apt/archives/

sudo rm -rf sudo*

After download sudo_1.8.9p5-1ubuntu1.1_i386.deb from repository

sudo dpkg -i sudo_1.8.9p5-1ubuntu1.1_i386.deb

Best regards

Revision history for this message
Brian Murray (brian-murray) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 1579584, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.