Mycroft Community Forum

Installation script trying to remove packages

Using the dev_setup script on Linux Mint 19 (Based on Ubuntu 18.04) tries to remove packages:

The following packages will be REMOVED:
  blender gstreamer0.10-plugins-good ia32-libs libasound2-plugins:i386
  libavdevice-ffmpeg56 libfluidsynth1:i386 libjack-jackd2-0
  libjack-jackd2-0:i386 libsdl-mixer1.2:i386
The following NEW packages will be installed:
  flac gir1.2-harfbuzz-0.0 icu-devtools jq libasound2-dev libexpat1-dev
  libfann-dev libfann2 libffi-dev libglib2.0-dev libglib2.0-dev-bin
  libgraphite2-dev libharfbuzz-dev libharfbuzz-gobject0 libicu-dev
  libicu-le-hb-dev libicu-le-hb0 libiculx60 libjack-dev libjack0 libjpeg-dev
  libjpeg-turbo8-dev libjpeg8-dev libjq1 libonig4 libout123-0 libpcre3-dev
  libpcre32-3 libpcrecpp0v5 libportaudiocpp0 libpython-dev libpython2.7-dev
  libpython3-dev libpython3.6-dev libssl-dev libtool mpg123 portaudio19-dev
  python-dev python-gobject-2-dev python-setuptools python2.7-dev python3-dev
  python3.6-dev screen swig swig3.0 uuid-dev zlib1g-dev
0 upgraded, 49 newly installed, 9 to remove and 0 not upgraded.

Why does it conflict with blender and ia32-libs? I need both. Willing to investigate the cause as I would like to give Mycroft a try but not by removing other software that I depend on. :slight_smile:

If you run “sudo apt install -f” does it tell you anything interesting?

apt-get install -f does not do anything because there are no proken packages to fix. After fiddling around with the packages and apt-get for a bit I can at least state that the problem seems to be with the dependency on libjack0. If you look at what packages the install script for mycroft wants to install, and you try to install them manually, you can actually make the problem with blender go away by explicitly stating it in the install request. The same goes for ia32-libs, but:
apt-get install python3.6-dev screen swig swig3.0 uuid-dev zlib1g-dev blender ia32-libs libjack0
results in

The following packages have unmet dependencies:
 libjack-jackd2-0:i386 : Conflicts: libjack-0.116
                         Conflicts: libjack-0.125
                         Conflicts: libjack0 but 1:0.125.0-3 is to be installed
 libjack0 : Conflicts: libjack-0.116:i386
            Conflicts: libjack-0.125:i386

So obviously the installation of libjack0 conflicts with the i386 library for libjack0 from the ia32-libs package.

I can’t replicate this on Ubuntu 18.04 unfortunately - Ubuntu is our reference OS.

Totally understand the need to retain Blender - it’s excellent software.

This may be a related thread;
https://forums.linuxmint.com/viewtopic.php?t=269466

TBH I feel this is more a Linux Mint 32-bit libraries issue than a Mycroft issue to resolve.

1 Like

Hi,

I am getting the same issue with Ubuntu 20.10 (64 bit, Gnome)

libjack-jackd2-0 required by loads of things conflicts with libjack0 required by mycroft.

I got around this on my other PC by creating its own partition with Xubuntu, but I can’t do that here at the moment.
I tried the snap, hoping to maybe get around this, but it failed to setup on first run.

@goldyfruit helped me hack my libjack-jackd2-0 package so it could co-exist with libjack0.

2 Likes