[Koha] unable to locate the koha-common

Michael Kuhn mik at adminkuhn.ch
Sat Aug 20 21:21:13 NZST 2016


Hi Shankar

> 2) wget -O- http://debian.koha-community.org/koha/gpg.asc | sudo apt-key
> add -
>
> root at cohklib-HP-Z230-SFF-Workstation:/home/cohklib# add -

This looks definitely wrong to me. The command is all on ONE line (even 
if in this mail or somewhere else it may look like two lines):

wget -O- http://debian.koha-community.org/koha/gpg.asc | sudo apt-key add -

To avoid such misunderstandings, it is possible to write it as follows, 
in this case you can take both lines into your mouse and it will behave 
like one line. This works because of the backslash at the end of the 
first line.

wget -O- http://debian.koha-community.org/koha/gpg.asc | \
sudo apt-key add -

It is always very important to write absolutely correct commands. 
Otherwise your system is in danger and things may happen that you never 
expected to happen. Best is, of course, you learn about the commands 
before you use them.

Hope this helps.

Best wishes: Michael
-- 
Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
T 0041 (0)61 261 55 61 · E mik at adminkuhn.ch · W www.adminkuhn.ch


More information about the Koha mailing list