Author Topic: installing ipkgs without network  (Read 3863 times)

b2bpro

  • Full Member
  • ***
  • Posts: 218
    • View Profile
    • http://
installing ipkgs without network
« on: May 03, 2004, 08:03:31 pm »
I\'ve had some problems installing packages on the pdaxrom without network connection.

First
C860
pdaxrom 1.0.5
all ipks from current pdaxrom feed (24 April).

I\'ve tried two different ways of installing packages and I had two problems

First:

I installed pdaxrom 1.0.5.  I downloaded all the ipks from the feed (since I don\'t have network connectivity yet I had to do this manually - boo).  I started installing ipks using package manager going directly to the file list on my cf card to install them.  This seemed to work and I was able to use the installed programs.  However, after installing a bunch of programs, it just wouldn\'t install any more.  No error message or anything.  I could select any package and nothing would install.

Second:

I reinstalled tkcrom because I had to get some work done.  Then, I re-installed pdaxrom again from scratch.  This time I changed /etc/ipkg.conf to point to the directory with the ipks on my cf card.  This didn\'t work - I got an \"error reading Packages file\".  So I then accessed the \"Packages\" file on the cacko feed (a bit tricky but I got it) I copied the contents of this into a file called \"Packages\" in the same directory on my CF card where the ipks were.  Now I get a different message  saying it can\'t read package \"__.ipk\"  hmmmmm.  Something funny going on here.

Now, the problem might be that I just can\'t do it the way I was trying to.  Is there some other way to install the packages without a network connection?

MarcusKracht

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
installing ipkgs without network
« Reply #1 on: June 10, 2004, 05:39:44 pm »
I saw this posted, so I shall add my own experience. I try to install
to / as well as to /mnt/card. The first always goes without problems,
even though the complaint shows up:
\"File not found /usr/lib/ipkg/lists/cacko-unstable
you probably want to run `ipkg update\'\" and so on.
Installing on /mnt/card is troublesome.
I did manage to install firefox on /mnt/card, but not
much else. Sometimes the error is that it cannot unpack
from data.tar.gz, sometimes another.

It is unpredictable what works and what does not when I
install on /mnt/card, while installing on / always works.
With version 1.0.0 there were less such problems, now I
have lots of them. My suspicion is that some packages
refuse to be installed in specific places.

Just to clarify: I did the changes in ipkg.conf, and I did try
with both the gui and the console command, but the result
is the same.

Can someone look into the matter?

-- Marcus

CoreyC

  • Sr. Member
  • ****
  • Posts: 288
    • View Profile
    • http://
installing ipkgs without network
« Reply #2 on: June 10, 2004, 05:47:34 pm »
It may be a dependency issue.  Try installing something that doesn\'t depend on any other uninstalled things, like mb-volume-applet.

If that works, you will need to try to install your programs in a certain order to please those dependencies.  You can find out what each ipk depends on by looking up the ipk in the Packages file in the feed directory. http://www.pdaxrom.org/feed/Packages

MarcusKracht

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
installing ipkgs without network
« Reply #3 on: June 10, 2004, 05:59:45 pm »
No, for example, I try to install abiword. I have installed libglade (at /, no problem).
The first stop for ipkg is that it complains that it cannot create a symlink (operation
not permitted). There are additional things, besides this one. I am not sure what causes
this, but it may well be that a fixed directory structure is assumed, so I cannot
install elswehere. It continues to unpack until there is a moment when it stops.
I am not sure whether this is a SD issue, but running the programs once installed
on /mnt/card is no issue at all.

-- Marcus

time

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://www.trustice.com
installing ipkgs without network
« Reply #4 on: June 14, 2004, 11:14:23 am »
what is the format of /mnt/card? The card must be formztted with ext2, because FAT volumes do not support symlinks. I found that once I formatted /mnt/card as ext2, all installs to /mnt/card work fine.
Zaurus SL-C860 / pdaXrom

MarcusKracht

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
installing ipkgs without network
« Reply #5 on: June 14, 2004, 04:39:03 pm »
So, that was the secret. It seems to work for me. That would be worth telling
people because it could save trouble. (If anyone is preparing a HOWTO or
something, you might consider pointing this out.)

-- Marcus

Laze

  • Hero Member
  • *****
  • Posts: 704
    • View Profile
    • http://www.pdaXrom.org
installing ipkgs without network
« Reply #6 on: June 15, 2004, 03:28:43 am »
C760 running pdaXrom lastest ;-)
SL5500 Running Cacko Qtopia
512 MB SD Card, 128 MB CF Card, Prism2 CF Wlan.

Always visit http://www.pdaXrom.org for latest news.

whit

  • Full Member
  • ***
  • Posts: 145
    • View Profile
installing ipkgs without network
« Reply #7 on: June 18, 2004, 11:46:06 am »
A related question: Trying to install a current kismet locally to /home/user/bin (since my root partition is getting full), I get

Code: [Select]
# ipkg -d /home/user/bin install ./kismet_2004.04.R1_arm.ipk

Unpacking kismet...Done.

Configuring kismet...Done.

*** Command: add

*** Locating package

Package "kismet" not found on external storages.


It installs okay to the root partition. But I have no idea what the \"not found on external storages\" means, when it\'s being install from and to internal storage.

b2bpro

  • Full Member
  • ***
  • Posts: 218
    • View Profile
    • http://
installing ipkgs without network
« Reply #8 on: July 07, 2004, 09:22:32 am »
I'm trying out pdaxrom and my wifi doesn't work, so i'm loading ipkg's from my cf card on my c860.

I have changed the /etc/ipkg.conf file so the first 2 lines look like this as per the FAQ

#src cacko-unstable http://www.pdaxrom.org/feed
src cacko-unstable file:///mnt/cf

Note that I have put the Packages file and all of the ipks from the stable feed at the top level of my cf card.

When I install things, I need to find out about and load all the dependancies manually.  

Isn't the Packages file used by the installer to find and load the dependancies required?

And another thing - in the packages manager, the packages do not show up in the "available" tab as I would have assumed, but I have to use the "file open" button and navigate to the cf card.

Do I have something configured wrong?
« Last Edit: July 07, 2004, 10:16:46 am by b2bpro »

b2bpro

  • Full Member
  • ***
  • Posts: 218
    • View Profile
    • http://
installing ipkgs without network
« Reply #9 on: July 07, 2004, 09:26:33 am »
Also, several apps don't work.  For instance I have loaded doomdemo and prboom and the icon is in the games folder and everything. When I run it, it looks like it is starting (the little rectangle "explodes" out of the icon) but nothing else happens.  This has happened with several other apps even though some apps, like ko/pi and abiword, work just fine.

b2bpro

  • Full Member
  • ***
  • Posts: 218
    • View Profile
    • http://
installing ipkgs without network
« Reply #10 on: July 07, 2004, 10:19:40 am »
hold on now.....

Seems I have to click on the little rounded arrow button and the packages show up under the "available tab"

I'll see if that solves the problem.

b2bpro

  • Full Member
  • ***
  • Posts: 218
    • View Profile
    • http://
installing ipkgs without network
« Reply #11 on: July 07, 2004, 06:55:32 pm »
OK.  It seems to work now - almost.

By pressing the little rounded arrow button, I get the list of ipks in my "availble" tab and it seems to automatically load dependent packages when you install stuff.

However, I've installed a bunch of stuff and now nothing else installs.  When I try, it just sits there forever with the buttons greyed out as if its installing, but it never returns.

The log page is indicating that "the following packages were previously requested but have not yet been installed...."  with "Install them now [Y/n]?"  Nothing happens if I press "Y".

Is there a limit to the amount of packages I can install?  Should I instll to my SD card by default?

There are 42 packages installed right now.  Most of which are libraries and stuff loaded along with other packages.

Help - I really like the looks of pdaxrom, but I've got to get it working before I can switch from tkc.

b2bpro

  • Full Member
  • ***
  • Posts: 218
    • View Profile
    • http://
installing ipkgs without network
« Reply #12 on: July 07, 2004, 11:24:57 pm »
bah!  never mind.  I'll wait until the next version.  Maybe things will work a bit easier with that.