ys7yoo / PiOpenCV

Instruction to install OpenCV on Raspberry Pi
14 stars 2 forks source link

it appears that the October build of the opencv .deb file has has an invalid version field value #1

Open hillct opened 6 years ago

hillct commented 6 years ago

Issuing the standard install commend yields:

root@raspberrypi:~# dpkg -i opencv3-RPI-STR.deb dpkg: error processing archive opencv3-RPI-STR.deb (--install): parsing file '/var/lib/dpkg/tmp.ci/control' near line 2 package 'opencv': error in 'Version' field string 'unknown': version number does not start with digit Errors were encountered while processing: opencv3-RPI-STR.deb

If you force the installation as follows:

dpkg --force-bad-version -i opencv3-RPI-STR.deb

you are of course able to complete the installation but certainly this is not a desirable solution.

Apparently, the metadata of binary debian packages can be modified in a fashion similar to that in other package management solutions though I've never done it with a .deb package https://wiki.debian.org/EditingBinaryPackageMetadata

saulspatz commented 6 years ago

I just encountered the very same problem.