Author Topic: Problems installing apps on my C860  (Read 6875 times)

petesouthan

  • Newbie
  • *
  • Posts: 13
    • View Profile
Problems installing apps on my C860
« on: September 23, 2004, 05:27:39 pm »
Hi, anybody any idea why my C860 won't let me install apps to the internal flash? I am using the Add & Remove software applet in cacko 1.21b. And there is nothing else installed, so there's plenty of memory.
I am trying to install portabase 1.9 and various other odds and sodds, and I don't want them on my SD card although it will let me put them there.
Any advice would be great.
Cheers

duckboy

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • http://
Problems installing apps on my C860
« Reply #1 on: September 23, 2004, 06:42:30 pm »
You might try installing from the command line and see the results.  You might be missing dependencies, or have an incompatible package.


Change directory to where your ipk file is and type:
     ipkg install <YOURPACKAGEHERE>

petesouthan

  • Newbie
  • *
  • Posts: 13
    • View Profile
Problems installing apps on my C860
« Reply #2 on: September 24, 2004, 04:52:13 am »
Thanks, I have tried that but still no good!
The shell says :

The following package were previously requested but have not been installed:
error
Install them now [Y/n] ? Y
filename - __.ipk ...
/__.ipk: Invalid host name.
ipkg_download:ERROR: Failed to retrieve /__.ipk. returning
ipkg_get_install : Perhaps you need to run 'ipkg update'?

Anybody know what all thats about??

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Problems installing apps on my C860
« Reply #3 on: September 24, 2004, 05:39:28 am »
You have a crappy version of ipkg (I always say this, but the OZ version is *so* much more able to cope with packagin installation failures; anyway, I digress).

You need to edit the /usr/lib/ipkg/status file (I think that's the correct path) and remove the offending entry (prob at the bottom).


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

petesouthan

  • Newbie
  • *
  • Posts: 13
    • View Profile
Problems installing apps on my C860
« Reply #4 on: September 24, 2004, 07:35:58 am »
Thanks, I'll give it a go!

petesouthan

  • Newbie
  • *
  • Posts: 13
    • View Profile
Problems installing apps on my C860
« Reply #5 on: September 24, 2004, 08:06:18 am »
Thats got it Great!
Thanks a lot.

neilboyd

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • http://
Problems installing apps on my C860
« Reply #6 on: September 30, 2004, 05:34:06 pm »
Sorry to be so pedestrian, but I am a complete beginner to this Linux malarkey...

I'm having the same problem with an ipkg error message.

Can anyone tell me HOW to edit the /usr/lib/....... file.  
I'm talking big print for VERY slow students here - along the lines of:

1. Switch on your Zaurus SL-C860 (Modified Sharp ROM from ShirtPocket.co.uk)
2. Open application XXXXXXX
3. Type "xxxxxxxxxxxxx"
4. Press Enter
5. etc etc

Your help is much appreciated - I'm itching to have a go at Repton (being a BBC Micro owner of old!)

By the way, if its easy enough to do, can you e-mail me your response, please.

Thanks,
Neil
 

kic

  • Newbie
  • *
  • Posts: 47
    • View Profile
Problems installing apps on my C860
« Reply #7 on: October 01, 2004, 12:05:51 am »
Quote
Sorry to be so pedestrian, but I am a complete beginner to this Linux malarkey...

I'm having the same problem with an ipkg error message.

Can anyone tell me HOW to edit the /usr/lib/....... file. 
I'm talking big print for VERY slow students here - along the lines of:

<snip>

Thanks,
Neil
 
If you don't mind, before I get into the nitty gritty line by line stuff, let me first suggest you install a text editor. Unless you'd like to get to know vi up close and personal (it may not be a bad idea, but it's not a very friendly program to new users), you'd probably be better off with a plain text editor first.

Do you have an SD or CF card? I hope so as it'll make life easier. I'm not positive that this will work on Sharp's rom (I'm using Cacko now, but it's based on Sharp's, so I'd guess it'll be fine), but grab zeditor. Here's where to look: http://bryandeluca.com/feed/ (great feed from one of the ZUG users, thanks!) and here's a direct link to the zeditor package.  You can either add that link to the network feed, or if you're not sure how to do that, just download the package somewhere (onto a card, onto your computer and then move it to a card, whatever) and then you still should (I hope) be able to use the package manager to install it (it'll check inserted media for packages available to install). If for some reason the package manager won't install it, open a console and cd to whatever directory it's in (an SD card can be located in /mnt/card for instance) and do an ipkg install -d root zeditorpackagename here (the -d root is just going to tell it to install it to the internal flash, and you can also cheat and type "zed" (or some such) and hit "Tab" and it'll auto-complete the file name for you to make sure there's no typos).

