Unmet dependencies?

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

Unmet dependencies?

Jump to solution
2,728 Views
nathan4
Contributor II

Installing MCUXpresso 11 on my Ubuntu 18.04.2 LTS virtual machine results in unmet dependencies.  Below is a snapshot showing the install process:

wget -nv -O /tmp/mcuxpresso11.0.0.deb.bin https://freescaleesd.flexnetoperations.com/337170/387/14523387/mcuxpressoide-11.0.0_2516.x86_64.deb....
chmod +x /tmp/mcuxpresso11.0.0.deb.bin
/tmp/mcuxpresso11.0.0.deb.bin --tar xvf -C /tmp
dpkg -i --force-depends /tmp/JLink_Linux_x86_64.deb
dpkg -i --force-depends /tmp/mcuxpressoide-11.0.0_2516.x86_64.deb

After installation apt-get will complain about unmet dependencies:

You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
mcuxpressoide : Depends: libncurses5:i386 but it is not installable
Depends: libusb-1.0-0-dev but it is not going to be installed
Depends: dfu-util but it is not going to be installed
Depends: libwebkitgtk-1.0-0 but it is not going to be installed
nmap : Depends: liblinear3 (>= 2.01+dfsg) but it is not going to be installed
Depends: liblua5.3-0 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

I've tried solutions on other posts related to unmet dependencies but none of them have resolve the issue.  I need to fulfill the dependencies so apt doesn't complain.

1 Solution
2,400 Views
nathan4
Contributor II

Following this thread it seems the files are missing because my virtual machine is headless: https://community.nxp.com/thread/477369


The dependencies can be be resolved using:

dpkg --add-architecture i386
apt-get update

View solution in original post

4 Replies
2,400 Views
inventthings
Contributor II

I had the same problems and adding the i386 arch fixed it.

It appears that the it's due to a dependency on libncurses5:i386

0 Kudos
2,401 Views
nathan4
Contributor II

Following this thread it seems the files are missing because my virtual machine is headless: https://community.nxp.com/thread/477369


The dependencies can be be resolved using:

dpkg --add-architecture i386
apt-get update

2,400 Views
lpcxpresso_supp
NXP Employee
NXP Employee

So we are rather curious as to what you are actually doing here - as you appear to be trying to bypass the MCUXpresso IDE installer. What happens if you simply install using the installer that we provide following the instructions given in the MCUXpresso IDE v11.0.0 Installation Guide, which can be viewed at:

Regards,

MCUXpresso IDE Support

0 Kudos
2,400 Views
nathan4
Contributor II

The auto installer doesn't work on my Ubuntu 18.04.2 LTS virtual machine.  After your installer script installs the files it does an apt-get --fix-broken which removes mcuxpressoide because the installation is broken due to these missing dependencies:

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.

After some digging around I was able to extract your installation package so I could step through it one line at a time.  That's what got me this far.  But it doesn't matter if I do it manually or with the auto installer both have the exact same result because of the missing dependencies.  I'll attach log files so you can see both.

0 Kudos