The problem occurs when sudo:i386 is replacing sudo:amd64.

As the error message suggests please export SUDO_FORCE_REMOVE=yes to
make the operation succeed as a workaround, like this:

sudo env SUDO_FORCE_REMOVE=yes apt install sudo:i386


The original error message can be observed in DpkgTerminalLog.txt:

Desinstalando sudo (1.8.21p2-3ubuntu1) ...
You have asked that the sudo package be removed,
but no root password has been set.
Without sudo, you may not be able to gain administrative privileges.

If you would prefer to access the root account with su(1)
or by logging in directly,
you must set a root password with "sudo passwd".

If you have arranged other means to access the root account,
and you are sure this is what you want,
you may bypass this check by setting an environment variable 
(export SUDO_FORCE_REMOVE=yes).

Refusing to remove sudo.
dpkg: error al procesar el paquete sudo (--remove):
 instalado sudo paquete pre-removal guión el subproceso devolvió un error con 
estado de salida 1

** Changed in: sudo (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to sudo in Ubuntu.
https://bugs.launchpad.net/bugs/1783693

Title:
  failed to install winepackage sudo 1.8.21p2-3ubuntu1 failed to
  install/upgrade: instalado sudo paquete pre-removal guión el
  subproceso devolvió un error con estado de salida 1

Status in sudo package in Ubuntu:
  Invalid

Bug description:
  no direct access after installing wine

  ProblemType: Package
  DistroRelease: Ubuntu 18.04
  Package: sudo 1.8.21p2-3ubuntu1
  ProcVersionSignature: Ubuntu 4.15.0-29.31-generic 4.15.18
  Uname: Linux 4.15.0-29-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  Date: Thu Jul 26 00:28:22 2018
  ErrorMessage: instalado sudo paquete pre-removal guión el subproceso devolvió 
un error con estado de salida 1
  InstallationDate: Installed on 2018-07-21 (4 days ago)
  InstallationMedia: Lubuntu 18.04 LTS "Bionic Beaver" - Release amd64 
(20180426)
  Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 
3.6.5-3ubuntu1
  PythonDetails: N/A
  RelatedPackageVersions:
   dpkg 1.19.0.5ubuntu2
   apt  1.6.3
  SourcePackage: sudo
  Title: package sudo 1.8.21p2-3ubuntu1 failed to install/upgrade: instalado 
sudo paquete pre-removal guión el subproceso devolvió un error con estado de 
salida 1
  UpgradeStatus: No upgrade log present (probably fresh install)
  VisudoCheck:
   /etc/sudoers análisis OK
   /etc/sudoers.d/README análisis OK

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/1783693/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to