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

IPB

Welcome Guest ( Log In | Register )

> Cacko Ipkg Dependancies, What's the magic 8-ball to learn deps?
Sy Ali
post Jun 17 2006, 10:32 AM
Post #1





Group: Members
Posts: 120
Joined: 14-June 06
Member No.: 10,168



The package manager.. doesn't. It's just a frontend to the ipkg tools.

I searched around and found a reference to ldd, but that isn't right for ipk files.

The packaging guidelines say:
QUOTE
6.  The package control file should list all dependency information in the "Depends:" field.  All dependencies (libraries, etc.) should be on the feed as well.


How do I:
1. Determine the requirements of a particular package (before installing it)?
2. Determine the installed-size of a package before it is installed?
3. Determine the combined installed size of a package and all its dependancies?
4. Automatically install all dependancies?


1. Now I can see things like
CODE
ipkg depends <package>.ipk


which happens to have failed when I tried it thusly:
CODE
ipkg depends ruby_1.8.0-1_arm.ipk

QUOTE
ipkg_depends: ERROR: Package name ruby_1.8.0-1_arm.ipk contains illegal characters (should be [a-zA-Z0-0.+-])
error


ipkg info doesn't seem to do anything for that package.

Indeed it looks like running ipkg at the commandline is generally a bad idea, as I was unable to "manually" install ruby using the ipkg program. Strange.


2. I assume I can take a peek inside the archives and do some math. Is there a better way to do this?

3. Presumably this is possible with some scripting voodoo. Is there a better way?

4. Since viewing the dependancy of a package fails, I presume that this is impossible.

...

How does everyone else handle packages?
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
Sy Ali
post Jun 17 2006, 04:46 PM
Post #2





Group: Members
Posts: 120
Joined: 14-June 06
Member No.: 10,168



CODE
# ipkg install ruby_1.8.0-1_arm.ipk


I did try this, but it didn't work as-expected. I was able to use the GUI tool -- after the silly wait for it to load everything up -- and then it would work.

Upon installing via the commandline, trying to run ruby gave me an error. I didn't have the forethought to record it though.
Go to the top of the page
 
+Quote Post

Posts in this topic
Sy Ali   Cacko Ipkg Dependancies   Jun 17 2006, 10:32 AM
Snappy   Hi there ... I hear you on your ipkg dependency wo...   Jun 17 2006, 04:37 PM
Sy Ali   CODE# ipkg install ruby_1.8.0-1_arm.ipk I did try...   Jun 17 2006, 04:46 PM
Snappy   QUOTE(Sy Ali @ Jun 18 2006, 08:46 AM)CODE# ip...   Jun 17 2006, 05:59 PM
Sy Ali   I downloaded the appropriate files from the feed a...   Jun 17 2006, 07:33 PM
bdbell   QUOTE(Sy Ali @ Jun 18 2006, 11:33 AM)I downlo...   Jun 18 2006, 02:53 AM
Sy Ali   It's very odd that local installation won...   Jun 18 2006, 03:36 AM
Snappy   yes, if you download the package and relevant depe...   Jun 18 2006, 06:07 PM
Sy Ali   I did get a chance to play around with the /etc/ip...   Jun 18 2006, 06:20 PM
Meanie   QUOTE(Sy Ali @ Jun 19 2006, 12:20 PM)I did ge...   Jun 18 2006, 06:29 PM
Sy Ali   QUOTE(Meanie @ Jun 18 2006, 10:29 PM)update w...   Jun 18 2006, 06:54 PM
gerhart.steiner   QUOTE(Sy Ali @ Jun 18 2006, 06:54 PM)QUOTE(Me...   Jun 19 2006, 12:02 AM
Meanie   QUOTE(gerhart.steiner @ Jun 19 2006, 06:02 PM...   Jun 19 2006, 11:57 PM
Meanie   QUOTE(Meanie @ Jun 20 2006, 05:57 PM)QUOTE(ge...   Jun 20 2006, 01:53 AM
Sy Ali   Hmm, perhaps we misunderstand oneanother. I have ...   Jun 19 2006, 01:20 AM
gerhart.steiner   QUOTE(Sy Ali @ Jun 19 2006, 01:20 AM)Hmm, per...   Jun 19 2006, 11:15 PM
Snappy   Ali, You are right ... just half of it. ... You ...   Jun 20 2006, 12:35 AM
Sy Ali   Oh, I understand now. I looked at the package bui...   Jun 20 2006, 01:24 AM
Snappy   Glad we are on the same page now. I think some f...   Jun 20 2006, 01:54 AM
Lemuus   I can't get i work!!!!, i read...   Jul 23 2006, 10:22 PM
gerhart.steiner   QUOTE(Lemuus @ Jul 23 2006, 10:22 PM)... and ...   Jul 24 2006, 10:22 PM
Lemuus   QUOTE(gerhart.steiner @ Jul 25 2006, 02:22 AM...   Jul 25 2006, 01:47 PM
gerhart.steiner   QUOTE(Lemuus @ Jul 25 2006, 01:47 PM)QUOTE(ge...   Jul 25 2006, 10:46 PM
Lemuus   And how does your Packages-File looks like? ... P...   Jul 26 2006, 02:55 PM


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: 24th May 2013 - 05:03 PM