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

Toni Mueller support at oeko.net
Sat Jun 16 21:37:04 UTC 2012


Hi,

On Sat, Jun 16, 2012 at 11:21:57PM +0200, Iustin Pop wrote:
> Yes, but note that the error code is from before the update-rc message.

it's probably from postinst.

> Could you please post the un-abbreviated install log? I'm curious if
> there are any other errors before "dpkg returned an error code".

The log is attached below. Please note that there are some control
characters left in the log. Sorry for cutting out the important part in
the first attempt.

> > I can't really tell. It has been like this for a while, but I have only
> > just gotten around to verify that this problem is likely to be in your
> > package.
> 
> For a while?

I think I first tried to install ganeti2 in March 2011 (2.1.6 back
then), then it got de-installed at 2.4.5, and now I can't install it.


Kind regards,
--Toni++

Script started on Sat 16 Jun 2012 11:27:20 PM CEST
# dpkg --purge ganeti2
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 656606 files and directories currently installed.)
Removing ganeti2 ...
[....] Stopping Ganeti cluster:[....] ganeti-confd...[?25l7[ ok 8[?12l[?25hdone.
[....] ganeti-rapi...[?25l7[ ok 8[?12l[?25hdone.
[....] ganeti-masterd...[?25l7[ ok 8[?12l[?25hdone.
[....] ganeti-noded...[?25l7[ ok 8[?12l[?25hdone.
Purging configuration files for ganeti2 ...
dpkg: warning: while removing ganeti2, directory '/var/lib/ganeti' not empty so not removed.
Processing triggers for python-support ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 1 removed doc-base file...
Registering documents with scrollkeeper...
# find  /var/lib/ganeti/
/var/lib/ganeti/
/var/lib/ganeti/uidpool
/var/lib/ganeti/rapi
/var/lib/ganeti/queue
/var/lib/ganeti/queue/archive
/var/lib/ganeti/queue/lock
/var/lib/ganeti/watcher.data
# apt-get install ganeti2
[  0%] Reading package lists                            [100%] Reading package lists                            [  0%] Building dependency tree                               [100%] Building dependency tree                               [  0%] Reading state information                                [  6%] Reading state information                                [  0%] Reading extended state information                                         [  0%] Initializing package states                                  [  0%] Writing extended state information                                         The following NEW packages will be installed:
  ganeti2 
0 packages upgraded, 1 newly installed, 0 to remove and 40 not upgraded.
Need to get 0 B/1390 kB of archives. After unpacking 5016 kB will be used.
[  0%] Writing extended state information                                         [100%] Writing extended state information                                         [master 5da7843] saving uncommitted changes in /etc prior to apt run
 5 files changed, 2036 deletions(-)
 delete mode 100644 bash_completion.d/ganeti
 delete mode 100644 cron.d/ganeti
 delete mode 100644 default/ganeti
 delete mode 100755 init.d/ganeti
Selecting previously unselected package ganeti2.
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 656366 files and directories currently installed.)
Unpacking ganeti2 (from .../cache/ganeti2_2.5.1-1_all.deb) ...
Processing triggers for doc-base ...
Processing 1 added doc-base file...
Registering documents with scrollkeeper...
Processing triggers for man-db ...
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
[master 692542d] 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)
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
[  0%] Reading package lists                            [  0%] Building dependency tree                               [100%] Building dependency tree                               [  0%] Reading state information                                [  6%] Reading state information                                [  0%] Reading extended state information                                         [  0%] Initializing package states                                  [  0%] Writing extended state information                                         
# exit

Script done on Sat 16 Jun 2012 11:29:54 PM CEST





More information about the Pkg-ganeti-devel mailing list