LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-05-2011, 08:21 AM   #1
_Linux_Learner
Member
 
Registered: Feb 2010
Distribution: Ubuntu
Posts: 87

Rep: Reputation: 15
Unhappy opencv problems


Hi all,

I am learning image processing and hence using opencv-2.2.0....
I am following the link
http://opencv.willowgarage.com/wiki/...20%3A%20Debian

to install this...

But even the first command to install build-essential
Code:
apt-get install build-essential
is giving following errors...
Code:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  build-essential: Depends: gcc (>= 4:4.4.3) but 4:4.4.1-1ubuntu2 is to be installed
                   Depends: g++ (>= 4:4.4.3) but it is not going to be installed
                   Depends: dpkg-dev (>= 1.13.5) but it is not going to be installed
E: Broken packages
Please help...
Thanks in advance

Regards
_Linux_Learner
 
Old 02-06-2011, 01:20 AM   #2
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
The very first question. What distro and what repositary do you use?
 
Old 02-06-2011, 01:43 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,696

Rep: Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291
Seems you have Ubuntu 9.10 Karmic with a "10.04 Lucid" repository added.
Is that right ?
Not really usable for installing any system packages.

When the issues have been fixed, you will be able to install packages again.

Opencv too, of course. They just have some odd naming :
9.10 karmic : libcv-dev libcv1 libcvaux-dev libcvaux1
libhighgui-dev libhighgui1 opencv-doc python-opencv

10.04 lucid : libcv-dev libcv4 libcvaux-dev libcvaux4
libhighgui-dev libhighgui4 opencv-doc python-opencv
http://packages.ubuntu.com/source/lucid/opencv

..
 
Old 02-06-2011, 06:09 AM   #4
_Linux_Learner
Member
 
Registered: Feb 2010
Distribution: Ubuntu
Posts: 87

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by knudfl View Post
Seems you have Ubuntu 9.10 Karmic with a "10.04 Lucid" repository added.
Is that right ?
Yes you are right....

Actually it wanted some of the packages from the 10.04 Lucid CD also...
So when I removed this option from the software sources and changed the server to main everything went well and now I have installed opencv...

Thanks for bringing to my notice this point...

Regards
_Linux_Learner
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenCV - Pixel format of incoming image is unsupported by OpenCV golmschenk Programming 1 04-01-2011 12:32 PM
Installing OpenCV and some other problems with linux matija Linux - Newbie 1 05-28-2009 11:33 AM
Help me for OpenCV application qinglau Linux - Software 0 03-09-2006 11:25 AM
opencv problems in fedora 3 sinc2 Linux - Software 0 11-16-2004 06:44 PM
OpenCV fistroman Programming 0 07-28-2003 09:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration