Ich wollte youtube-dl upgraden mit:
http://rg3.github.io/youtube-dl/download.html
brew install youtube-dl
==> Select the Linuxbrew installation directory
- Enter your password to install to /home/linuxbrew/.linuxbrew (recommended)
- Press Control-D to install to /home/pat/.linuxbrew
- Press Control-C to cancel installation
[sudo] Passwort für pat:
==> This script will install:
/home/linuxbrew/.linuxbrew/bin/brew
/home/linuxbrew/.linuxbrew/share/doc/homebrew
/home/linuxbrew/.linuxbrew/share/man/man1/brew.1
/home/linuxbrew/.linuxbrew/share/zsh/site-functions/_brew
/home/linuxbrew/.linuxbrew/etc/bash_completion.d/brew
/home/pat/.cache/Homebrew/
/home/linuxbrew/.linuxbrew/Homebrew
==> The following new directories will be created:
/home/linuxbrew/.linuxbrew/Cellar
/home/linuxbrew/.linuxbrew/bin
/home/linuxbrew/.linuxbrew/etc
/home/linuxbrew/.linuxbrew/include
/home/linuxbrew/.linuxbrew/lib
/home/linuxbrew/.linuxbrew/opt
/home/linuxbrew/.linuxbrew/sbin
/home/linuxbrew/.linuxbrew/share
/home/linuxbrew/.linuxbrew/share/zsh
/home/linuxbrew/.linuxbrew/share/zsh/site-functions
/home/linuxbrew/.linuxbrew/var
/home/linuxbrew/.linuxbrew/Homebrew
Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/mkdir -p /home/linuxbrew/.linuxbrew
==> /usr/bin/sudo /bin/chown pat:pat /home/linuxbrew/.linuxbrew
==> /usr/bin/sudo /bin/mkdir -p /home/linuxbrew/.linuxbrew/Cellar /home/linuxbrew/.linuxbrew/bin /home/linuxbrew/.linuxbrew/etc /home/linuxbrew/.linuxbrew/include /home/linuxbrew/.linuxbrew/lib /home/linuxbrew/.linuxbrew/opt /home/linuxbrew/.linuxbrew/sbin /home/linuxbrew/.linuxbrew/share /home/linuxbrew/.linuxbrew/share/zsh /home/linuxbrew/.linuxbrew/share/zsh/site-functions /home/linuxbrew/.linuxbrew/var /home/linuxbrew/.linuxbrew/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /home/linuxbrew/.linuxbrew/Cellar /home/linuxbrew/.linuxbrew/bin /home/linuxbrew/.linuxbrew/etc /home/linuxbrew/.linuxbrew/include /home/linuxbrew/.linuxbrew/lib /home/linuxbrew/.linuxbrew/opt /home/linuxbrew/.linuxbrew/sbin /home/linuxbrew/.linuxbrew/share /home/linuxbrew/.linuxbrew/share/zsh /home/linuxbrew/.linuxbrew/share/zsh/site-functions /home/linuxbrew/.linuxbrew/var /home/linuxbrew/.linuxbrew/Homebrew
==> /usr/bin/sudo /bin/chmod 755 /home/linuxbrew/.linuxbrew/share/zsh /home/linuxbrew/.linuxbrew/share/zsh/site-functions
==> /usr/bin/sudo /bin/chown pat /home/linuxbrew/.linuxbrew/Cellar /home/linuxbrew/.linuxbrew/bin /home/linuxbrew/.linuxbrew/etc /home/linuxbrew/.linuxbrew/include /home/linuxbrew/.linuxbrew/lib /home/linuxbrew/.linuxbrew/opt /home/linuxbrew/.linuxbrew/sbin /home/linuxbrew/.linuxbrew/share /home/linuxbrew/.linuxbrew/share/zsh /home/linuxbrew/.linuxbrew/share/zsh/site-functions /home/linuxbrew/.linuxbrew/var /home/linuxbrew/.linuxbrew/Homebrew
==> /usr/bin/sudo /bin/chgrp pat /home/linuxbrew/.linuxbrew/Cellar /home/linuxbrew/.linuxbrew/bin /home/linuxbrew/.linuxbrew/etc /home/linuxbrew/.linuxbrew/include /home/linuxbrew/.linuxbrew/lib /home/linuxbrew/.linuxbrew/opt /home/linuxbrew/.linuxbrew/sbin /home/linuxbrew/.linuxbrew/share /home/linuxbrew/.linuxbrew/share/zsh /home/linuxbrew/.linuxbrew/share/zsh/site-functions /home/linuxbrew/.linuxbrew/var /home/linuxbrew/.linuxbrew/Homebrew
==> /usr/bin/sudo /bin/mkdir -p /home/pat/.cache/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /home/pat/.cache/Homebrew
==> /usr/bin/sudo /bin/chown pat /home/pat/.cache/Homebrew
==> /usr/bin/sudo /bin/chgrp pat /home/pat/.cache/Homebrew
==> Downloading and installing Linuxbrew...
remote: Enumerating objects: 11608, done.
remote: Counting objects: 100% (11608/11608), done.
remote: Compressing objects: 100% (5557/5557), done.
remote: Total 11608 (delta 7918), reused 8471 (delta 5705), pack-reused 0
Empfange Objekte: 100% (11608/11608), 4.05 MiB | 7.62 MiB/s, Fertig.
Löse Unterschiede auf: 100% (7918/7918), Fertig.
Von https://github.com/Linuxbrew/brew
* [neuer Branch] master -> origin/master
* [neues Tag] 1.0.0 -> 1.0.0
* [neues Tag] 1.0.1 -> 1.0.1
* [neues Tag] 1.0.2 -> 1.0.2
* [neues Tag] 1.0.3 -> 1.0.3
* [neues Tag] 1.0.4 -> 1.0.4
* [neues Tag] 1.0.5 -> 1.0.5
* [neues Tag] 1.0.6 -> 1.0.6
* [neues Tag] 1.0.7 -> 1.0.7
* [neues Tag] 1.0.8 -> 1.0.8
* [neues Tag] 1.0.9 -> 1.0.9
* [neues Tag] 1.1.0 -> 1.1.0
* [neues Tag] 1.1.0.1 -> 1.1.0.1
* [neues Tag] 1.1.1 -> 1.1.1
* [neues Tag] 1.1.10 -> 1.1.10
* [neues Tag] 1.1.11 -> 1.1.11
* [neues Tag] 1.1.12 -> 1.1.12
* [neues Tag] 1.1.13 -> 1.1.13
* [neues Tag] 1.1.2 -> 1.1.2
* [neues Tag] 1.1.2.1 -> 1.1.2.1
* [neues Tag] 1.1.3 -> 1.1.3
* [neues Tag] 1.1.4 -> 1.1.4
* [neues Tag] 1.1.5 -> 1.1.5
* [neues Tag] 1.1.6 -> 1.1.6
* [neues Tag] 1.1.7 -> 1.1.7
* [neues Tag] 1.1.8 -> 1.1.8
* [neues Tag] 1.1.9 -> 1.1.9
* [neues Tag] 1.2.0 -> 1.2.0
* [neues Tag] 1.2.1 -> 1.2.1
* [neues Tag] 1.2.2 -> 1.2.2
* [neues Tag] 1.2.3 -> 1.2.3
* [neues Tag] 1.2.4 -> 1.2.4
* [neues Tag] 1.2.5 -> 1.2.5
* [neues Tag] 1.2.6 -> 1.2.6
* [neues Tag] 1.2.7 -> 1.2.7
* [neues Tag] 1.2.8 -> 1.2.8
* [neues Tag] 1.3.0 -> 1.3.0
* [neues Tag] 1.3.1 -> 1.3.1
* [neues Tag] 1.3.2 -> 1.3.2
* [neues Tag] 1.3.3 -> 1.3.3
* [neues Tag] 1.3.4 -> 1.3.4
* [neues Tag] 1.3.5 -> 1.3.5
* [neues Tag] 1.3.6 -> 1.3.6
* [neues Tag] 1.3.7 -> 1.3.7
* [neues Tag] 1.3.8 -> 1.3.8
* [neues Tag] 1.3.9 -> 1.3.9
* [neues Tag] 1.4.0 -> 1.4.0
* [neues Tag] 1.4.1 -> 1.4.1
* [neues Tag] 1.4.2 -> 1.4.2
* [neues Tag] 1.4.3 -> 1.4.3
* [neues Tag] 1.5.0 -> 1.5.0
* [neues Tag] 1.5.1 -> 1.5.1
* [neues Tag] 1.5.10 -> 1.5.10
* [neues Tag] 1.5.11 -> 1.5.11
* [neues Tag] 1.5.12 -> 1.5.12
* [neues Tag] 1.5.13 -> 1.5.13
* [neues Tag] 1.5.14 -> 1.5.14
* [neues Tag] 1.5.2 -> 1.5.2
* [neues Tag] 1.5.3 -> 1.5.3
* [neues Tag] 1.5.4 -> 1.5.4
* [neues Tag] 1.5.5 -> 1.5.5
* [neues Tag] 1.5.6 -> 1.5.6
* [neues Tag] 1.5.7 -> 1.5.7
* [neues Tag] 1.5.8 -> 1.5.8
* [neues Tag] 1.5.9 -> 1.5.9
* [neues Tag] 1.6.0 -> 1.6.0
* [neues Tag] 1.6.1 -> 1.6.1
* [neues Tag] 1.6.10 -> 1.6.10
* [neues Tag] 1.6.11 -> 1.6.11
* [neues Tag] 1.6.12 -> 1.6.12
* [neues Tag] 1.6.13 -> 1.6.13
* [neues Tag] 1.6.14 -> 1.6.14
* [neues Tag] 1.6.15 -> 1.6.15
* [neues Tag] 1.6.16 -> 1.6.16
* [neues Tag] 1.6.17 -> 1.6.17
* [neues Tag] 1.6.2 -> 1.6.2
* [neues Tag] 1.6.3 -> 1.6.3
* [neues Tag] 1.6.4 -> 1.6.4
* [neues Tag] 1.6.5 -> 1.6.5
* [neues Tag] 1.6.6 -> 1.6.6
* [neues Tag] 1.6.7 -> 1.6.7
* [neues Tag] 1.6.8 -> 1.6.8
* [neues Tag] 1.6.9 -> 1.6.9
* [neues Tag] 1.7.0 -> 1.7.0
* [neues Tag] 1.7.1 -> 1.7.1
* [neues Tag] 1.7.2 -> 1.7.2
* [neues Tag] 1.7.3 -> 1.7.3
* [neues Tag] 1.7.4 -> 1.7.4
* [neues Tag] 1.7.5 -> 1.7.5
* [neues Tag] 1.7.6 -> 1.7.6
* [neues Tag] 1.7.7 -> 1.7.7
* [neues Tag] 1.8.0 -> 1.8.0
HEAD ist jetzt bei 8f5de98 Merge tag Homebrew/1.8.0 into Linuxbrew/master
==> Linuxbrew is run entirely by unpaid volunteers. Please consider donating:
https://github.com/Linuxbrew/brew#donations
==> Tapping homebrew/core
Cloning into '/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core'...
remote: Enumerating objects: 4902, done.
remote: Counting objects: 100% (4902/4902), done.
remote: Compressing objects: 100% (4698/4698), done.
remote: Total 4902 (delta 50), reused 331 (delta 12), pack-reused 0
Receiving objects: 100% (4902/4902), 4.24 MiB | 13.04 MiB/s, done.
Resolving deltas: 100% (50/50), done.
Tapped 3 commands and 4683 formulae (4,943 files, 13.3MB).
Already up-to-date.
==> Installation successful!
==> Homebrew has enabled anonymous aggregate user behaviour analytics.
Read the analytics documentation (and how to opt-out) here:
http://docs.brew.sh/Analytics.html
==> Next steps:
- Install the Linuxbrew dependencies if you have sudo access:
Debian, Ubuntu, etc.
sudo apt-get install build-essential
Fedora, Red Hat, CentOS, etc.
sudo yum groupinstall 'Development Tools'
See http://linuxbrew.sh/#dependencies for more information.
- Add Linuxbrew to your ~/.bash_profile by running
echo 'export PATH="/home/linuxbrew/.linuxbrew/bin:$PATH"' >>~/.bash_profile
echo 'export MANPATH="/home/linuxbrew/.linuxbrew/share/man:$MANPATH"' >>~/.bash_profile
echo 'export INFOPATH="/home/linuxbrew/.linuxbrew/share/info:$INFOPATH"' >>~/.bash_profile
- Add Linuxbrew to your PATH
PATH="/home/linuxbrew/.linuxbrew/bin:$PATH"
- We recommend that you install GCC by running:
brew install gcc
- Run `brew help` to get started
- Further documentation:
http://docs.brew.sh
Warning: /home/linuxbrew/.linuxbrew/bin is not in your PATH.
/usr/bin/brew: 78: exec: /home/pat/.linuxbrew/bin/brew: not found
pat@pat-desktop:~$
pat@pat-desktop:~$
Nicht das ich hier Mist gebaut habe...
Ich habe anschliessend :
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl und sudo chmod a+rx /usr/local/bin/youtube-dl
ausgeführt.
yt2mp3 (youtubevideolink) funktionierte erst nicht mehr. Jetzt gehts wieder. Damit:
sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl sudo chmod a+rx /usr/local/bin/youtube-dl
habe ich wohl die Version neu installiert...? (Obwohl die alte drauf war
Das ppa : http://launchpad.net/nilarimogard/webupd8/ubuntu bionic main - funktioniert nicht
zuerst habe ich:
sudo brew install youtube-dl
versucht Ich wurde gewarnt das als root auszuführen.
Homebrew konnte ich installieren
Hier die ursprüngliche Fehlermeldung:
yt2mp3 https://www.youtube.com/watch?v=AiIBKcd4m5Q
[youtube] AiIBKcd4m5Q: Downloading webpage
[youtube] AiIBKcd4m5Q: Downloading video info webpage
[youtube] AiIBKcd4m5Q: Extracting video information
[youtube] AiIBKcd4m5Q: Downloading js player vflXM3IU_
ERROR: Signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py", line 1191, in _decrypt_signature
video_id, player_url, s
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py", line 1102, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py", line 1163, in _parse_sig_js
jscode, 'Initial JS player signature function name', group='sig')
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 796, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract Initial JS player signature function name; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
(caused by RegexNotFoundError('Unable to extract \x1b[0;34mInitial JS player signature function name\x1b[0m; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
pat@pat-Aspire-3810T:~$
Homebrew unter Linux nennt sich nach der Installation: linuxbrew-wrapper
Ich habe es in der Synaptic-Paketverwaltung sofort wieder deinstalliert (normale Deinstallation) Auf meinem Laptop habe ich alles fast identsch, dort hat:
sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl sudo chmod a+rx /usr/local/bin/youtube-dl
ausgereicht um youtube-dl wieder funktionstüchtig zu bekommen was mich an linuxbrew stört ist die unsichere http Verbindung anstatt https
Wäre also nicht notwendig gewesen. Das man youtube-dl nur mit homebrew updaten kann ist seltsam.