[lxc-users] lxd_2.0.0~beta4-0ubuntu1~ubuntu14.04.1~ppa1_amd64.deb failed to update

Michel Dubé michel at humanity.net
Wed Feb 24 12:15:26 UTC 2016


Hi!

I launched these updates this morning on a test server:

lxd_2.0.0~beta4-0ubuntu1~ubuntu14.04.1~ppa1_amd64.deb
lxd-client_2.0.0~beta4-0ubuntu1~ubuntu14.04.1~ppa1_amd64.deb

lxd-client passed but lxd failed.

Here are the first error message I got:

Do you want to continue? [Y/n]
Get:1 http://ppa.launchpad.net/ubuntu-lxc/lxd-stable/ubuntu/ trusty/main
lxd amd64 2.0.0~beta4-0ubuntu1~ubuntu14.04.1~ppa1 [3,994 kB]
Get:2 http://ppa.launchpad.net/ubuntu-lxc/lxd-stable/ubuntu/ trusty/main
lxd-client amd64 2.0.0~beta4-0ubuntu1~ubuntu14.04.1~ppa1 [1,814 kB]
Fetched 5,807 kB in 2s (2,003 kB/s)
Preconfiguring packages ...
(Reading database ... 76200 files and directories currently installed.)
Preparing to unpack
.../lxd_2.0.0~beta4-0ubuntu1~ubuntu14.04.1~ppa1_amd64.deb ...
lxd stop/waiting
postinst called with unknown argument `upgrade'
dpkg: error processing archive
/var/cache/apt/archives/lxd_2.0.0~beta4-0ubuntu1~ubuntu14.04.1~ppa1_amd64.deb
(--unpack):
 subprocess new pre-installation script returned error exit status 1
lxd start/running, process 24909
Preparing to unpack
.../lxd-client_2.0.0~beta4-0ubuntu1~ubuntu14.04.1~ppa1_amd64.deb ...
Unpacking lxd-client (2.0.0~beta4-0ubuntu1~ubuntu14.04.1~ppa1) over
(2.0.0~beta3-0ubuntu4~ubuntu14.04.1~ppa1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/lxd_2.0.0~beta4-0ubuntu1~ubuntu14.04.1~ppa1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

So I downloaded the ded package and tried to install it manually.  Here's
what I got:

# dpkg -i lxd_2.0.0~beta4-0ubuntu2_amd64.deb
(Reading database ... 76200 files and directories currently installed.)
Preparing to unpack lxd_2.0.0~beta4-0ubuntu2_amd64.deb ...
lxd stop/waiting
Unpacking lxd (2.0.0~beta4-0ubuntu2) over
(2.0.0~beta3-0ubuntu4~ubuntu14.04.1~ppa1) ...
dpkg: dependency problems prevent configuration of lxd:
 lxd depends on init-system-helpers (>= 1.18~); however:
  Version of init-system-helpers on system is 1.14.
 lxd depends on lsb-base (>= 4.1+Debian11ubuntu7); however:
  Version of lsb-base on system is 4.1+Debian11ubuntu6.

dpkg: error processing package lxd (--install):
 dependency problems - leaving unconfigured
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Errors were encountered while processing:
 lxd

After many many tries with dependancies, I got everything up and running.
Luckily for me this happened on a test server.

Thanks to all the team for the excellent work you do!

Michel

++++++++++++++++++++++++++++++++++++++++++++++++=
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160224/53f37535/attachment.html>


More information about the lxc-users mailing list