ubuntu-sdk is broken

Bug #1588225 reported by pramathesh ambasta
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu SDK IDE
Incomplete
Undecided
Unassigned

Bug Description

I have a clean install of Ubuntu 16.04 on my notebook. I have had ubuntu-sdk earlier and it has worked fine.

Installing the sdk I needed to create a kit for my aquaris 4.5 device (ubuntu-sdk-15.04-armhf). Kit creation repeatedly failed because of some dependcy issues.

I browsed the web and came up with some results (https://bugs.launchpad.net/ubuntu/+source/oxide-qt/+bug/1543215) but they did not help. Even though I have a a recent click, I could not run it with the "-k" option.

Ultimately I purged everything and added the ubuntu-sdk tools-developer ppa and reinstalled. It seemed to work.,

Today update manager notified me of updates. I updated the system but the update could not complete because of broken packages mainly lxcfs and lxd.

What is wrong?

Revision history for this message
pramathesh ambasta (pramathesh-ambasta) wrote :

I did a complete purge of the repository and then added it again. Then reinstalled the sdk.

At the end of the install process I got an error regarding configuration of schroot, ubuntu-sdk and ubuntu-sdk-ide packages.

I did sudo dpkg --configure -a

The results of the command are:
*****************************************************
sudo dpkg --configure -a
Setting up schroot (1.6.10-1ubuntu3) ...
insserv: warning: script 'K01runmbbservice' missing LSB tags and overrides
insserv: warning: script 'runmbbservice' missing LSB tags and overrides
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service runmbbservice and ondemand if started
insserv: loop involving service ondemand at depth 8
insserv: loop involving service runmbbservice at depth 1
insserv: Starting runmbbservice depends on ondemand and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package schroot (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of ubuntu-sdk-ide:
 ubuntu-sdk-ide depends on schroot; however:
  Package schroot is not configured yet.

dpkg: error processing package ubuntu-sdk-ide (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-sdk:
 ubuntu-sdk depends on ubuntu-sdk-ide; however:
  Package ubuntu-sdk-ide is not configured yet.

dpkg: error processing package ubuntu-sdk (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 schroot
 ubuntu-sdk-ide
 ubuntu-sdk
****************************************

*However*, ubuntu-sdk is running and it has also updated the 15.04-armhf kit I had created.

Revision history for this message
Benjamin Zeller (zeller-benjamin) wrote :

It seems to me you have been using one of our bleeding edge ppa's. All ppa's except the release ppa might contain packages that are in beta or even earlier states. However we just released a new set of beta packages into the tools-development ppa. Please try again with them at let me know if it helps.
Also see:

https://developer.ubuntu.com/en/blog/2016/06/14/calling-testers-new-ubuntu-sdk-ide-post/

Changed in ubuntu-sdk-ide:
status: New → Incomplete
Revision history for this message
Petras (klavishas) wrote :

I Just did clean install of ubuntu mate (I dont use ubuntu on my desktop, I had to resize partition to make place for separate ubuntu distro, cause to install the ubuntu sdk on any other linux distro is mission impossible; i wasted time just to find it does not work! argh). I did everything as oficial instruction. And this **** PoS cant work (the lxd warning at the startup). How you guys in the cannonical think somebody will write/port the apps to ubuntu touch if the shit does not work?

Revision history for this message
Petras (klavishas) wrote :

I just did fresh ubuntu (that version with unity) 16.10 instal, and it ends up with the same shit. How to get the sdk working? How you guys do that?

What I need to do with this lxd and what is it?, write normal and TESTED documentation how to get the SDK working on your own PoS.

Revision history for this message
Benjamin Zeller (zeller-benjamin) wrote :

I do not know how you end up with schroot based warnings. The SDK does not depend on that anymore.
The official way of installing the IDE is by using the Ubuntu SDK PPA:

sudo add-apt-repository ppa:ubuntu-sdk-team/ppa && sudo apt update && sudo apt dist-upgrade && sudo apt install ubuntu-sdk-ide

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.