Bug#677674: [Pkg-ganeti-devel] Bug#677674: ganeti2: does not install cleanly
found 677674 2.5.0-1 thanks On Sat, Jun 16, 2012 at 11:37:04PM +0200, Toni Mueller wrote: 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. Finally found the problem. It's a trivial bug, introduced in version 2.5.0-1. I'll see if I can get a freeze exception. Sorry and thanks for the report! iustin signature.asc Description: Digital signature
Bug#677674: [Pkg-ganeti-devel] Bug#677674: ganeti2: does not install cleanly
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 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#677674: [Pkg-ganeti-devel] Bug#677674: ganeti2: does not install cleanly
Hi, On Sat, Jun 16, 2012 at 10:43:17AM +0200, Iustin Pop wrote: On Sat, Jun 16, 2012 at 01:04:50AM +0200, Toni Mueller wrote: 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? this is from etckeeper. Maybe update-rc.d has changed since I uploaded? I'll check anew, thanks for the report. 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. Kind regards, --Toni++ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#677674: [Pkg-ganeti-devel] Bug#677674: ganeti2: does not install cleanly
On Sat, Jun 16, 2012 at 11:01:43PM +0200, Toni Mueller wrote: Hi, On Sat, Jun 16, 2012 at 10:43:17AM +0200, Iustin Pop wrote: On Sat, Jun 16, 2012 at 01:04:50AM +0200, Toni Mueller wrote: 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? this is from etckeeper. Yes, but note that the error code is from before the update-rc message. Could you please post the un-abbreviated install log? I'm curious if there are any other errors before dpkg returned an error code. It's true that there seems to be an update-rc.d call issue, but that seems to be after dpkg already failed, during aptitude rollback phase. Maybe update-rc.d has changed since I uploaded? I'll check anew, thanks for the report. 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? That is very strange then. I'll have to create a new chroot and install ganeti fresh then, since this doesn't match my install in existing chroot results. thanks! iustin -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#677674: [Pkg-ganeti-devel] Bug#677674: ganeti2: does not install cleanly
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[1G[[32m ok [39;49m8[?12l[?25hdone. [] ganeti-rapi...[?25l7[1G[[32m ok [39;49m8[?12l[?25hdone. [] ganeti-masterd...[?25l7[1G[[32m ok [39;49m8[?12l[?25hdone. [] ganeti-noded...[?25l7[1G[[32m ok [39;49m8[?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