OESF Portables Forum
Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => Cxx0 General discussions => Topic started by: petesouthan 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
-
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>
-
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??
-
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
-
Thanks, I'll give it a go!
-
Thats got it Great!
Thanks a lot.
-
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
-
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/ (http://bryandeluca.com/feed/) (great feed from one of the ZUG users, thanks!) and here's a direct link to the zeditor package (http://bryandeluca.com/feed/zeditor_2.1.6english_arm.ipk). 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.
-
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???
-
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.
-
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
-
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.
-
[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
-
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
-
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
-
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).
If you'd tried installing it to a location other than root, the above file may be in a different location:
<mount point>/usr/lib/ipkg/status
e.g. /mnt/card/usr/lib/ipkg/status
Si