This page aims to tell you everything you ever needed to know about ipkg, the "standard" install file for many Embedded Linux distributions.
When you want to install software you normally download an ipkg file or set up some Feeds.
- How To
You can gunzip and untar the .ipk file itself, which gives you a few files, including "data.tar.gz", which contains the actual files themselves. Better yet, you can take advantage of Unix pipes, and do this:
tar zxvf FILE.ipk ./data.tar.gz | tar tz
OPIE packages are 'ar' files. 'ar' will be able to unpack an OPIE package, e.g. 'ar -t a_package.ipk'.
- Corrupt Packages: If a Sharp package is corrupt then gunzip will probably fail to unzip it.
- Package was unzipped by browser thinking it was compressed for download. The Files tab in QPE will show an Install icon next to the ipk file but when you tap on it no file appears in the install program. gzip it again and rename it from originalname.ipk.gz to originalname.ipk
- Bus errors: Typically, this is due to a truncated IPK install. If a newly installed application won't run from the Launcher, and you get a 'Bus Error' message when trying to run it from the terminal, it probably got truncated during install, and, unfortunately, the 'Add/Remove Software' application didn't notice. Try uninstalling it, freeing up some space, and then re-installing it.
- Packages not appearing in the list after installing them: Check the package format, or the package itself. This can happen for 3 reasons:
- There are two package formats, one for Sharp ROMs and one for OPIE ROMs. The Sharp package installer can only deal with packages for the Sharp ROMs so make sure you get a Sharp package or a package from a Sharp feed.
- The package is corrupt. Sometimes a package can get corrupted during download. Some browsers seem to partially unpack packages after downloading. Try redownloading the package again and, if possible, use a different browser to download it.
- The package was not put together properly. The internal structure of a package must follow strict rules, however if you get your packages from reliable feeds and/or software sites you should not have a problem with this.
- "The file of this package includes characters this application can't handle. Please change the filename and retry install." : The package installer does not like spaces and unusual characters in the directory names, where the package is located, as well.
- To correct this, find the parent directory where the packages are located that has a space or unusual character in it using the Files tab. Then, with your stylus, tap and hold down on the directory until a menu appears. Select the 'Rename' menu item and remove the space.