Había instalado el programa, pero cuando quise actualizarlo, no pude encontrarlo.

Había instalado el programa, pero cuando quise actualizarlo, no pude encontrarlo.

Había instalado youtube-dl:

# youtube-dl
Usage: youtube-dl [OPTIONS] URL [URL...]

youtube-dl: error: You must provide at least one URL.
Type youtube-dl --help to see a list of all options.

Pero cuando lo ejecuté con --extract-audio --audio-format mp3 [URL], terminó con

WARNING: 0g7KawdsVSQ: writing DASH m4a. Only some players support this container. Install ffmpeg or avconv to fix this automatically.
ERROR: ffprobe or avprobe not found. Please install one.

Y cuando quiero actualizar el paquete youtube-dl, para instalar archivos adicionales:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... E: Unable to locate package youtube-dl

Y cuando quiero instalar ffmpeg:

# apt-get install ffmpeg
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package ffmpeg 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

Algunos detalles:

  • Utilizando Kali GNU/Linux 2.0 (sana) de 64 bits.

  • Estoy intentando actualizar, con el comando:apt-get upgrade youtube-dl

>   
> 
>  # apt-cache policy youtube-dl ffmpeg
> 
>     
> 
> > ffmpeg:
> >       Installed: (none)
> >       Candidate: (none)
> >       Version table:
> >     N: Unable to locate package youtube-dl
# apt-cache policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://security.kali.org/kali-security/ sana/updates/non-free amd64 Packages
     release o=Kali,a=kali-current,n=sana,c=non-free
     origin security.kali.org
 500 http://security.kali.org/kali-security/ sana/updates/contrib amd64 Packages
     release o=Kali,a=kali-current,n=sana,c=contrib
     origin security.kali.org
 500 http://security.kali.org/kali-security/ sana/updates/main amd64 Packages
     release o=Kali,a=kali-current,n=sana,c=main
     origin security.kali.org
Pinned packages:

EDID 2: Lista de fuentes

# 

# deb cdrom:[Debian GNU/Linux 2.0 _Sana_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150811-08:02]/ sana contrib main non-free

#deb cdrom:[Debian GNU/Linux 2.0 _Sana_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150811-08:02]/ sana contrib main non-free

deb http://security.kali.org/kali-security/ sana/updates main contrib non-free
deb-src http://security.kali.org/kali-security/ sana/updates main contrib non-free

Respuesta1

Te faltan fuentes en tu sources.list.

VerRepositorios Kalisources.list, que dice:

En una instalación limpia y estándar de Kali Linux, debería tener las siguientes dos entradas presentes en /etc/apt/sources.list:

deb http://http.kali.org/kali sana main non-free contrib
deb http://security.kali.org/kali-security sana/updates main contrib non-free

Parece que tienes la segunda línea, pero no la primera. Revisar su sources.list.

información relacionada