[Koha-devel] Hello, and question about kohadevbox

Tomas Cohen Arazi tomascohen at gmail.com
Thu Feb 2 11:23:09 CET 2017


This is due to recent changes on koha-* scripts. I'll try to fix it today.

Once it fails on the instance creation you need to run

$ vagrant provision

And you will be fine. The instance is correctly created, but the exit
status of the koha-create command seems to say otherwise.

Regards

El jue., 2 de feb. de 2017 5:40 AM, Jonathan Druart <
jonathan.druart at bugs.koha-community.org> escribió:

> Did you try to destroy it then create a new one from scratch? :)
>
>
> On Thu, 2 Feb 2017 at 02:08 Mark Alexander <marka at pobox.com> wrote:
>
> Excerpts from Josef Moravec's message of 2017-02-01 22:47:55 +0000:
> > Just try to run
> >
> > vagrant up --provision
>
> Thanks. I tried that and it the system is now in a worse state with a
> half-installed
> koha-common package.  There was an error in the installation of
> koha-common:
>
> ... Setting up koha-common (16.12.01~git+20170202001109.c65a151f) ...",
> "dpkg: error processing package koha-common (--configure):", "
> subprocess installed post-installation script returned error exit
> status 1", "Errors were encountered while processing:", " koha-common[}
>
> I tried configuring the half-installed koha-common manually via ssh,
> in an attempt to figure out what went wrong (see below).  It's a bit
> too much for me to understand right now.  I'll wait a week and try to
> start from scratch again.
>
> vagrant at kohadevbox:~$ sudo apt-get dist-upgrade
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Calculating upgrade... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> 1 not fully installed or removed.
> After this operation, 0 B of additional disk space will be used.
> Do you want to continue? [Y/n] y
> Setting up koha-common (16.12.01~git+20170202001109.c65a151f) ...
> dpkg: error processing package koha-common (--configure):
>  subprocess installed post-installation script returned error exit status 1
> Errors were encountered while processing:
>  koha-common
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> vagrant at kohadevbox:log$ sudo dpkg --configure -D377 koha-common
> D000001: ensure_diversions: new, (re)loading
> D000001: process queue pkg koha-common:all queue.len 0 progress 1, try 1
> D000040: checking dependencies of koha-common:all (- <none>)
> D000040: ok 2 msgs >><<
> D000040:     checking Breaks
> Setting up koha-common (16.12.01~git+20170202001109.c65a151f) ...
> D000002: fork/exec /var/lib/dpkg/info/koha-common.postinst ( configure
> 16.12.01~git+20170201001109.692ea16f )
> dpkg: error processing package koha-common (--configure):
>  subprocess installed post-installation script returned error exit status 1
> D000001: ensure_diversions: same, skipping
> Errors were encountered while processing:
>  koha-common
> vagrant at kohadevbox:log$ sudo /var/lib/dpkg/info/koha-common.postinst
> Use of uninitialized value $action in string eq at
> /usr/share/debconf/frontend line 27.
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/

-- 
Tomás Cohen Arazi
Theke Solutions (https://theke.io <http://theke.io/>)
✆ +54 9351 3513384
GPG: B2F3C15F
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20170202/6d3fdde2/attachment-0001.html>


More information about the Koha-devel mailing list