Getting error on ubuntu 10 ec2 server while apt install

39 views Asked by At

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.

1

There are 1 answers

0
AudioBubble On

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