[Angstrom-distro-users] Ipkg weirdness in angstrom build: error 4

Koen Kooi k.kooi at student.utwente.nl
Mon Apr 7 23:24:47 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Oliver Fels schreef:
| Hi all.
|
| After having build a new Angstrom Opie image I noticed an ipkg weirdness.
| Leaving aside that ipkg has not been automatically included in the
image I
| have manually unpacked libipkg0, ipkg and ipkg-collateral (r193) so
all files
| are in place. The same behavior is noticed with my build and the one
from the
| angstrom feeds, btw.
| I can call ipkg update and ipkg list so all packages in the feed are
listed as
| well as ipkg status gives status information. Packages can even be
| uninstalled.
|
| However trying to install an ipkg (be it locally or from the web) always
| results in an error 4 regardless the package I want to install. Example:
|
| # ipkg install opie-today-addressbookplugin -V3
| pkg_info_preinstall_check: updating arch priority for each package
| pkg_info_preinstall_check: update file owner list
| best installation candidate for opie-today-addressbookplugin
|  adding opie-today-addressbookplugin to providers
|   opie-today-addressbookplugin arch=armv5te arch_priority=0
version=1.2.3-r0
| Configuring unpacked packages
| Nothing to be done
| An error ocurred, return value: 4.
| Collected errors:
| Cannot find package opie-today-addressbookplugin.
| Check the spelling or perhaps run 'ipkg update'
| hash_table[pkg-hash] n_buckets=0 n_elements=4323 max_conflicts=0
n_conflicts=0
| hash_table[file-hash] n_buckets=0 n_elements=0 max_conflicts=0
n_conflicts=0
| hash_table[obs-file-hash] n_buckets=0 n_elements=0 max_conflicts=0
| n_conflicts=0
|
| Please note that the package is not installed yet even if it says
"nothing to
| be done".
| I am wondering what I missed.
|
| Can someone shed some light on this ?

This looks suspiciously like a missing /etc/ipkg/arch.conf

It should look like this:
arch all 1
arch any 6
arch noarch 11
arch arm 16
arch armv4 21
arch armv4t 26
arch armv5e 31
arch armv5te 36
arch c7x0 41






-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFH+pEeMkyGM64RGpERAr/RAJ9wVhSN0tbHrRF1PSA6GCbEl7+OtwCfa1X2
8G4VConmNZAECe9/prONzAQ=
=hc68
-----END PGP SIGNATURE-----




More information about the Angstrom-distro-users mailing list