Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
youtube-dl and Codeblocks IDE #2618
Comments
|
The two problems are unrelated. It looks like a CodeBlocks installation was aborted in between. Your problem is far simpler; the version of youtube-dl is too old. Unless you want to update to a newer distribution or use a ppa of some kind, the easiest way to get a current youtube-dl is probably to remove the package-installed version and use our manual installation method:
If the problem persists after that, please post the output you get when running
and we will reopen this issue. |
|
Thank you for your quick replay phihang. I am not able to run: So I am stuck. apt-get -f install will remove my codeblocks (it did happen before and made quite a mess). The other suggested commands: youtube-dl: error: you must provide at least one URL $:_which youtube-dl I am not an advanced Linux user. Thanks. |
|
UPDATE! Things are really weird. Any attempt to install any software gives me this warning. So it seems that a problem with the apt rather then youtube-dl. I will try to get it working. Thanks |
|
I'd suggest you first uninstall codeblocks via |
I have encountered weird problems with youtube-dl and CodeBlocks being installed at the same time.
Kubuntu 12.04 LTS, 32 bit, KDE 4.12.3
youtube-dl working with no problems over months until:
after the install of codeblocks from .deb packages (Release 113.12 rev 9501 (2013-12-25 18:25:45 gcc 4.6.3 Linux/unicode - 32 bit) codeblocks works well but:
but trying to run "youtube-dl" I get:
$:_youtube-dl -f 18 https://www.youtube.com/watch?v=oyPrYygsum8
[youtube] Setting language
[youtube] oyPrYygsum8: Downloading video webpage
[youtube] oyPrYygsum8: Downloading video info webpage
[youtube] oyPrYygsum8: Extracting video information
Traceback (most recent call last):
File "/usr/bin/youtube-dl", line 4645, in
main()
File "/usr/bin/youtube-dl", line 4636, in main
_real_main()
File "/usr/bin/youtube-dl", line 4620, in _real_main
retcode = fd.download(all_urls)
File "/usr/bin/youtube-dl", line 869, in download
ie.extract(url)
File "/usr/bin/youtube-dl", line 1135, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl", line 1406, in _real_extract
url_map = dict((ud['itag'][0], ud['url'][0] + '&signature=' + ud['sig'][0]) for ud in url_data)
File "/usr/bin/youtube-dl", line 1406, in
url_map = dict((ud['itag'][0], ud['url'][0] + '&signature=' + ud['sig'][0]) for ud in url_data)
KeyError: 'sig'
So now youtube-dl is not runnig any more.
I tried to (re)install youtube-dl again and:
$:_sudo apt-get install youtube-dl
[sudo] password for xxxxx:
Reading package lists... Done
Building dependency tree
Reading state information... Done
youtube-dl is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
codeblocks-contrib-dbg : Depends: codeblocks-contrib (= 13.12-0ubuntu1
precise) but it is not going to be installedprecise) but 12.11-1 is to be installedcodeblocks-wxcontrib-dev : Depends: codeblocks-libwxcontrib0 (= 13.12-0ubuntu1
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
I tried to run the apt-get -f install and:
$:_sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
codeblocks-contrib-dbg codeblocks-wxcontrib-dev codeblocks-wxcontrib-headers
0 to upgrade, 0 to newly install, 3 to remove and 19 not to upgrade.
3 not fully installed or removed.
After this operation, 121 MB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.
Saying 'Yes' to the aboves removes vital parts of CodeBlocks!
Can you tell me what is in common with these two pieces of seemingly different software and why I am not able to use them both at different times?
Thank you
Zenon