Re: [Koha] E: Sub-process /usr/bin/dpkg returned an error code (1)

2015-09-01 Thread Liz Rea
Hi Irène,

There will be more to this error message above that in the output, I
don't think we can help diagnose this without a bit more information,
and more of the error message.

You may be able to see the errors in your /var/log/apt/term.log file
from the last upgrade attempt (or not, it just depends).

Cheers,
Liz
On 01/09/15 23:19, Irène MUSHIMIYIMANA wrote:
> Hey! I am trying to install koha on ubuntu 14.04 and I get the following 
> error:Errors were encountered while processing:koha-commonE: Sub-process 
> /usr/bin/dpkg returned an error code (1).I tried some steps I found from 
> internet but still it doesn't work, I unstalled koha and reinstall, I even 
> updated koha but nothing.Please I need your help. Irène M 
> Tel. (250)788623682
> Head of Programming
> INILAK
>
> ___
> Koha mailing list  http://koha-community.org
> Koha@lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha

-- 
--
Liz Rea
Catalyst.Net Limited
Level 6, Catalyst House, 
150 Willis Street, Wellington.
P.O Box 11053, Manners Street, 
Wellington 6142

GPG: B149 A443 6B01 7386 C2C7 F481 B6c2 A49D 3726 38B7




signature.asc
Description: OpenPGP digital signature
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


[Koha] E: Sub-process /usr/bin/dpkg returned an error code (1)

2015-09-01 Thread Irène MUSHIMIYIMANA
Hey! I am trying to install koha on ubuntu 14.04 and I get the following 
error:Errors were encountered while processing:koha-commonE: Sub-process 
/usr/bin/dpkg returned an error code (1).I tried some steps I found from 
internet but still it doesn't work, I unstalled koha and reinstall, I even 
updated koha but nothing.Please I need your help. Irène M 
Tel. (250)788623682
Head of Programming
INILAK

___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] E: Sub-process /usr/bin/dpkg returned an error code (1)

2015-05-19 Thread Tomas Cohen Arazi
I'd suggest that you delete your /etc/koha directory as it seems to be a
reminder of a defective install. It seems you have some cruft from a not
completely created instance.

