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.
하지만 --extract-audio --audio-format mp3 [URL]을 사용하여 실행하면 다음과 같이 끝났습니다.
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.
youtube-dl 패키지를 업그레이드하고 추가 파일을 설치하려면 다음을 수행하세요.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... E: Unable to locate package youtube-dl
그리고 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
몇 가지 세부정보:
Kali GNU/Linux 2.0(sana) 64비트 사용.
다음 명령을 사용하여 업그레이드하려고 합니다.
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: 소스.목록
#
# 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
답변1
에 소스가 누락되었습니다 sources.list
.
보다Kali 소스 목록 저장소, 내용은 다음과 같습니다.
Kali Linux를 표준으로 새로 설치하는 경우 /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
두 번째 줄은 있는 것 같지만 첫 번째 줄은 없습니다. .sources.list