OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: simbaB on May 21, 2005, 04:15:15 pm
-
Hi.
I'm relatively experienced with Linux on x86 (5 years), but this is my first foray into Linux in the embedded space. I recently purchased a refurbished Sharp Zaurus SL-5500 "collie". It has OpenZaurus 3.5.3 (32/32 kernel) on it. I would like to upgrade my packages to the latest versions, but "ipkg upgrade" only gets through a few packages before running out of space--which ends up truncating the QT/Embedded libs (libqte) and then the Zaurus won't boot into Opie. How should I go about upgrading my OpenZaurus installation to the latest version of available packages? Below, there is the output of the SSH session I tried to do this over. As a final related question, is the 32/32 kernel the best option? I have a 256MB CF card that I can use with this device, so maybe something else would be better?
Thanks,
Andrew
root@collie:/proc# ipkg update
Downloading http://openzaurus.org/official/unstable/3.5.3/upgrades//Packages.gz
Inflating http://openzaurus.org/official/unstable/3.5.3/upgrades//Packages.gz
Updated list of available packages in /usr/lib/ipkg/lists/upgrades
Downloading http://openzaurus.org/official/unstable/3.5.3/feed/base//Packages.gzInflating http://openzaurus.org/official/unstable/3.5.3/feed/base//Packages.gz
Updated list of available packages in /usr/lib/ipkg/lists/base
Downloading http://openzaurus.org/official/unstable/3.5.3/feed/libs//Packages.gzInflating http://openzaurus.org/official/unstable/3.5.3/feed/libs//Packages.gz
Updated list of available packages in /usr/lib/ipkg/lists/libs
Downloading http://openzaurus.org/official/unstable/3.5.3/feed/console/Packages.gz
Inflating http://openzaurus.org/official/unstable/3.5.3/feed/console/Packages.gzUpdated list of available packages in /usr/lib/ipkg/lists/console
Downloading http://openzaurus.org/official/unstable/3.5.3/feed/devel/Packages.gzInflating http://openzaurus.org/official/unstable/3.5.3/feed/devel/Packages.gz
Updated list of available packages in /usr/lib/ipkg/lists/devel
Downloading http://openzaurus.org/official/unstable/3.5.3/feed/opie/Packages.gz
Inflating http://openzaurus.org/official/unstable/3.5.3/feed/opie/Packages.gz
Updated list of available packages in /usr/lib/ipkg/lists/opie
root@collie:/proc# ipkg upgrade
Upgrading ipkg on root from 0.99.147-r1 to 0.99.148-r0...
Downloading http://openzaurus.org/official/unstable/3.5.3/upgrades//ipkg_0.99.148-r0_arm.ipk
Upgrading libipkg0 on root from 0.99.147-r1 to 0.99.148-r0...
Downloading http://openzaurus.org/official/unstable/3.5.3/upgrades//libipkg0_0.99.148-r0_arm.ipk
Not installing libipkg0 (0.99.148-r0) on root -- already installed.
Upgrading libqte2 on root from 2.3.10-r12 to 2.3.10-r14...
Downloading http://openzaurus.org/official/unstable/3.5.3/upgrades//libqte2_2.3.10-r14_collie.ipk
ipkg: write: No space left on device
Upgrading libts-0.0-0 on root from 0.0cvs20050403-r18 to 0.0cvs20050505-r18...
Downloading http://openzaurus.org/official/unstable/3.5.3/upgrades//libts-0.0-0_0.0cvs20050505-r18_arm.ipk
ipkg: //usr/lib/ipkg/info/libts-0.0-0.control: No space left on device
ipkg: //usr/lib/ipkg/info/libts-0.0-0.postinst: No space left on device
ipkg: /usr/lib/ts/collie.so: No space left on device
ipkg: /usr/lib/ts/mk712.so: No space left on device
ipkg: /usr/lib/ts/pthres.so: No space left on device
ipkg: /usr/lib/ts/variance.so: No space left on device
ipkg: /usr/lib/ts/linear_h2200.so: No space left on device
ipkg: /usr/lib/ts/arctic2.so: No space left on device
ipkg: /usr/lib/ts/dejitter.so: No space left on device
ipkg: /usr/lib/ts/ucb1x00.so: No space left on device
ipkg: /usr/lib/ts/corgi.so: No space left on device
ipkg: /usr/lib/ts/linear.so: No space left on device
ipkg: /usr/lib/ts/h3600.so: No space left on device
ipkg: /usr/lib/ts/input.so: No space left on device
ipkg: Cannot create symlink from ./usr/lib/libts-0.0.so.0 to 'libts-0.0.so.0.1.1': No space left on device
ipkg: /usr/lib/libts-0.0.so.0.1.1: No space left on device
can't get //usr/lib/ipkg/info/libts-0.0-0.control open for read
Configuring ipkg
/usr/bin/update-alternatives: 185: cannot create /usr/lib/ipkg/alternatives/ipkg.new: No space left on device
postinst script returned status 2
ERROR: ipkg.postinst returned 2
Configuring libipkg0
ldconfig: file /opt/QtPalmtop/lib/libqte.so.2 is truncated
ldconfig: file /opt/QtPalmtop/lib/libqte.so is truncated
ldconfig: file /opt/QtPalmtop/lib/libqte.so.2.3.10 is truncated
ldconfig: file /opt/QtPalmtop/lib/libqte.so.2.3 is truncated
ldconfig: Can't create temporary cache file /etc/ld.so.cache~: No space left on device
postinst script returned status 1
ERROR: libipkg0.postinst returned 1
Configuring libqte2
ldconfig: file /opt/QtPalmtop/lib/libqte.so.2 is truncated
ldconfig: file /opt/QtPalmtop/lib/libqte.so is truncated
ldconfig: file /opt/QtPalmtop/lib/libqte.so.2.3.10 is truncated
ldconfig: file /opt/QtPalmtop/lib/libqte.so.2.3 is truncated
ldconfig: Can't create temporary cache file /etc/ld.so.cache~: No space left on device
postinst script returned status 1
ERROR: libqte2.postinst returned 1
Configuring libts-0.0-0
ipkg_conf_write_status_files: Can't open status file: //usr/lib/ipkg/status for writing: No space left on device
ipkg_conf_write_status_files: Can't open status file: /media/cf/packages//usr/lib/ipkg/status for writing: No space left on device
ipkg_conf_write_status_files: Can't open status file: /media/card/packages//usr/lib/ipkg/status for writing: No space left on device
pkg_write_filelist pkg=ipkg returned 28
pkg_write_filelist pkg=libipkg0 returned 28
pkg_write_filelist pkg=libqte2 returned 28
pkg_write_filelist pkg=libts-0.0-0 returned 28
root@collie:/proc# df -h
Filesystem Size Used Available Use% Mounted on
/dev/mtdblock4 14.1M 14.0M 120.0k 99% /
/dev/mtdblock6 31.0M 18.0k 29.4M 0% /media/ram
tmpfs 14.7M 52.0k 14.7M 0% /var
root@collie:/proc#
-
The index files are too big, add something like
lists_dir ext /path/to/more/storage
to /etc/ipkg.conf. That will put the index files in /path/to/more/storage instead of /usr/lib/ipkg/lists
-
Other good rules:
* Don't use GUI, but use ipkg directly on console. You can really
control where everyging goes
* Don't do "ipkg upgrade". If you have root on internal flash, you don't
have room for that. You may try upgrading system packages one-by-one.
* Install applications on memory card:
# ipkg -t /media/ram/tmp -d sd package-name
# ipkg-link mount /media/card/packages
I'm currently using OpenZaurus 48/24 kernel on collie, but I'm not using
ram storage on anything, so I'm thinking of moving into 64/0 kernel. I have
all documents and installed software on SD card. I bought
512 Kb SD card (those are cheap), so I have CF slot free for upgrades or
wlan card, if I can find cheap one.
veekoo
-
koen: Thanks for the info! I had no clue at all about that lists_dir setting in ipkg.conf. I've just been doing things with a mess of symlinks...
-
The index files are too big, add something like
lists_dir ext /path/to/more/storage
to /etc/ipkg.conf. That will put the index files in /path/to/more/storage instead of /usr/lib/ipkg/lists
[div align=\"right\"][a href=\"index.php?act=findpost&pid=80854\"][{POST_SNAPBACK}][/a][/div]
Does this mean that after I change the path/to/more/storage... that I can safely remove the lists in /usr/lib/ipkg/lists ?
Also, what are the package names for the things in the PIM. I would like to remove all PIM application that are safe to remove as I have no desire to use any of the PIM applications.
And one last irksomquestion where do I change the offset for the internet time. Even though I set city time (it is the first city in the city list is the default for system right?) I still GMT instead of GMT -5.
Larry
PS You probablly hate it when someone asks three questions in one post...but I thought I sneak it in and no one would notice.
-
The index files are too big, add something like
lists_dir ext /path/to/more/storage
to /etc/ipkg.conf. That will put the index files in /path/to/more/storage instead of /usr/lib/ipkg/lists
[div align=\"right\"][a href=\"index.php?act=findpost&pid=80854\"][{POST_SNAPBACK}][/a][/div]
Does this mean that after I change the path/to/more/storage... that I can safely remove the lists in /usr/lib/ipkg/lists ?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=81231\"][{POST_SNAPBACK}][/a][/div]
Correct, those files only needed when you install software to figure out where to get the depencies from. Booting will be faster too, since ipkg checks the lists on startup too.
-
Also, what are the package names for the things in the PIM. I would like to remove all PIM application that are safe to remove as I have no desire to use any of the PIM applications.
Look at the name of the .desktop file (for example) (in ~/Applications/) and use ipkg to find out which package a file belongs to - I can't remember the command off the top of my head though I'm afraid ('ipkg provides' ??).
Si