adelcast / opkg_old

Automatically exported from code.google.com/p/opkg
0 stars 0 forks source link

opkg not working #122

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have Angstrom on Devkit 8500, and once I run opkg install <any package>, I 
get this error : An error ocurred, return value: -1092183340. Any idea about 
what's missing ?
/etc/opkg directory contains only arch.conf, I have tried adding opkg.conf but 
it still doesn't work ( gives some error saying there's a compatibility issue 
concerning the architecture)

Original issue reported on code.google.com by Fatimzah...@gmail.com on 19 Feb 2014 at 12:17

GoogleCodeExporter commented 9 years ago
Could you try the '-V4' argument to opkg to print the maximum level of debug 
info, see if that gives any hints. If it's not obvious from that, post it here 
along with the contents of your opkg config files and I'll take a look.

Original comment by paul.betafive on 19 Feb 2014 at 12:26

GoogleCodeExporter commented 9 years ago
root@DevKit8500:~# opkg -V4 install nano
Function: pkg_vec_insert_merge. Adding new pkg=libcurl4 version=7.19.0 
arch=armv7a
Function: pkg_vec_insert_merge. Adding new pkg=angstrom-version 
version=2008.1-test-20090127 arch=beagleboard
Function: pkg_vec_insert_merge. Adding new pkg=task-arago-base version=1.0 
arch=all
Function: pkg_vec_insert_merge. Adding new pkg=libc6 version=2.5 arch=armv5te
Function: pkg_vec_insert_merge. Adding new pkg=modutils-initscripts version=1.0 
arch=armv7a
Function: pkg_vec_insert_merge. Adding new pkg=libjpeg62 version=6b arch=armv5te
Function: pkg_vec_insert_merge. Adding new pkg=alsa-utils-aplay version=1.0.17 
arch=armv7a
Function: pkg_vec_insert_merge. Adding new pkg=alsa-lib version=1.0.18 
arch=armv7a
Function: pkg_vec_insert_merge. Adding new pkg=udev version=124 arch=armv7a
Function: pkg_vec_insert_merge. Adding new pkg=opkg-nogpg version=0.1.6+svnr197 
arch=armv7a
Function: pkg_vec_insert_merge. Adding new pkg=libmad0 version=0.15.1b 
arch=armv5te
Function: pkg_vec_insert_merge. Adding new pkg=alsa-conf-base version=1.0.18 
arch=armv7a
Function: pkg_vec_insert_merge. Adding new pkg=udev-utils version=124 
arch=armv7a
Function: pkg_vec_insert_merge. Adding new pkg=libopkg0 version=0.1.6+svnr197 
arch=armv7a
Function: pkg_vec_insert_merge. Adding new pkg=libmp3lame0 version=3.96.1 
arch=armv5te
Function: pkg_vec_insert_merge. Adding new pkg=netbase version=4.21 arch=armv7a
Function: pkg_vec_insert_merge. Adding new pkg=libz1 version=1.2.3 arch=armv7a
Function: pkg_vec_insert_merge. Adding new pkg=mplayer-common version=0.0.1 
arch=armv5te
Function: pkg_vec_insert_merge. Adding new pkg=update-alternatives-cworth 
version=0.99.154 arch=all
Function: pkg_vec_insert_merge. Adding new pkg=sysvinit-inittab version=2.86 
arch=beagleboard
Function: pkg_vec_insert_merge. Adding new pkg=base-passwd version=3.5.19 
arch=armv7a
Function: pkg_vec_insert_merge. Adding new pkg=sysvinit-pidof version=2.86 
arch=armv7a
Function: pkg_vec_insert_merge. Adding new pkg=libfreetype6 version=2.3.6 
arch=armv5te
Function: pkg_vec_insert_merge. Adding new pkg=update-rc.d version=0.7 arch=all
Function: pkg_vec_insert_merge. Adding new pkg=libasound2 version=1.0.18 
arch=armv7a
Function: pkg_vec_insert_merge. Adding new pkg=makedevs version=1.0.0 
arch=armv7a
Function: pkg_vec_insert_merge. Adding new pkg=busybox version=1.11.3 
arch=armv7a
Function: pkg_vec_insert_merge. Adding new pkg=mplayer version=0.0+1.0rc2 
arch=armv5te
Function: pkg_vec_insert_merge. Adding new pkg=initscripts version=1.0 
arch=armv7a
Function: pkg_vec_insert_merge. Adding new pkg=ncurses version=5.4 arch=armv5te
Function: pkg_vec_insert_merge. Adding new pkg=base-files version=3.0.14 
arch=beagleboard
Function: pkg_vec_insert_merge. Adding new pkg=sysvinit version=2.86 arch=armv7a
Function: pkg_vec_insert_merge. Adding new pkg=libfontconfig1 version=2.6.0 
arch=armv5te
Function: pkg_vec_insert_merge. Adding new pkg=tinylogin version=1.4 arch=armv7a
Function: pkg_vec_insert_merge. Adding new pkg=libvolume-id0 version=124 
arch=armv7a
Function: pkg_vec_insert_merge. Adding new pkg=libexpat1 version=2.0.0 
arch=armv5te
Function: pkg_vec_insert_merge. Adding new pkg=libpng12-0 version=1.2.31 
arch=armv5te
Function: pkg_vec_insert_merge. Adding new pkg=libgcc1 
version=4.2.1+csl-arm-2007q3-53 arch=armv5te
Debug install_cmd: nano  
pkg_info_preinstall_check: updating arch priority for each package
pkg_info_preinstall_check: update file owner list
 Getting old  from pkg_hash_fetch 
 Getting new  from pkg_hash_fetch 
 Versions from pkg_hash_fetch in opkg_install_by_name  
