MCUXpresso Ubuntu 18.04 Install - Dependency Problems

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MCUXpresso Ubuntu 18.04 Install - Dependency Problems

Jump to solution
6,192 Views
andrew_murfin
Contributor II

Hello.  I'm attempting to install MCUXpresso onto Ubuntu 18.04.  As per the current installation guide for Ubuntu, I did chmod to make the .deb.bin file executable, and executed it as root.  Here are the results:  

root@andys_ubuntu_external:/home/amurfin/Downloads# ./mcuxpressoide-10.2.0_759.x86_64.deb.bin
Verifying archive integrity... All good.
Uncompressing mcuxpressoide installer 100%
Installing...
(Reading database ... 169414 files and directories currently installed.)
Preparing to unpack JLink_Linux_x86_64.deb ...
Removing /opt/SEGGER/JLink ...
Unpacking jlink (6.32.2) over (6.32.2) ...
Setting up jlink (6.32.2) ...
Selecting previously unselected package mcuxpressoide.
(Reading database ... 169414 files and directories currently installed.)
Preparing to unpack mcuxpressoide-10.2.0_759.x86_64.deb ...
Unpacking mcuxpressoide (10.2.0) ...
dpkg: mcuxpressoide: dependency problems, but configuring anyway as you requested:
mcuxpressoide depends on libncurses5:i386.
mcuxpressoide depends on libusb-1.0-0-dev; however:
Package libusb-1.0-0-dev is not installed.
mcuxpressoide depends on dfu-util; however:
Package dfu-util is not installed.
mcuxpressoide depends on libwebkitgtk-1.0-0; however:
Package libwebkitgtk-1.0-0 is not installed.

Setting up mcuxpressoide (10.2.0) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
grub-pc-bin
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
mcuxpressoide
0 upgraded, 0 newly installed, 1 to remove and 35 not upgraded.
After this operation, 1,389 MB disk space will be freed.
(Reading database ... 185214 files and directories currently installed.)
Removing mcuxpressoide (10.2.0) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1) ...
root@andys_ubuntu_external:/home/amurfin/Downloads#

It seems like the problem comes with the dependency problems.  The installation guide says all necessary packages should be installed automatically.  I am currently attempting to install the packages one-by-one anyway, if I can find the right versions.  Please let me know if this is the correct route or if this is a known issue.

Thanks

-Andy

1 Solution
3,429 Views
lpcxpresso_supp
NXP Employee
NXP Employee

Thanks for your report. This is not a known issue.

We have been unable to replicate the problem you see, so have opened an internal bug report for further investigation.  Perhaps you could help in discovering what it is about your circumstances that produces this behaviour?

First I should say that this logging text is completely expected:

Unpacking mcuxpressoide (10.2.0) ...
dpkg: mcuxpressoide: dependency problems, but configuring anyway as you requested:
mcuxpressoide depends on libncurses5:i386.
mcuxpressoide depends on libusb-1.0-0-dev; however:
Package libusb-1.0-0-dev is not installed.
mcuxpressoide depends on dfu-util; however:
Package dfu-util is not installed.
mcuxpressoide depends on libwebkitgtk-1.0-0; however:
Package libwebkitgtk-1.0-0 is not installed.

It is normally merely a precursor to the installation of those packages.  For example, my own example continued:

Setting up mcuxpressoide (10.2.0) ...

Processing triggers for mime-support (3.60ubuntu1) ...

Reading package lists... Done

Building dependency tree       

Reading state information... Done

Correcting dependencies... Done

The following additional packages will be installed:

  gcc-8-base:i386 libc6:i386 libgcc1:i386 libgpm2:i386

  libjavascriptcoregtk-1.0-0 libncurses5 libncurses5:i386 libncursesw5

  libtinfo5 libtinfo5:i386 libwebkitgtk-1.0-0

Suggested packages:

  glibc-doc:i386 locales:i386 gpm:i386

The following NEW packages will be installed:

  gcc-8-base:i386 libc6:i386 libgcc1:i386 libgpm2:i386

  libjavascriptcoregtk-1.0-0 libncurses5:i386 libtinfo5:i386

  libwebkitgtk-1.0-0

The following packages will be upgraded:

  libncurses5 libncursesw5 libtinfo5

3 upgraded, 8 newly installed, 0 to remove and 100 not upgraded.

where yours continued:

The following package was automatically installed and is no longer required:
grub-pc-bin
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
mcuxpressoide
0 upgraded, 0 newly installed, 1 to remove and 35 not upgraded.

i.e. your example is preceding as if you had request the uninstallation of the mcuxpressoide package, rather than its installation.