On Fri, May 15, 2015 at 1:48 AM, Vimal Kumar V. vimal0...@gmail.com wrote:

 Dear Friends,
 I got following error try to install Koha 3.18.


 root@ubuntukoha:/home/koha# apt-get install koha-common
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 koha-common is already the newest version.
 The following package was automatically installed and is no longer
 required:
   libjs-yui
 Use 'apt-get autoremove' to remove them.
 0 upgraded, 0 newly installed, 0 to remove and 3 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 (3.18.06.3) ...
 install: invalid user `library-koha'
 Upgrading database schema for library
 unable to locate Koha configuration file koha-conf.xml at
 /usr/share/koha/lib/C4/Context.pm line 373.
 unable to locate Koha configuration file koha-conf.xml at
 /usr/share/koha/lib/C4/Context.pm line 373.
 unable to locate Koha configuration file koha-conf.xml at
 /usr/share/koha/lib/C4/Context.pm line 373.
 Can't call method config on unblessed reference at
 /usr/share/koha/lib/C4/Context.pm line 779.
 dpkg: error processing koha-common (--configure):
  subprocess installed post-installation script returned error exit status
 255
 Errors were encountered while processing:
  koha-common
 E: Sub-process /usr/bin/dpkg returned an error code (1)


 May I know the reason behind the error?
 Regards,
 --
 Vimal Kumar V.
 Technical Assistant
 Mahatma Gandhi University Library
 Kottayam, Kerala- 686 560
 Web: http://www.vimalkumar.info
 Blog: http://linuxhalwa.blogspot.com http://kohageek.blogspot.in
 http://moovandan.blogspot.in
 ---
 I forget what I was taught. I only remember what I have learnt
 -Patrick White
 ___
 Koha mailing list  http://koha-community.org
 Koha@lists.katipo.co.nz
 https://lists.katipo.co.nz/mailman/listinfo/koha




-- 
Tomás Cohen Arazi
Prosecretaría de Informática
Universidad Nacional de Córdoba
✆ +54 351 5353750 ext 13168
GPG: B76C 6E7C 2D80 551A C765  E225 0A27 2EA1 B2F3 C15F
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


[Koha] E: Sub-process /usr/bin/dpkg returned an error code (1)

2015-05-14 Thread Vimal Kumar V.
Dear Friends,
I got following error try to install Koha 3.18.


ldconfig deferred processing now taking place
Errors were encountered while processing:
 koha-common
E: Sub-process /usr/bin/dpkg returned an error code (1)

Guess the problem?
-- 
Vimal Kumar V.
Technical Assistant
Mahatma Gandhi University Library
Kottayam, Kerala- 686 560
Web: http://www.vimalkumar.info
Blog: http://linuxhalwa.blogspot.com http://kohageek.blogspot.in
http://moovandan.blogspot.in
---
I forget what I was taught. I only remember what I have learnt
-Patrick White
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] E: Sub-process /usr/bin/dpkg returned an error code (1)

2015-05-14 Thread Robin Sheat
Vimal Kumar V. schreef op do 14-05-2015 om 19:44 [+0530]:
 Guess the problem?

If you were to post the actual error message (which will be somewhere
above this message), then we wouldn't have to guess.

-- 
Robin Sheat
Catalyst IT Ltd.
✆ +64 4 803 2204
GPG: 5FA7 4B49 1E4D CAA4 4C38  8505 77F5 B724 F871 3BDF


signature.asc
Description: This is a digitally signed message part
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] E: Sub-process /usr/bin/dpkg returned an error code (1)

2015-05-14 Thread Vimal Kumar V.
Dear Friends,
I got following error try to install Koha 3.18.


root@ubuntukoha:/home/koha# apt-get install koha-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
koha-common is already the newest version.
The following package was automatically installed and is no longer required:
  libjs-yui
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 3 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 (3.18.06.3) ...
install: invalid user `library-koha'
Upgrading database schema for library
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 373.
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 373.
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 373.
Can't call method config on unblessed reference at
/usr/share/koha/lib/C4/Context.pm line 779.
dpkg: error processing koha-common (--configure):
 subprocess installed post-installation script returned error exit status
255
Errors were encountered while processing:
 koha-common
E: Sub-process /usr/bin/dpkg returned an error code (1)


May I know the reason behind the error?
Regards,
-- 
Vimal Kumar V.
Technical Assistant
Mahatma Gandhi University Library
Kottayam, Kerala- 686 560
Web: http://www.vimalkumar.info
Blog: http://linuxhalwa.blogspot.com http://kohageek.blogspot.in
http://moovandan.blogspot.in
---
I forget what I was taught. I only remember what I have learnt
-Patrick White
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] E: Sub-process /usr/bin/dpkg returned an error code (1)

2015-05-14 Thread Mark Tompsett

Greetings,

Vimal Kumar V. writes:

May I know the reason behind the error?


[SNIP]
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 373.
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 373.
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 373.
[SNIP]

Do you have $KOHA_CONF set to a non-existent or unreadable location before 
installing?

Because that screams unset or poorly set $KOHA_CONF to me.
Just thinking out loud. I don't know anything. Please don’t ask me anything 
further. :)


GPML,
Mark Tompsett 


___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


[Koha] E: Sub-process /usr/bin/dpkg returned an error code (1)

2015-05-14 Thread Vimal Kumar V.
Dear Friends,
The error happened after reinstallation of Koha.
Regards,

-- 
Vimal Kumar V.
Technical Assistant
Mahatma Gandhi University Library
Kottayam, Kerala- 686 560
Web: http://www.vimalkumar.info
Blog: http://linuxhalwa.blogspot.com http://kohageek.blogspot.in
http://moovandan.blogspot.in
---
I forget what I was taught. I only remember what I have learnt
-Patrick White
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha