Deep
Deep

Reputation: 1

Getting error on ubuntu 10 ec2 server while apt install

sudo apt install tasksel

Reading package lists... Done

Building dependency tree

Reading state information... Done

E: The package libopencv-video2.4v5 needs to be reinstalled, but I can't find an archive for it.

Upvotes: 0

Views: 41

Answers (1)

user10434643
user10434643

Reputation:

I'd recommend : sudo dpkg --remove --force-all libopencv-video* && sudo apt-get update

  • sometimes it needs the machine to be restarted

Also you could try :

apt-get -f install
apt-get autoremove
apt-get purge libopencv-video*
apt-get purge
apt-get clean

if apt didn't work you can also manually download .deb file and install it using dpkg -i file.deb

Upvotes: 0

Related Questions