This begs the question: did you have an "mcuxpressoide" package previously installed?  (It looks as if you must have.)  Could you tell us something about that installation?

I have re-rerun our installation script a second time locally, investigated the possibilities its command line arguments afford and tried omitting the license acceptance.  None of the things I've seen look as if they are intended uninstall mcuxpressoide.

Could I ask you (a) whether this is repeatable, does it happen if you install a second time?; and (b) what happens if you run the installer after:

sudo apt autoremove

 I am currently attempting to install the packages one-by-one anyway, if I can find the right versions.

I worry that it is more of a problem that the script has decided to uninstall mcuxpressoide rather than install it, but with respect to those dependencies - it has identified exactly which packages it needs in the log.  You can install them manually simply by using

sudo apt install libusb-1.0-0-dev dfu-util libwebkitgtk-1.0-0

(I would recommend that you precede this by updating your packages anyway with

sudo apt update
sudo apt upgrade

(c) Obviously we would also be interested in knowing whether, once you have done this, you find that the installation proceeds more successfully.

Sincerely

MCUXpresso IDE Support

View solution in original post

10 Replies
3,429 Views
notused
Contributor II

https://community.nxp.com/thread/502959  This worked and IMHO, even there are many Linux flavors, that should be part of the installation manual.

0 Kudos
3,429 Views
ljupco_stojcesk
Contributor I

Hello, 

I am trying to install mcuxpressoide-11.0.0_2516.x86_64.deb on Ubuntu 19.04 and it fails due to the dependency on libwebkitgtk-1.0-0. The library cannot be installed because it is deprecated in Ubuntu 19.04 and newer versions are installed. 

Can you please help how to proceed. I am stuck at the moment.

thanks!

0 Kudos
3,429 Views
kuruibonny
Contributor III

Did manage it to install in  19.04 bit of fixing dependency issues you can check the blog post I authored here

0 Kudos
3,429 Views
cervenka
Contributor III

How did you solve issue?

I cannot access document you provided.

0 Kudos
3,429 Views
lpcxpresso_supp
NXP Employee
NXP Employee

Unfortunately we only currently support MCUXpresso IDE on Ubuntu 16.04 LTS and 18.04 LTS. We are aware of issues with Ubuntu 19 such as the one you mention, which we are looking into.

Note though that the next Ubuntu release we will officially support (in a future MCUXpresso IDE release) will be Ubuntu 20.04 LTS (which is due for release in Q2 2020).

Regards,

MCUXpresso IDE Support

0 Kudos
3,429 Views
jendoss
Contributor I

I was experienced the same problem during preparing the notebook to the NXP seminar. Because the failure was unacceptable, I found the way to success.
The condition: notebook Samsung N350, fresh installed Debian 9.0 "Stretch" 64bits, after run the installation script does the program install, then calls the dpkg for the tuning and the dpkg does uninstall the program for "solve dependencies conflict". Well, the conflict resolved, but the task was not done.
I guess, that on all of the computers with success installation, was previously installed wine. Because the wine requires the multi-architecture support, for the 32-bits and 64-bits program execution. We've got a 64-bits system, but the installer requires 32-bits version of libncurses5 (probably only for accepting the license agreement on the text screen). For the installation of this library, we need to enable the i386 architecture support:
sudo dpkg --add-architecture i386
then do the update (required):
sudo apt-get update
then install the required libraries in i386 architecture:
sudo apt-get install libncurses5:i386 libtinfo5:i386 libc6:i386
then try to install the MCUxpresso again.
Good luck!

0 Kudos
3,429 Views
syakovlev
Contributor I

Similar problem here.

I was trying to install mcuxpressoide-10.3.0_2200.x86_64.deb.bin

on fresh installation of Debian 18.04 stretch.

Computer_1 HW is based on 2.8Ghz Pentium 4 with hyperthreading.

Computer_2 HW is based on 3.4Ghz Pentium 4 with dual core capabilities.

Results are the same.

Verifying archive integrity... All good.

Uncompressing mcuxpressoide installer 100%
Installing...
(Reading database ... 300660 files and directories currently installed.)
Preparing to unpack JLink_Linux_x86_64.deb ...
Removing /JLink ...
/JLink not found (OK)
Unpacking jlink (6.40) over (6.40) ...
Setting up jlink (6.40) ...
Selecting previously unselected package mcuxpressoide.
(Reading database ... 300660 files and directories currently installed.)
Preparing to unpack mcuxpressoide-10.3.0_2200.x86_64.deb ...
Unpacking mcuxpressoide (10.3.0) ...
dpkg: mcuxpressoide: dependency problems, but configuring anyway as you requested:
mcuxpressoide depends on libncurses5:i386.

Setting up mcuxpressoide (10.3.0) ...
Processing triggers for gnome-menus (3.13.3-9) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Processing triggers for mime-support (3.60) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
mcuxpressoide
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 1,406 MB disk space will be freed.
(Reading database ... 316985 files and directories currently installed.)
Removing mcuxpressoide (10.3.0) ...
Removing mcuxpressoide symbolic link...
Processing triggers for mime-support (3.60) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Processing triggers for gnome-menus (3.13.3-9) ...

Question is: Where do I get libncurses5:i386 ?

0 Kudos
3,429 Views
andrew_murfin
Contributor II

Thanks for trying to help!

This is a brand new OS installed earlier yesterday, so there is no possibility that MCUXpresso was already installed.  This was most definitely repeatable, after multiple attempts. 

In the process of installing one of the packages, most of the utilities on my Ubuntu's hard drive were removed, making it useless.  I'm starting to believe the problem was not with MCUXpresso, perhaps my Ubuntu was corrupted.  I will be re-installing Ubuntu on my machine today, hopefully it will be able to install MCUXpresso without issues after that.  

0 Kudos
3,430 Views
lpcxpresso_supp
NXP Employee
NXP Employee

Thanks for your report. This is not a known issue.

We have been unable to replicate the problem you see, so have opened an internal bug report for further investigation.  Perhaps you could help in discovering what it is about your circumstances that produces this behaviour?

First I should say that this logging text is completely expected:

Unpacking mcuxpressoide (10.2.0) ...
dpkg: mcuxpressoide: dependency problems, but configuring anyway as you requested:
mcuxpressoide depends on libncurses5:i386.
mcuxpressoide depends on libusb-1.0-0-dev; however:
Package libusb-1.0-0-dev is not installed.
mcuxpressoide depends on dfu-util; however:
Package dfu-util is not installed.
mcuxpressoide depends on libwebkitgtk-1.0-0; however:
Package libwebkitgtk-1.0-0 is not installed.

It is normally merely a precursor to the installation of those packages.  For example, my own example continued:

Setting up mcuxpressoide (10.2.0) ...

Processing triggers for mime-support (3.60ubuntu1) ...

Reading package lists... Done

Building dependency tree       

Reading state information... Done

Correcting dependencies... Done

The following additional packages will be installed:

  gcc-8-base:i386 libc6:i386 libgcc1:i386 libgpm2:i386

  libjavascriptcoregtk-1.0-0 libncurses5 libncurses5:i386 libncursesw5

  libtinfo5 libtinfo5:i386 libwebkitgtk-1.0-0

Suggested packages:

  glibc-doc:i386 locales:i386 gpm:i386

The following NEW packages will be installed:

  gcc-8-base:i386 libc6:i386 libgcc1:i386 libgpm2:i386

  libjavascriptcoregtk-1.0-0 libncurses5:i386 libtinfo5:i386

  libwebkitgtk-1.0-0

The following packages will be upgraded:

  libncurses5 libncursesw5 libtinfo5

3 upgraded, 8 newly installed, 0 to remove and 100 not upgraded.

where yours continued:

The following package was automatically installed and is no longer required:
grub-pc-bin
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
mcuxpressoide
0 upgraded, 0 newly installed, 1 to remove and 35 not upgraded.

i.e. your example is preceding as if you had request the uninstallation of the mcuxpressoide package, rather than its installation.

This begs the question: did you have an "mcuxpressoide" package previously installed?  (It looks as if you must have.)  Could you tell us something about that installation?

I have re-rerun our installation script a second time locally, investigated the possibilities its command line arguments afford and tried omitting the license acceptance.  None of the things I've seen look as if they are intended uninstall mcuxpressoide.

Could I ask you (a) whether this is repeatable, does it happen if you install a second time?; and (b) what happens if you run the installer after:

sudo apt autoremove

 I am currently attempting to install the packages one-by-one anyway, if I can find the right versions.

I worry that it is more of a problem that the script has decided to uninstall mcuxpressoide rather than install it, but with respect to those dependencies - it has identified exactly which packages it needs in the log.  You can install them manually simply by using

sudo apt install libusb-1.0-0-dev dfu-util libwebkitgtk-1.0-0

(I would recommend that you precede this by updating your packages anyway with

sudo apt update
sudo apt upgrade

(c) Obviously we would also be interested in knowing whether, once you have done this, you find that the installation proceeds more successfully.

Sincerely

MCUXpresso IDE Support

3,429 Views
andrew_murfin
Contributor II

I was able to successfully install MCUXpresso after re-installing Ubuntu.  

0 Kudos