[lxc-users] lxd_2.0.0~beta4-0ubuntu1~ubuntu14.04.1~ppa1_amd64.deb failed to update
Stéphane Graber
stgraber at ubuntu.com
Wed Feb 24 16:10:29 UTC 2016
Hi,
Sorry about that, I indeed screwed up the preinst for the upgrade case
and only tested a clean install (not upgrade)...
Anyway, Martin Pitt was kind enough to fix it pretty quickly in the
Ubuntu archive which then automatically made its way to all the PPAs.
On Wed, Feb 24, 2016 at 07:15:26AM -0500, Michel Dubé wrote:
> 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
>
> ++++++++++++++++++++++++++++++++++++++++++++++++=
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160224/099ab7d8/attachment.sig>
More information about the lxc-users
mailing list