Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing OpenCV Causing SSH Connection Abort #1116

Open
speedzshaw opened this issue Jun 20, 2018 · 0 comments
Open

Installing OpenCV Causing SSH Connection Abort #1116

speedzshaw opened this issue Jun 20, 2018 · 0 comments
Labels
support Technical support request (not a bug or enhancement)

Comments

@speedzshaw
Copy link

System information:
I am using: LEGO MINDSTORMS EV3
I installed ev3dev-jesse.
My kernel version is: 4.4.68-20-ev3dev-ev3
My host computer is running: Win7
I am connecting using: wifi SSH

About my issue:
I have been trying to install opencv-3 for python-3.
Basically I'm following the steps listed in #803.
The steps namely are
The package is in sid and right now it's installable as-is in stretch! I just added

  1. deb http://httpredir.debian.org/debian sid main contrib non-free to /etc/apt/sources.list
    and did
  2. apt-get update
  3. apt-get install python3-opencv

Everything goes well until I reach this step:
"37 upgraded, 289 newly installed, 6 to remove and 336 not upgraded.
Need to get 0 B/175 MB of archives.
After this operation, 724 MB of additional disk space will be used.
Do you want to continue? [Y/n] ".

Every time I type in Y and enter. After a while, the brick is lost connection.

To answer @bidaian 's question,
"sudo apt update" works alright.

There's once that I did get through without "connection abort". But it gave me an error saying
"E: Sub-process /usr/sbin/dpkg-preconfigure --apt received signal 9
E: Failure running script /usr/sbin/dpkg-preconfigure --apt || true"

@dlech
I used ev3ev-strech previously.
It said
"
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:
python3-opencv : Depends: libopencv-calib3d3.2 (= 3.2.0+dfsg-4ev3dev1) but it is not going to be installed
Depends: libopencv-features2d3.2 (= 3.2.0+dfsg-4ev3dev1) but it is not going to be installed
Depends: libopencv-highgui3.2 (= 3.2.0+dfsg-4ev3dev1) but it is not going to be installed
Depends: libopencv-imgcodecs3.2 (= 3.2.0+dfsg-4ev3dev1) but it is not going to be installed
Depends: libopencv-objdetect3.2 (= 3.2.0+dfsg-4ev3dev1) but it is not going to be installed
Depends: libopencv-stitching3.2 (= 3.2.0+dfsg-4ev3dev1) but it is not going to be installed
Depends: libopencv-superres3.2 (= 3.2.0+dfsg-4ev3dev1) but it is not going to be installed
Depends: libopencv-videoio3.2 (= 3.2.0+dfsg-4ev3dev1) but it is not going to be installed
Depends: libopencv-videostab3.2 (= 3.2.0+dfsg-4ev3dev1) but it is not going to be installed
Depends: python3-numpy (>= 1:1.10.0~b1) but it is not going to be installed
Depends: python3-numpy-abi9
Depends: libopencv-contrib3.2 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
"
That's why I switched to ev3dev-jesse, it reaches my above mentioned step.

Thanks.

@dlech dlech added the support Technical support request (not a bug or enhancement) label May 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Technical support request (not a bug or enhancement)
Projects
None yet
Development

No branches or pull requests

2 participants