Author Topic: what does an error about lprng.postinstl mean?  (Read 2117 times)

braindrop

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://
what does an error about lprng.postinstl mean?
« 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?

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
what does an error about lprng.postinstl mean?
« Reply #1 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
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

derekp

  • Full Member
  • ***
  • Posts: 154
    • View Profile
what does an error about lprng.postinstl mean?
« Reply #2 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.

braindrop

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://
what does an error about lprng.postinstl mean?
« Reply #3 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.

derekp

  • Full Member
  • ***
  • Posts: 154
    • View Profile
what does an error about lprng.postinstl mean?
« Reply #4 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.