[Pkg-ganeti-devel] Bug#677674: Bug#677674: ganeti2: does not install cleanly

Iustin Pop iusty at k1024.org
Sat Jun 16 08:43:17 UTC 2012


On Sat, Jun 16, 2012 at 01:04:50AM +0200, Toni Mueller wrote:
> Package: ganeti2
> Version: 2.5.1-1
> Severity: normal
> 
> Dear Maintainer,
> 
> while trying to install ganeti2, I get:
> 
> 
> # aptitude install ganeti2
> ...
> [master ce2b39c] committing changes in /etc after apt run
>  5 files changed, 2036 insertions(+)
>  create mode 100644 bash_completion.d/ganeti
>  create mode 100644 cron.d/ganeti
>  create mode 100644 default/ganeti
>  create mode 100755 init.d/ganeti
> E: Sub-process /usr/bin/dpkg returned an error code (1)

Hmm, what is this git output? Could it be that the git hooks failed
somehow?

> A package failed to install.  Trying to recover:
> Setting up ganeti2 (2.5.1-1) ...
> update-rc.d: error: defaults takes only one or two codenumbers
> usage: update-rc.d [-n] [-f] <basename> remove
>        update-rc.d [-n] <basename> defaults [NN | SS KK]
>        update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] .
>        update-rc.d [-n] <basename> disable|enable [S|2|3|4|5]
>                 -n: not really
>                 -f: force
> 
> The disable|enable API is not stable and might change in the future.
> dpkg: error processing ganeti2 (--configure):
>  subprocess installed post-installation script returned error exit status 1
> Processing triggers for python-support ...
> Errors were encountered while processing:
>  ganeti2
>                                          
> #
> 
> 
> I purged the package, then tried to re-install, getting the same
> effect.

Hmm, this is strange, I always test packages for installation before
uploading a new release and I haven't seen this. Furthermore, the
piuparts service shows ganeti installing correctly
(http://piuparts.debian.org/sid/pass/ganeti2_2.5.1-1.log):

  The following NEW packages will be installed:
    ganeti2
  0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
  Need to get 1390 kB of archives.
  After this operation, 5016 kB of additional disk space will be used.
  Get:1 http://piatti.debian.org/debian/ sid/main ganeti2 all 2.5.1-1 [1390 kB]
  debconf: delaying package configuration, since apt-utils is not installed
  Fetched 1390 kB in 0s (27.4 MB/s)
  Selecting previously unselected package ganeti2.
  (Reading database ... 9527 files and directories currently installed.)
  Unpacking ganeti2 (from .../ganeti2_2.5.1-1_all.deb) ...
  Setting up ganeti2 (2.5.1-1) ...
  invoke-rc.d: policy-rc.d denied execution of start.
  Processing triggers for python-support ...

So no errors in the setting up phase.

Maybe update-rc.d has changed since I uploaded? I'll check anew, thanks
for the report.

thanks,
iustin





More information about the Pkg-ganeti-devel mailing list