OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => 5x00 General discussions => Topic started by: zen on August 26, 2006, 05:46:44 am

Title: Problem W/dependencies Upgrading/installing Apps
Post by: zen on August 26, 2006, 05:46:44 am
Hi there,
I've got problem installing most of the apps from opie. I'm getting dependencies problem like this:
Code: [Select]
Warning: Cannot satisfy the following dependencies for libopiecore2-1:
         libqpe1 (>= 1.2.1) libqte2 (>= 2.3.10)

I'm using 3.5.4.1 feeds:
Code: [Select]
src upgrades http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4.1/feed/upgrades
src machine http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4/feed/machine/collie
src base http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4.1/feed/base
src opie http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4.1/feed/opie
src python http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4.1/feed/python

but it was the same with 3.5.4.
Additionally some other dependencies seem to be broken as well:
Code: [Select]
Warning: Cannot satisfy the following dependencies for altboot:
         altboot-conf
Warning: Cannot satisfy the following dependencies for libts-0.0-0:
         tslib-conf
Warning: Cannot satisfy the following dependencies for sysvinit:
         sysvinit-inittab
Warning: Cannot satisfy the following dependencies for task-opie-base:
         opie-taskbar opie-pics
Strange is that all that missing packages are available, but my Zaur doesn't see them.

Any help appreciated.
cheers,
zen
Title: Problem W/dependencies Upgrading/installing Apps
Post by: koen on August 26, 2006, 05:55:16 am
did you do an 'ipkg update' before trying to install something?
Title: Problem W/dependencies Upgrading/installing Apps
Post by: zen on August 26, 2006, 08:24:22 am
Quote
did you do an 'ipkg update' before trying to install something?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=139846\"][{POST_SNAPBACK}][/a][/div]

Yes,
I also noticed that I can't even install those libraries manually:
Code: [Select]
root@zenzaur:~/Documents# ipkg install libqte2_2.3.10-r32_collie.ipk
Clearing state_want and state_flag for pkg=libqte2 (arch_priority=0 flag=16 want=2)
Nothing to be done
An error ocurred, return value: 4.
Collected errors:
Cannot find package libqte2.
Check the spelling or perhaps run 'ipkg update'

I checked local packages list, and those packages are listed there. Is there something wrong with ipkg cache? How can I force ipkg to see those packages?
Title: Problem W/dependencies Upgrading/installing Apps
Post by: Meanie on August 26, 2006, 08:39:24 am
Quote
Quote
did you do an 'ipkg update' before trying to install something?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=139846\"][{POST_SNAPBACK}][/a][/div]

Yes,
I also noticed that I can't even install those libraries manually:
Code: [Select]
root@zenzaur:~/Documents# ipkg install libqte2_2.3.10-r32_collie.ipk
Clearing state_want and state_flag for pkg=libqte2 (arch_priority=0 flag=16 want=2)
Nothing to be done
An error ocurred, return value: 4.
Collected errors:
Cannot find package libqte2.
Check the spelling or perhaps run 'ipkg update'

I checked local packages list, and those packages are listed there. Is there something wrong with ipkg cache? How can I force ipkg to see those packages?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=139855\"][{POST_SNAPBACK}][/a][/div]

if you run it with verbosity level 4 you will notice that it is failing on a libc dependency which is a timezone or locale package. can't remember which one but you will see once you run with higher verbosity level.
Title: Problem W/dependencies Upgrading/installing Apps
Post by: koen on August 26, 2006, 08:48:40 am
This is looking suspiciously like a wrong arch.conf for ipkg
Title: Problem W/dependencies Upgrading/installing Apps
Post by: zen on August 26, 2006, 08:51:32 am
Unfortunately, it didn't help (those messages don't mean too much for me):
Code: [Select]
root@zenzaur:~/Documents# ipkg -V 4 install libqte2_2.3.10-r32_collie.ipk
Debug install_cmd: libqte2_2.3.10-r32_collie.ipk
Package libqte2 provided by hand (libqte2_2.3.10-r32_collie.ipk).
Function: pkg_vec_insert_merge. Found pkg=libqte2 version=2.3.10-r32 arch=collie cmp=libqte2 version=2.3.10-r27 arch=collie
Function: pkg_vec_insert_merge. Adding new pkg=libqte2 version=2.3.10-r32 arch=collie
pkg_info_preinstall_check: updating arch priority for each package
Clearing state_want and state_flag for pkg=libqte2 (arch_priority=0 flag=16 want=2)
pkg_info_preinstall_check: update file owner list
 Getting old  from pkg_hash_fetch
 Getting new  from pkg_hash_fetch
best installation candidate for libqte2
 adding libqte2 to providers
  libqte2 arch=collie arch_priority=0 version=2.3.10-r27
  libqte2 arch=collie arch_priority=0 version=2.3.10-r32
 Versions from pkg_hash_fetch in ipkg_install_by_name
Configuring unpacked packages
Nothing to be done
An error ocurred, return value: 4.
Collected errors:
Cannot find package libqte2.
Check the spelling or perhaps run 'ipkg update'
hash_table[pkg-hash] n_buckets=0 n_elements=3969 max_conflicts=0 n_conflicts=0
hash_table[file-hash] n_buckets=0 n_elements=2187 max_conflicts=0 n_conflicts=0
hash_table[obs-file-hash] n_buckets=0 n_elements=0 max_conflicts=0 n_conflicts=0

What I can see is that ipkg sees 2 versions, which is accurate. Any ideas?
Title: Problem W/dependencies Upgrading/installing Apps
Post by: zen on August 26, 2006, 09:06:02 am
I can't find this file (arch.conf). Can you put me in a good direction please?
Title: Problem W/dependencies Upgrading/installing Apps
Post by: zen on August 27, 2006, 09:20:54 am
Don't bother, I had to reinstall root