DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi guys, i'm trying to install a couple of programs and there have been dependency issues. The program requires a version of a library but i have a higher version installed. I decided to make a symlink of the library and rename it the required version.
Code:
libcairo2-dev: Depends: libcairo2 (= 1.8.10-6) but 1.10.2-1.1 is installed
The library installed is named "libcairo.so.2.11000.2. I have named the symlink libcairo.so.2.1810; but dpkg is still giving me the error. What do i have to name it for dpkg to pick it up?
A *-dev file will always depend on exactly the same version of the actual lib file in question (as far as I know anyway), so your sym-linking attempts are futile. Also dependency checking is based on the package database not physical checks for the actual libs - hence it won't work.
From where did you install the libcairo2? You need to get libcairo2-dev from the same repo. I can't see it in backports, so I'm assuming you've pulled it from a third party repo?
Ok thanks for that. making symlinks in slackware worked so i thought it might in debian too, but i guess the pkg managers are to different. I honestly don't know where i got that version from, either way aptitude is offered to downgrade the pkg for me, and it doesn't seem to affect anything so ive chosen to do that, thanks.
Downgrading was probably the best option - the next would be to see if it's viable to backport libcairo2 and libcairo2-dev.
I know some people install a different libcairo2 to improve the font rendering in Iceweasel. This is often available from 3rd party repos - not sure which as I've never used it myself. Perhaps this is what you had installed?
There are huge differences between apt and slackpkg, dependency resolution being one of the most notable.
Thanks for you help caravel. I did use the Mepis repo once but no longer, and thought i'd removed the content i'd tried; it's the only possibility i can think of. Oh well, it's all good now, so thanks. Slackwares package manager is pkgtool by the way; slackpkg is the third party tool included, made by Piter Punk, which works uses pkgtool; just had to add that :-)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.