Score:1

libopencv-dev and dependencies could not be installed

eg flag

I am attempting to install howdy, and apt yields this result:

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:
 howdy : Depends: libopencv-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

If I try to install directly libopencv-dev it says the same thigs with other packages.

 libopencv-dev : Depends: libopencv-contrib-dev (= 4.2.0+dfsg-5+20.04.sav2) but it is not going to be installed
                 Depends: libopencv-dnn-dev (= 4.2.0+dfsg-5+20.04.sav2) but it is not going to be installed
                 Depends: libopencv-superres-dev (= 4.2.0+dfsg-5+20.04.sav2) but it is not going to be installed
                 Depends: libopencv4.2-java (= 4.2.0+dfsg-5+20.04.sav2) but it is not going to be installed
                 Depends: libopencv-contrib4.2 (>= 4.2.0+dfsg) but it is not going to be installed

Now I haven't done any work with computer vision before, and I've tried pretty much google offered, among which running the command

sudo apt list --installed | grep opencv

Which told me I had installed the following packages

libopencv-core4.2/focal,now 4.2.0+dfsg-5+20.04.sav2 amd64 [installed,automatic]
libopencv-imgcodecs4.2/focal,now 4.2.0+dfsg-5+20.04.sav2 amd64 [installed,automatic]
libopencv-imgproc4.2/focal,now 4.2.0+dfsg-5+20.04.sav2 amd64 [installed,automatic]
libopencv-videoio4.2/focal,now 4.2.0+dfsg-5+20.04.sav2 amd64 [installed,automatic]

As per the guide I found I removed them, ran autoremove, and then retried with howdy. Same result. How do I solve this? It would be amazing to skip some of the password-typing that linux requires.

Edit: as by request, the result of "apt-cache policy libopencv-dev howdy"

libopencv-dev:
  Installed: (none)
  Candidate: 4.2.0+dfsg-5+20.04.sav2
  Version table:
     4.2.0+dfsg-5+20.04.sav2 500
        500 http://ppa.launchpad.net/savoury1/blender/ubuntu focal/main amd64 Packages
     4.2.0+dfsg-5 500
        500 http://it.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
howdy:
  Installed: (none)
  Candidate: 2.6.1
  Version table:
     2.6.1 500
        500 http://ppa.launchpad.net/boltgolt/howdy/ubuntu focal/main amd64 Packages
        500 http://ppa.launchpad.net/boltgolt/howdy/ubuntu focal/main i386 Packages

The result of apt-cache policy is here

N0rbert avatar
zw flag
Please add output of `apt-cache policy libopencv-dev howdy` to the question by editing it. Do you really need latest OpenCV from PPA?
eg flag
Added. As far as the version of OpenCV I have no idea which is needed, I thought apt would figure that out (?)
N0rbert avatar
zw flag
Please add output of `apt-cache policy` to the question (if long - use pastebin).
eg flag
Here you go @N0rbert
N0rbert avatar
zw flag
Please install Aptitude by `sudo apt-get install aptitude` and then try to install Howdy using it - by `sudo aptitude install howdy`. Please share any error output which you get.
Score:1
zw flag

I would recommend to purge ppa:savoury1/blender PPA by using below commands:

sudo apt-get update
sudo apt-get install ppa-purge
sudo ppa-purge ppa:savoury1/blender

Then you'll be able to install Howdy from its PPA by

sudo apt-get install howdy
eg flag
Nope doesn't work... Why did I have to remove blender's PPA? I did install the repo successfully though
N0rbert avatar
zw flag
Blender's PPA contains conflicting OpenCV libraries.
eg flag
I guess but it still doesn't work... Running the command again obviously blender is not there anymore, and I definitely cannot remove ubuntu's repo soooo halp
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.