Looks like the culprit here is python3, as doing

  apt install python3:i386

causes the removal of several important packages. This in a Jammy LXD
container and after doing `dpkg --add-architecture i386`.

The python3 package is marked Multi-Arch: allowed, so I would expect the
i386 package to be co-installable without breaking the world, but I'm
unsure on how this is supposed to be supported in Ubuntu (as Lucas
mentioned i386 is not officially supported). Maybe we're just inheriting
the Multi-Arch settings from Debian? I added a python3 task, let's see
if we can get more information from a Python maintainer.

Relevant output (use `-o Debug::pkgProblemResolver=yes` for more
verbosity):

root@paride-j:~# apt-get -s install python3.10-minimal:amd64 
python3.10-minimal:i386
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3.10-minimal is already the newest version (3.10.6-1~22.04).
python3.10-minimal set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 python3.10-minimal : Conflicts: python3.10-minimal:i386 but 3.10.6-1~22.04 is 
to be installed
 python3.10-minimal:i386 : Recommends: python3.10:i386 but it is not going to 
be installed
                           Conflicts: python3.10-minimal but 3.10.6-1~22.04 is 
to be installed
E: Unable to correct problems, you have held broken packages.


** Package changed: python3-defaults (Ubuntu) => python3.10 (Ubuntu)

** Changed in: samba (Ubuntu)
       Status: New => Incomplete

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

Title:
  Installing samba-dev:i386 breaks Ubuntu 22.04.1.

Status in python3.10 package in Ubuntu:
  New
Status in samba package in Ubuntu:
  Incomplete

Bug description:
  Ubuntu 22.04.1 LTS:  sudo apt install samba-dev:i386

  Installs a bunch of stuff relating to the libreoffice suite and at the
  tail end of the installation of the above-named package, apt removes a
  plethora of absolutely essential packages need to use Ubuntu,
  including, but not limited to the entire desktop, gdm, and the ability
  to access the internet to download any packages with apt.  The entire
  virtual machine (other than a rudimentary terminal when booting up)
  was broken after installing samba-dev:i386 and needed to be restored
  from a backup.  Please either have apt refuse to install samba-
  dev:i386, or at the very least, provide a complete list of essential
  packages that will be removed with a mandatory interactive
  confirmation to proceed.

  I had tried to install this package, which is one of the dependencies
  for building Wine from source:

  Wine ... configure: 32-bit/64-bit libnetapi not found, Samba NetAPI
  won't be supported.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.10/+bug/1993081/+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