OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Installing A Local Ipk, What? No go?
ShiroiKuma
post Nov 22 2006, 05:55 AM
Post #1





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



I'm trying to do a simple thing, install an ipk I have on the Z.

I've compiled ratpoison.

Now both
CODE
ipkg install ratpoison_1.4.0_armv5te.ipk
and
CODE
ipkg install /fullpath.../ratpoison_1.4.0_armv5te.ipk
give me the error:
CODE
Nothing to be done
An error ocurred, return value: 4.
Collected errors:
Cannot find package ratpoison_1.4.0_armv5te.ipk.
Check the spelling or perhaps run 'ipkg update'


What's the problem?

It's OZ GPE 3.5.4.1 on an SL-C3200.
Go to the top of the page
 
+Quote Post
lardman
post Nov 22 2006, 07:26 AM
Post #2





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



I have seen this before, and it's a pita. I never tracked it down.

Try:

ipkg install ratpoison

In the same directory as the file. This may be a bug (rather than misconfiguration somewhere), but I don't suppose too many people encounter it as they use the network feeds.


Si
Go to the top of the page
 
+Quote Post
ShiroiKuma
post Nov 22 2006, 02:42 PM
Post #3





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



This doesn't work either, damn, I can't believe it.

Can ipkg's behavior at least be modified so that it stores the files downloaded from the feed also locally, so that it doesn't refetch them every time when installing, but uses the local archive copy if present - like debian's /var/cache/apt/archives/ ?
Go to the top of the page
 
+Quote Post
lardman
post Nov 23 2006, 02:04 AM
Post #4





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



You could probably patch it to do this, but the general theory is that downloads are fast and cheap, and storage on a handheld is small and expensive.

There aren't any new and wonderful switches that have been added to enable installation from a file (rather than from a feed) are there?

Add a bug I think, then hack at the code smile.gif


Si
Go to the top of the page
 
+Quote Post
ShiroiKuma
post Nov 24 2006, 06:48 AM
Post #5





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



OK, it works smile.gif But only with the following syntax
CODE
ipkg install ./local_package_file_name
Go to the top of the page
 
+Quote Post
pgas
post Nov 24 2006, 09:20 AM
Post #6





Group: Members
Posts: 1,099
Joined: 17-December 03
From: Athens, Greece
Member No.: 1,210



IIRC from #openzaurus `ipkg install ratpoison' doesn't work from a local feed because of busybox wget.

but it works with the real wget. or something
Go to the top of the page
 
+Quote Post
ShiroiKuma
post Nov 26 2006, 01:13 AM
Post #7





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



QUOTE(pgas @ Nov 24 2006, 06:20 PM)
IIRC from #openzaurus `ipkg install ratpoison' doesn't work from a local feed because of busybox wget.

but it works with the real wget.  or something
*

Hmm... it might be the case, since it started working after I installed real wget... smile.gif

There's many issues with busybox on OZ that I've noticed, i.e. building ipks doesn't work due to the busybox ar, but will work with the real ar etc.

So this is probably it, you're right.
Go to the top of the page
 
+Quote Post
ShiroiKuma
post Nov 27 2006, 12:26 AM
Post #8





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



So you are indeed right, it's the real wget thing.

If you install real wget then simply
CODE
ipkg install file_name
works no probs.
Go to the top of the page
 
+Quote Post
lardman
post Nov 27 2006, 04:07 AM
Post #9





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



Please post some bugs against busybox then.

Si
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd November 2014 - 01:19 PM