Author Topic: Receive errors when installing apps on 3.5.1  (Read 2096 times)

magnumbi

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • http://
Receive errors when installing apps on 3.5.1
« on: October 09, 2004, 09:41:23 am »
Hi,

I installed OZ 3.5.1 today on my 5500.  When I try install apps either from a CF or SD card I get error messages.  I was trying to install libstdc++6 to RAM but I get errors.

At first I received the portmap error.  Looking at irongeek's website (irongeek.com) he says to use "ipkg remove portmap."  I did this successfully, tried to install again using "ipkg install libstdc++6_3.4.2-r0_arm.ipk".  It begins the installation but then says

"Package libstdc++6 wants to install file /usr/lib/libstdc++6.so.6 But that file is already provided by package libstdc++6

An error occurred, return value: 2"

Am I doing something wrong here?  Any suggestions?  Thanks in advance.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Receive errors when installing apps on 3.5.1
« Reply #1 on: October 09, 2004, 11:55:54 am »
This error is caused because the package you are trying to install is tryiong to overwrite an existing file. If you're sure this is what you want to do (and it most probably is), stick -force-depends somewhere in the ipkg command then try again.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

magnumbi

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • http://
Receive errors when installing apps on 3.5.1
« Reply #2 on: October 09, 2004, 12:11:16 pm »
Thanks for the reply lardman.  I tried adding -force-depends in the ipkg command as you said but no luck.

What I am trying to do is install konquer embedded.  Based on the messages I received it looks like this depends on libstdc++... and pcre_4.4... .  I did an ipkg list and based on this it looks like both are already installed by default in oz 3.5.1.  

Did anyone else have a problem installing konqueror or have I just not had enough coffee yet today and am missing something?

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Receive errors when installing apps on 3.5.1
« Reply #3 on: October 09, 2004, 12:19:27 pm »
Actually my post was wrong: -force-depends just ignores the dependencies, -force-overwrite (I think) forces ipkg to overwrite existing files.

So: ipkg install -force-depends libstdc++6_3.4.2-r0_arm.ipk

...should work.


Si

P.S. ipkg list just lists what's available (from the various feeds, etc.), ipkg status will tell you what's installed.
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva