Author Topic: Ipkg Can't Satisfy Dependecies -  (Read 4330 times)

jeevandras

  • Newbie
  • *
  • Posts: 21
    • View Profile
Ipkg Can't Satisfy Dependecies -
« on: September 29, 2006, 10:49:51 pm »
Hi,
I am always hitting a brickwall with installing vlc for my Z. I have got OZ and Opie 1.2.
I downloaded an Opie friendly VLC from
http://www.videolan.org/vlc/download-familiar.html

Tried installing the file opie-vlc_0.6.0_arm.ipk through the package manager and I get the error

Error: Cannot satisfy the following dependencies for opie-vlc:

opie-base
opie-libsdl

Also tried installing the file opie-libsdl from the same site and I get the error
Error: Cannot satisfy the following dependencies for opie-libsdl

task-opie

I see that task-opie and opie-base are the culprits here

I looked at the Packages installed using Package Manager on Opie and I find that a myriad of task-opie-something packages installed including task-opie-base installed. Is this what its looking for and don't see?

I assume that the packages i have could be older version and need to be updated?

How do I get them?

I know ipkg update should help with updating the ipks, no? Is that one of its uses? However, I have still not able to get my Z connected to my laptop to get it on the Internet. My more optimistic option would be to put them onto my CF or SD cards. Can anyone advise on if this is the way of doing it and how should I go about this, properly?

Also, I see that in the Package Manager configurator there is a means to specify the src of my feed. My Z's previous owner has left some ipks on the SD card he has given to me. However, when I do and ipkg update I get the error

"wget: not an http pr ftp url: /media/card/progs/Packages"

the folder /media/card is where my sd card is mounted on and just to state the obvious /progs is a folder on my sd card containing various ipks.

I can see that its obvious that why wget would fail if its looking at /media/card/progs/ because its no path on an HTTP server or FTP server but merely the path on my sd card.

So I assume thats not a good src for ipkg update. How else can I do an ipkg update if I don't have network connection to my Z.

I must say that some of the things I assume above could be rubbish coz I am a newbie to Z and linux. I appreciate any advice you can give. I am slowly but persevering at learning to figure out my Z and really appreciate your help. Many thanks!

Jeev
OZ 3.5.4.1
Kernel 2.6.16
Opie 1.2.1
on a Z C860

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Ipkg Can't Satisfy Dependecies -
« Reply #1 on: October 01, 2006, 11:40:28 am »
Quote
I assume that the packages i have could be older version and need to be updated?

How do I get them?

Looks like some of the meta packages (task-*, etc.) have been renamed.

In this case you can use the --force-depends switch to make it ignore them and install the package.

Quote
Also, I see that in the Package Manager configurator there is a means to specify the src of my feed. My Z's previous owner has left some ipks on the SD card he has given to me. However, when I do and ipkg update I get the error

"wget: not an http pr ftp url: /media/card/progs/Packages"

Look in /etc/ipkg/*.conf or /etc/ipkg.conf and see how the "src" line for these files is constructed, it should be something like:

"src somename file:///media/card/progs/"

Quote
How else can I do an ipkg update if I don't have network connection to my Z.

Using a local mirror of the feed, so basically using the above technique. However I'd encourage you to get some form of internet access working rather than downloading the entire feed as it's rather large and you don't need much of it in general.


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

jeevandras

  • Newbie
  • *
  • Posts: 21
    • View Profile
Ipkg Can't Satisfy Dependecies -
« Reply #2 on: October 01, 2006, 07:36:53 pm »
Quote
Quote
I assume that the packages i have could be older version and need to be updated?

How do I get them?

Looks like some of the meta packages (task-*, etc.) have been renamed.

In this case you can use the --force-depends switch to make it ignore them and install the package.

Quote
Also, I see that in the Package Manager configurator there is a means to specify the src of my feed. My Z's previous owner has left some ipks on the SD card he has given to me. However, when I do and ipkg update I get the error

"wget: not an http pr ftp url: /media/card/progs/Packages"

Look in /etc/ipkg/*.conf or /etc/ipkg.conf and see how the "src" line for these files is constructed, it should be something like:

"src somename file:///media/card/progs/"

Quote
How else can I do an ipkg update if I don't have network connection to my Z.

Using a local mirror of the feed, so basically using the above technique. However I'd encourage you to get some form of internet access working rather than downloading the entire feed as it's rather large and you don't need much of it in general.


Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=142786\"][{POST_SNAPBACK}][/a][/div]

Thanks Si, you have always been a great help!

I have tried to get Internet access to my Z through my laptop but never seem to be successful. I've tried usb and ad hoc wireless but never been successful. Even had so much trouble trying to get my laptop to see my Z. Perhaps, will research the forum and try again later.

Yup, I have managed to stop ipkg to from complaining about dependecies by specifying force-depends. That helped to install the ipks. Am I right to assume that task-opie and opie-base are mere empty packages that just make references to other task-opie-* and opie-base-* packages. Hence, ignoring them would be safe so as long as the other task-opie-* and opie-base-* packages are installed?

Thanks, I have managed to get ipkg to update ipks from my sd card. The previous owner only specified src as "media/card/progs/" without the domain name qualifier "file:///". Thanks again! However, I made these changes through the Package Manager user interface. I m not able to find /etc/ipkg/*.conf or /etc/ipkg.conf on my Z.

However, I am still having a lot of problem getting a media player installed. Opie-mediaplayer2 seemed to have been installed already in Opie but I am unable to get it to play .avi divx files. It just crashes with a SigKill when I play them files.

I next attempted to install a VLC player. I tried the Opie friendly VlC version which I downloaded from a link in one of the postings in this forum, i.e. opie-vlc_0.6.0C_arm.ipk and opie-libsdl_1.2.5_arm.ipk. Got them installed with force-depends and they got installed ok. However, when I attempt to just run VLC on the command line by merely typing VLC i get the error

vlc: symbol lookup error: /opt/QtPalmtop/lib/libSDL-1.2.so.0: undefined symbol cmd_12QPaintDeviceiP8QPainterP13QPDevCmdParam

Any idea what could be the problem? Realising I couldn't go any further with that I tried my luck with mplayer.

Managed to get ver 0.90pre5 (filename- mplayer_0.90pre5_arm.ipk ) from a link somewhere in this forum and then installed it. Again with force-depends.
Installation was ok but when I run Mplayer by merely typing mplayer on the command line I get the error

/usr/local/bin/mplayerx: error while loading shared libraries: libncurses.so.4: cannot open shared object file: No such file or directory

I looked at the folder /usr/lib I see libncurses.so.5.4 and libncurses.so.5->libncurses.so.5.4. I assume that the latter means a symlink has been created between libncurses.so.5 and libncurses.so.5.4. I don't know much about symlinks but believe its just a pointer to a file, no? I was wondering, would it be ok to create a symlink between libncurses.so.4 and libncurses.so.5.4. I see the number postfixed to the name may be a problem? If I can't, what should I do? Would I need to hunt for mplayer that uses libncurses.so.5? Any idea?

Also, I figure it would be easier to get a frontend ui for these players. I read in one posting in the forum that zplayer is a frontend option for mplayer or vlc. I managed to get hold of zplayer_0.1.1_arm.ipk  and installation was ok. However, again... when I run zplayer on the command line by merely typing zplayer I get the error

zplayer: symbol lookup error: zplayer: undefined symbol: _7QString.shared_null

Looks like i m just not getting anywhere with trying to get a media player installed. It could possibly that the previous owner must have messed things up with files and thats why he got rid of it.

I appreciate any advice you can give. Spent the whole weekend working on my Zaurus and really hope to get somewhere with it before too long. Many thanks!

Jeev
OZ 3.5.4.1
Kernel 2.6.16
Opie 1.2.1
on a Z C860

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Ipkg Can't Satisfy Dependecies -
« Reply #3 on: October 02, 2006, 02:16:23 am »
Quote
I tried the Opie friendly VlC version which I downloaded from a link in one of the postings in this forum

Quote
Managed to get ver 0.90pre5 (filename- mplayer_0.90pre5_arm.ipk ) from a link somewhere in this forum

Quote
I managed to get hold of zplayer_0.1.1_arm.ipk

Starting to see a pattern there...

Quote
Any idea what could be the problem? Realising I couldn't go any further with that I tried my luck with mplayer.

Only install software you downloaded from the offcial OZ feeds (e.g. via http://ewi546.ewi.utwente.nl/tmp/hrw/fb/ ). The software found in the forums is either incompatible or plain broken in my experience.
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Ipkg Can't Satisfy Dependecies -
« Reply #4 on: October 02, 2006, 07:07:53 am »
Quote
Yup, I have managed to stop ipkg to from complaining about dependecies by specifying force-depends. That helped to install the ipks. Am I right to assume that task-opie and opie-base are mere empty packages that just make references to other task-opie-* and opie-base-* packages. Hence, ignoring them would be safe so as long as the other task-opie-* and opie-base-* packages are installed?

That's right.

Quote
I have tried to get Internet access to my Z through my laptop but never seem to be successful. I've tried usb and ad hoc wireless but never been successful. Even had so much trouble trying to get my laptop to see my Z. Perhaps, will research the forum and try again later.

Get your internet connection sorted and use the following to install mplayer (& deps) which can play certainly divx:

"ipkg install mplayer"


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

jeevandras

  • Newbie
  • *
  • Posts: 21
    • View Profile
Ipkg Can't Satisfy Dependecies -
« Reply #5 on: October 02, 2006, 09:38:43 pm »
Quote
Quote
Yup, I have managed to stop ipkg to from complaining about dependecies by specifying force-depends. That helped to install the ipks. Am I right to assume that task-opie and opie-base are mere empty packages that just make references to other task-opie-* and opie-base-* packages. Hence, ignoring them would be safe so as long as the other task-opie-* and opie-base-* packages are installed?

That's right.

Quote
I have tried to get Internet access to my Z through my laptop but never seem to be successful. I've tried usb and ad hoc wireless but never been successful. Even had so much trouble trying to get my laptop to see my Z. Perhaps, will research the forum and try again later.

Get your internet connection sorted and use the following to install mplayer (& deps) which can play certainly divx:

"ipkg install mplayer"


Si
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Thanks Si and Koen,

I decided to heed your advice and try to get my internet sorted. As the moment USB is my best option. However, upon revisitting that problem I encountered a new problem. Now my XP just unable to detect my Z at all!! You helped me solve the problem before but now nothing seems to work. I have continued on from the previous thread so to make it easier for others who may encounter the same problem.

[a href=\"https://www.oesf.org/forums/index.php?showtopic=20517]https://www.oesf.org/forums/index.php?showtopic=20517[/url]

Once again. I really appreciate your help. I m gonna have to test connecting to someone else's XP when i find one available tomorrow but for now... just not got one anywhere nearby.

Many thanks!

Jeev
OZ 3.5.4.1
Kernel 2.6.16
Opie 1.2.1
on a Z C860