Configuring unpacked packages
Reordering packages before configuring them...
  pkg: libcurl4
  Descending on pkg: libc6
  pkg: libc6
  Descending on pkg: libz1
  pkg: libz1
  Descending on pkg: libc6
  pkg: libc6 already visited
  Descending on pkg: libgcc1
  pkg: libgcc1
  Descending on pkg: libc6
  pkg: libc6 already visited
  pkg: angstrom-version
  pkg: task-arago-base
  Descending on pkg: base-files
  pkg: base-files
  Descending on pkg: base-passwd
  pkg: base-passwd
  Descending on pkg: libc6
  pkg: libc6 already visited
  Descending on pkg: busybox
  pkg: busybox
  Descending on pkg: update-rc.d
  pkg: update-rc.d
  Descending on pkg: libc6
  pkg: libc6 already visited
  Descending on pkg: initscripts
  pkg: initscripts
  Descending on pkg: makedevs
  pkg: makedevs
  Descending on pkg: libc6
  pkg: libc6 already visited
  Descending on pkg: modutils-initscripts
  pkg: modutils-initscripts
  Descending on pkg: update-rc.d
  pkg: update-rc.d already visited
  Descending on pkg: netbase
  pkg: netbase
  Descending on pkg: update-rc.d
  pkg: update-rc.d already visited
  Descending on pkg: update-alternatives-cworth
  pkg: update-alternatives-cworth
  Descending on pkg: alsa-lib
  pkg: alsa-lib
  Descending on pkg: libasound2
  pkg: libasound2
  Descending on pkg: alsa-conf-base
  pkg: alsa-conf-base
  Descending on pkg: libc6
  pkg: libc6 already visited
  Descending on pkg: libgcc1
  pkg: libgcc1 already visited
  Descending on pkg: libc6
  pkg: libc6 already visited
  Descending on pkg: alsa-utils-aplay
  pkg: alsa-utils-aplay
  Descending on pkg: libasound2
  pkg: libasound2 already visited
  Descending on pkg: libc6
  pkg: libc6 already visited
  Descending on pkg: libgcc1
  pkg: libgcc1 already visited
  Descending on pkg: opkg-nogpg
  pkg: opkg-nogpg
  Descending on pkg: libopkg0
  pkg: libopkg0
  Descending on pkg: libcurl4
  pkg: libcurl4 already visited
  Descending on pkg: libc6
  pkg: libc6 already visited
  Descending on pkg: libz1
  pkg: libz1 already visited
  Descending on pkg: libcurl4
  pkg: libcurl4 already visited
  Descending on pkg: libc6
  pkg: libc6 already visited
  Descending on pkg: libz1
  pkg: libz1 already visited
  Descending on pkg: udev
  pkg: udev
  Descending on pkg: update-rc.d
  pkg: update-rc.d already visited
  Descending on pkg: udev-utils
  pkg: udev-utils
  Descending on pkg: update-rc.d
  pkg: update-rc.d already visited
  Descending on pkg: libc6
  pkg: libc6 already visited
  Descending on pkg: libc6
  pkg: libc6 already visited
  Descending on pkg: libvolume-id0
  pkg: libvolume-id0
  Descending on pkg: update-rc.d
  pkg: update-rc.d already visited
  Descending on pkg: libc6
  pkg: libc6 already visited
  Descending on pkg: sysvinit
  pkg: sysvinit
  Descending on pkg: sysvinit-inittab
  pkg: sysvinit-inittab
  Descending on pkg: libc6
  pkg: libc6 already visited
  Descending on pkg: sysvinit-pidof
  pkg: sysvinit-pidof
  Descending on pkg: sysvinit
  pkg: sysvinit already visited
  Descending on pkg: tinylogin
  pkg: tinylogin
  Descending on pkg: libc6
  pkg: libc6 already visited
  pkg: libc6 already visited
  pkg: modutils-initscripts already visited
  pkg: libjpeg62
  Descending on pkg: libc6
  pkg: libc6 already visited
  pkg: alsa-utils-aplay already visited
  pkg: alsa-lib already visited
  pkg: udev already visited
  pkg: opkg-nogpg already visited
  pkg: libmad0
  Descending on pkg: libc6
  pkg: libc6 already visited
  pkg: alsa-conf-base already visited
  pkg: udev-utils already visited
  pkg: libopkg0 already visited
  pkg: libmp3lame0
  Descending on pkg: libc6
  pkg: libc6 already visited
  pkg: netbase already visited
  pkg: libz1 already visited
  pkg: mplayer-common
  pkg: update-alternatives-cworth already visited
  pkg: sysvinit-inittab already visited
  pkg: base-passwd already visited
  pkg: sysvinit-pidof already visited
  pkg: libfreetype6
  Descending on pkg: libc6
  pkg: libc6 already visited
  pkg: update-rc.d already visited
  pkg: libasound2 already visited
  pkg: makedevs already visited
  pkg: busybox already visited
  pkg: mplayer
  Descending on pkg: mplayer-common
  pkg: mplayer-common already visited
  Descending on pkg: libmp3lame0
  pkg: libmp3lame0 already visited
  Descending on pkg: ncurses
  pkg: ncurses
  Descending on pkg: libc6
  pkg: libc6 already visited
  Descending on pkg: libpng12-0
  pkg: libpng12-0
  Descending on pkg: libz1
  pkg: libz1 already visited
  Descending on pkg: libc6
  pkg: libc6 already visited
  Descending on pkg: libz1
  pkg: libz1 already visited
  Descending on pkg: libjpeg62
  pkg: libjpeg62 already visited
  Descending on pkg: libasound2
  pkg: libasound2 already visited
  Descending on pkg: libc6
  pkg: libc6 already visited
  Descending on pkg: libfreetype6
  pkg: libfreetype6 already visited
  Descending on pkg: libfontconfig1
  pkg: libfontconfig1
  Descending on pkg: libfreetype6
  pkg: libfreetype6 already visited
  Descending on pkg: libexpat1
  pkg: libexpat1
  Descending on pkg: libgcc1
  pkg: libgcc1 already visited
  Descending on pkg: libc6
  pkg: libc6 already visited
  Descending on pkg: libc6
  pkg: libc6 already visited
  Descending on pkg: libmad0
  pkg: libmad0 already visited
  Descending on pkg: libgcc1
  pkg: libgcc1 already visited
  pkg: initscripts already visited
  pkg: ncurses already visited
  pkg: base-files already visited
  pkg: sysvinit already visited
  pkg: libfontconfig1 already visited
  pkg: tinylogin already visited
  pkg: libvolume-id0 already visited
  pkg: libexpat1 already visited
  pkg: libpng12-0 already visited
  pkg: libgcc1 already visited