Install that, and assuming (ack!) it doesn't give you any problems installing, you can now get to editing some files. Before that, I'd suggest tapping on the icon and holding the stylus down and select the option to the run the program as root. Some people might not like that, but so long as you're careful, it saves trouble (I'm lazy, so sue me).

With zeditor you can now just "Open" and navigate to whatever directory, open the file, make your changes, save, and give it a go with installing.

Since I'm not entirely hip to the error(s) you guys are having, I can't offer any more specific details than what has already been offered.

If something is unclear or I completely skipped some steps, feel free to call me on it. I think this should be enough to get you going though.

neilboyd

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • http://
Problems installing apps on my C860
« Reply #8 on: October 05, 2004, 06:33:50 pm »
Kic,
Thank you for taking the time to respond in such detail.

Unfortunately I've fallen at the first hurdle (okay - maybe the second or third...)

I copied zeditor onto CF card, tried to install the file using the Sharp Package Installer and received the same old error:
"The filename of this package includes character this application can't handle.  Please change the filename and retry install".

Back to the drawing board for me, I think.......

Neil

UPDATE>>>
Very strange.  When I copied the zeditor.ipk file to SD it installed okay.  So near, yet so far because I'm now told that I can't save the edited status file.  Is it just me or is this really not very easy???
« Last Edit: October 05, 2004, 07:12:32 pm by neilboyd »

kic

  • Newbie
  • *
  • Posts: 47
    • View Profile
Problems installing apps on my C860
« Reply #9 on: October 05, 2004, 09:51:23 pm »
Quote
UPDATE>>>
Very strange.  When I copied the zeditor.ipk file to SD it installed okay.  So near, yet so far because I'm now told that I can't save the edited status file.  Is it just me or is this really not very easy???
Did you set zeditor to run as root? Gotta tap and hold the stylus down on the icon, and when the screen comes up, you'll have the option to do it. If you're not running it as root, it won't save most things because the default user (zaurus) doesn't have permissions to modify most things.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Problems installing apps on my C860
« Reply #10 on: October 06, 2004, 06:22:52 am »
You will have to learn to use vi; it will come in handy don't worry.

Do a google, vi is fairly simple really.


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

neilboyd

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • http://
Problems installing apps on my C860
« Reply #11 on: October 06, 2004, 03:56:49 pm »
Kic,
Oops - RTFM Neil!

Thank you for your help - I have now managed to find my way around QConsole, and ZEditor (I took your advice re ticking the root box).

Its just a pity I'm still getting the same error message re invalid character in filename......

I'll keep experimenting now I've got a bit more confidence that I think I know what I'm doing.  Thanks for all of your advice.

Neil



Lardman,
I'll take your advice and have atrawl around google for VI stuff.  Thanks.

neilboyd

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • http://
Problems installing apps on my C860
« Reply #12 on: October 07, 2004, 08:16:12 am »
 
[FANFARE]

I did it - I worked it out!
(Okay, so I relied heavily on lots of input from ZUG - thank you all - but I'm going to cling to a few drops of credit myself)

The "invalid character in filename" issue has now been resolved.  It would seem that it wasn't because I had on old version of IPKG, nor was it a problem in the IPKG STATUS file (but thanks for the pointers - I now feel I know the Zaurus so much better now).

Reverting my Z860 back to a virgin backup state was good practice, but didn't actually achieve anything.

So, what was the magic bullet......?
It would appear that, due to the way I'd saved install files in folders within folders on my XP machine (in preparation for dumpint the top level folder onto the CF card) the full path for the filenames were too long.  Whether it was the number of characters, or if it was the number of folder levels I don't know (and for now I'm so relieved that I don't care).

The bottom line is I now have repton on my machine so I'm a happy bunny.
(Granted I'd be happier if I could get it to work full-screen in landscape mode but that'll probably be next week's plea for help.....


THANK YOU for all of the helpful responses I've received.  I was beginning to worry that I would be out of my depth with the Z, but I'm pleased to see that the beach seems to shelve very gradually - and there appears to be plenty of lifeguards.

What a fantastic experience.  I think I'll go and donate some dosh to the Z cause.

Neil

sputnic

  • Newbie
  • *
  • Posts: 5
    • View Profile
Problems installing apps on my C860
« Reply #13 on: October 29, 2004, 03:14:52 am »
Well, I am getting this same error, and I tried the suggestions above and I still get it, is there something else that can be looked at..
thanx

Guest

  • Guest
Problems installing apps on my C860
« Reply #14 on: October 29, 2004, 09:45:12 am »
Sputnic,
I'm no expert (in fact, its funny even to use "I" and "expert" in the same sentence!) so I can only offer one suggestion to you......

Try copying the .ipk file onto your SD/CF card's root directory - i.e. don't put it into a folder.  If you get uptight about having a messy file structure on the Card then I'm afraid you'll just have to grin and bear it until you find out whether this works.

If that doesn't solve your problem then I'm afraid I'm all out of suggestions.

Best of luck,
Neil