OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: kic on October 17, 2004, 02:59:13 pm

Title: Broken package manager?
Post by: kic on October 17, 2004, 02:59:13 pm
I finally succumbed and installed RC5, and while I like the look and speed, I'm about ready to throw the Zaurus across the room. Or get rid of pdaxrom again.

I've never had so much trouble with the package manger. I do an update, and it says it downloads and saves the list (according to the log), but the file isn't there. The available packages are blank. No amount of restarting X or rebooting or praying to the Zaurus gods changes this.

I change the feed, and it continues to download from a previous feed, claims to update the list, and doesn't.

My internet connection is fine. I can browse the web, etc.

If I try to do a manual install (ipkg install -d root packagename.here) it insists on trying to download it, not use it off of the source (an SD card in this case) and fails miserably.

When it was moderately working earlier, it failed to install every package I tried. It insisted on installing them in //usr/tmp/ipkg/packagename and yes, that's two //. Even if I had / as the destination, it attempted that non-existant, impossible // thing.

I've attempted to edit the ipkg.conf file, but vi refuses to allow me to save (ZZ does nothing, as does :wq).

Before I dropkick this thing, anyone have any suggestions?
Title: Broken package manager?
Post by: Zumi on October 17, 2004, 03:18:15 pm
I don't really know what's this about (no one complained about this type of errors before, I think) but I suggest to check whether the root partition is full ($ df -h) and you are not trying to install things on a FAT filesystem memory card (it won't work).

Hope this helps!

Zumi
Title: Broken package manager?
Post by: Laze on October 17, 2004, 06:13:07 pm
What excatly did you type in as feed url etc. in the package manager?
Title: Broken package manager?
Post by: kic on October 17, 2004, 06:52:10 pm
Looks like it was indeed out of space. I had the suggested size of 50 mb for the root, and it was completely filled. Can't even write the list for packages. D'oh!

I did a quick repartition to 55 mb and that fixed it. I'm about to make it 115 or 120 mb since I can't seem to convince the package manager to install to my home destination (either the manager of manually with ipkg).

Well, off to bang my head against the wall and see what other trouble I can get myself into.

BTW, in case I came across as too negative earlier, I really do like RC5. I'm just running into a few problems is all, but that's mostly user error.
Title: Broken package manager?
Post by: murple on October 21, 2004, 10:59:40 pm
I'm having the same problem.  Working with a 121 root partition and plenty of space.

Package Manager spits out
[span style=\'font-size:8pt;line-height:100%\']Downloading
http://mirror1.pdaxrom.org/rc5/feed/libidl....8_armv5tel.ipk (http://mirror1.pdaxrom.org/rc5/feed/libidl_0.6.8_armv5tel.ipk) ... Done.
ipkg_install_file: ERROR: unpacking control.tar.gz from //home/tmp/ipkg/libild_0.6.8_armv5tel.ipk
ipkg_get_install: ERROR: Failed to install //home/tmp/ipkg/libidl_0.6.8_armv5tel.ipk
[/span]

Looked in /home/tmp/ipkg and indeed the file is there and was downloaded

if i try to do a "ipkg install -d root foo.ipk" it goes out to get the file from the website but shoots out a 404.  A "ipkg update" finds the site fine however and updates the list.

an "ipkg install foo.ipk -d root" however spits out
[span style=\'font-size:8pt;line-height:100%\']tar: ./control: Cannot change ownership to uid 1000, gid 100: Operation not permitted[/span]

Any help would be apreciated as I'm still warming up to linux.  I think I'm picking it up pretty well as am completely addicted to my 860 now.  pdaXrom blows my mind, just wish i could add some packages to my install.
Title: Broken package manager?
Post by: murple on October 22, 2004, 12:32:40 am
OK   I figured it out.  DONT USE VFAT.  I had my SD card formated as vfat and i had symlinked my tmp to there.  Formatted the sucker ext3 and no problems so far.   Man, linux can be overwhelming for a n00b