Nothing to be done
An error ocurred, return value: -1096664364.
hash_table[pkg-hash] n_buckets=0 n_elements=46 max_conflicts=0 n_conflicts=0
hash_table[file-hash] n_buckets=0 n_elements=469 max_conflicts=0 n_conflicts=0
hash_table[obs-file-hash] n_buckets=0 n_elements=0 max_conflicts=0 n_conflicts=0

As I said, /etc/opkg contains only arch.conf and her's its content :

arch all 1
arch any 6
arch noarch 11
arch arm 16
arch armv4 21
arch armv4t 26
arch armv5te 31
arch armv6 36
arch armv7 41
arch armv7a 46
arch beagleboard 51

Original comment by Fatimzah...@gmail.com on 19 Feb 2014 at 9:50

GoogleCodeExporter commented 9 years ago
Looking through that I see:

> Function: pkg_vec_insert_merge. Adding new pkg=libopkg0 version=0.1.6+svnr197 
arch=armv7a

If that's the installed version of opkg, there's really not much I can do to 
help. It is from Jan 2009 which predates my involvement with the project by a 
few years. The string "An error occurred, return value:" was removed some time 
later in 2009 so that confirms it's a very old version of opkg.

Is it possible to update to a newer version of Angstrom?

Original comment by paul.betafive on 19 Feb 2014 at 12:45

GoogleCodeExporter commented 9 years ago
I can't support this version of opkg any further. Please open a new bug if you 
have issues with opkg v0.2.0 or later.

Original comment by paul.betafive on 1 Mar 2014 at 3:06