[Koha] Koha 3.18 on Debian 8 Jessie

Robin Sheat robin at catalyst.net.nz
Tue May 5 10:51:33 NZST 2015


Chrispin Simasiku Sitali schreef op ma 04-05-2015 om 09:45 [+0200]:
> Everything went smoothly without any hitch except the following;
> Cannot write to `-' (Broken pipe) error message

This might be peculiar to your system:

robin at debianjessie:~$ wget -O- http://debian.koha-community.org/koha/gpg.asc | sudo apt-key add -
[sudo] password for robin: --2015-05-05 10:33:58--  http://debian.koha-community.org/koha/gpg.asc
Resolving debian.koha-community.org (debian.koha-community.org)... 67.220.127.145
Connecting to debian.koha-community.org (debian.koha-community.org)|67.220.127.145|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 51879 (51K) [text/plain]
Saving to: ‘STDOUT’

-                              55%[===========================>                       ]  27.97K  45.9KB/s             
-                             100%[==================================================>]  50.66K  62.4KB/s   in 0.8s   

2015-05-05 10:34:13 (62.4 KB/s) - written to stdout [51879/51879]

OK

it is a bit confusing in that it asks for your password, but then the
wget starts up at the same time. I might amend the instructions to stop
the wget output.

robin at debianjessie:~$ wget -q -O- http://debian.koha-community.org/koha/gpg.asc | sudo apt-key add -
[sudo] password for robin: 
OK

that is indeed a bit nicer.

> Solution: I replaced the pipe "|" with ">>"

That isn't really a solution, it just writes the key to a file called
'sudo' which is in no way what you want.

> I am sharing this because I though this could help someone. There could be
> a better and "technical" way of achieving the same. Any comment from the
> Koha Gurus

You will have a problem trying to do a zebra reindex. It's easy enough
to work around:
http://wiki.koha-community.org/wiki/Troubleshooting_Zebra#No_such_record_type
but finding and implementing a clean solution is high on my radar, see
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14106
for detail on this.

If you find any other issues, please make a bug for them. If you put it
in the 'packaging' category, I'll see it and triage it to where it needs
to go (I should think most issues you're likely to encounter will be
packaging or integration related, and so probably my job to take care
of :)

Also, there are (I think) better instructions here:
http://wiki.koha-community.org/wiki/Talk:Koha_on_Debian#Debian_Packages_on_Koha
some time soon, I'm going to replace the current ones with these.

In fact, I might just do that now...

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



More information about the Koha mailing list