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

Package 'libav-tools' has no installation candidate #209

Open
taniyahasija1997 opened this issue Mar 16, 2020 · 4 comments
Open

Package 'libav-tools' has no installation candidate #209

taniyahasija1997 opened this issue Mar 16, 2020 · 4 comments

Comments

@taniyahasija1997
Copy link

(venv) cu@cu-PowerEdge-T20:~/Tacotron-2-master$ sudo docker build -t tacotron-2_image docker/
Sending build context to Docker daemon 2.048kB
Step 1/10 : FROM continuumio/anaconda3:latest
---> bdb4a7e92a49
Step 2/10 : FROM tensorflow/tensorflow:latest-gpu-py3
---> e2a4af785bdb
Step 3/10 : RUN apt-get update
---> Using cache
---> 122e61610906
Step 4/10 : RUN apt-get install -y libasound-dev portaudio19-dev libportaudio2 libportaudiocpp0 ffmpeg libav-tools wget git vim
---> Running in 76ef158ee8f4
Reading package lists...
Building dependency tree...
Reading state information...
Package libav-tools is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
ffmpeg

E: Package 'libav-tools' has no installation candidate
The command '/bin/bash -c apt-get install -y libasound-dev portaudio19-dev libportaudio2 libportaudiocpp0 ffmpeg libav-tools wget git vim' returned a non-zero code: 100

#can anyone help me

@mimoralea
Copy link

Check out: #26

You may need to modify the Dockerfile and replace libav-tools with ffmpeg.

@AyanHBK123
Copy link

I tried to do this way but still gets the error

@Ri-an
Copy link

Ri-an commented Mar 6, 2021

Rayhane-mamah/Tacotron-2@7fa1387

try this.

@AndreiCherniaev
Copy link

Check out: #26

You may need to modify the Dockerfile and replace libav-tools with ffmpeg.

The modern way is to use ffmpeg:

sudo apt install v4l-utils

v4l2-ctl --list-devices

ffmpeg -f video4linux2 -i /dev/video0 -vframes 1 -video_size 640x480 test.jpeg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants