OESF Portables Forum

General Forums => General Discussion => Topic started by: braindrop on April 03, 2004, 07:04:38 pm

Title: what does an error about lprng.postinstl mean?
Post by: braindrop on April 03, 2004, 07:04:38 pm
when i install things i seem to get an error at the end that says:

 sh:
 /usr/lib/ipkg/info/lprng.postinst not found
ERROR: lprng.postinstl returned 127

the file is there when i look, what does this mean?  the programs usually still seem to be installed so what is this then?
Title: what does an error about lprng.postinstl mean?
Post by: lardman on April 04, 2004, 08:10:21 am
There are various scripts which are run before and after installation and removal of an ipk\'d program.

lprng.postinst is the script for the lprng package which is run after (post) the installation.

No idea why it\'s complaining mind you. You say it\'s there, is it executable?


Si
Title: what does an error about lprng.postinstl mean?
Post by: derekp on April 04, 2004, 12:02:29 pm
The other thing to check is look at the first line of the script.  It should begin with a \"#!/bin/sh\" or some similar.  This is the path to the script interpreter.  I\'ve seen where this is set to /bin/bash instead, and if bash isn\'t installed, you\'ll get a \"not found\" error.
Title: what does an error about lprng.postinstl mean?
Post by: braindrop on April 04, 2004, 06:10:49 pm
ok, well I checked and  it is executable so i guess the problem is in the ipk\'s I install?

I looked at the script itself and it appears to be for a bunch of symlinks and I do not think I need those seeing as how my /usr and /opt are located in a sd card.  So should I be OK in ignoring this?  How can i fix it anyway, just so I don\'t see the message? Would I have to install bash?  The other lprng.* files are there but I don\'t get any errors for them.

Derekp, did you mean the lprng.postinstl script should have #!/bin/bash or the install script for the package I\'m installing?  My lprng.postinstl does have #!/bin/bash as the first line.
Title: what does an error about lprng.postinstl mean?
Post by: derekp on April 04, 2004, 08:20:11 pm
Quote
Derekp, did you mean the lprng.postinstl script should have #!/bin/bash or the install script for the package I\'m installing?  My lprng.postinstl does have #!/bin/bash as the first line.

In that case, do you have bash installed?  (do a \"ls /bin/bash\" from a command prompt).  If not, then go ahead and install bash, then that script shouldn\'t give you a \"not found\" error.