SDK installation problem

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

SDK installation problem

628 Views
davidshabat
Contributor I

I'm trying to install SDK on Ubuntu. When running the host_prepare script I get error as follow:

ubuntu-minimal is already the newest version.
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:
libsdl1.2-dev : Depends: libpulse-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
ERROR: Fail to install pkgs on host! See message above...

Trying to manuallu install libsdl1.2-dev:

david@ubuntu:~/LS1021/QorIQ-SDK-V1.8-20150619-yocto$ sudo apt-get -f install libsdl1.2-dev
Reading package lists... Done
Building dependency tree      
Reading state information... Done
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:
libsdl1.2-dev : Depends: libpulse-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Any ideas?

Thanks.

0 Kudos
1 Reply

485 Views
Pavel
NXP Employee
NXP Employee

We use the following command sequence under Ubuntu 12 or Ubuntu 14:

1. Install SDK for your core (CORTEXA7)

2. install SDK source

3. sudo ./poky/scripts/host-prepare.sh

4. Usually Linux recommends also run the following command: sudo usr/sbin/visudo


Have a great day,
Pavel

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos