Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I was trying to download a video from Youtube using Youtube-dl, but I got the sig error, so I tried to update Youtube-dl to the latest version and it wasn't working (I'm sorry, I don't remember what the error was or what it said in the terminal when I tried to update). So, I tried uninstalling and then reinstalling Youtube-dl. The uninstalling part worked fine, it's the installing part that I need help with now.
I tried typing "sudo apt-get install youtube-dl" and I get this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
youtube-dl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
So, I assumed that that meant that I had it installed, but when I tried to use it, nothing happens, or rather I just get this:
root@chaaaaaaarlie3:~# youtube-dl https://www.youtube.com/watch?v=eISomx-VMow root@chaaaaaaarlie3:~#
and the video obviously doesn't download.
I have been trying to fix this problem for awhile now and I have no idea what to do. I also have almost no knowledge of how to use terminals/Ubuntu/computers/things of that sort, so if you could be very specific when helping me, I'd appreciate it. (Okay, I'm not COMPLETELY stupid, but I really don't know much. Let's just say that Youtube-dl is the ONLY thing that I use terminals for >.> )

Oh, and I'm not sure if this would be what's messing up my attempts to use Youtube-dl, but I think I uninstalled Youtube-dl and it's dependencies and I may have purged my local/config files for Youtube-dl, too.
I can't really remember all that I did last night when I was trying to fix this...

share|improve this question
1  
I got the same error when I tried to download that video so I think there might be a problem with downloading that particular video. To test if youtube-dl is working try downloading this 5-second video: youtube-dl -f 18 http://www.youtube.com/watch?v=pBPPLu2x3lI. For an explanation of the most commonly used commands for youtube-dl see this answer: askubuntu.com/questions/334081/… –  karel Jun 24 at 1:35
    
Unfortunately, Youtube-dl isn't downloading ANYTHING anymore, not just that video. –  Amy Jun 24 at 1:40
    
Try updating youtube-dl to that latest version by running the command: sudo youtube-dl -U and then try to download the 5-second video in the link in the previous comment again. –  karel Jun 24 at 1:42
    
I have tried updating it, and nothing happens. It's supposed to say something after you type "sudo youtube-dl -U" and then hit enter, right? For me, it just does what it did when I tried downloading the video. And, I tried again just to see if anything would happen, and still nothing happened when I tried to download that 5 second video :/ –  Amy Jun 24 at 1:46

2 Answers 2

up vote 1 down vote accepted

You are using Ubuntu 12.10 which is an End of Life release. I know this from your terminal output about Setting up 2014.06.02-1~webupd8~quantal from this PPA: ppa:nilarimogard/webupd8 which is found at this webpage. That's why you can't update youtube-dl. Your version of youtube-dl is out of date and Google has changed the code required to download a YouTube video since Ubuntu 12.10 was released. That is why you can't download any video. Try installing the latest version of Ubuntu, Ubuntu 14.04, which is a Long Term Support release that is supported by updates until April, 2019, and youtube-dl will work the way it's supposed to.

Then try to download a 5-second test video to check if youtube-dl is working:

youtube-dl -f 5 http://www.youtube.com/watch?v=pBPPLu2x3lI
share|improve this answer
    
Oh, alright then. I'll have to wait until the next time I see my brother-in-law to update my OS, because he's my computer expert and I know nothing about how to update my OS myself.... (Yes, I really am THAT stupid when it comes to computers) But thank you for your help!! :) –  Amy Jun 24 at 3:57

You don't have to upgrade the system. Update youtube-dl by adding this PPA:

sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install youtube-dl

Then you may download any video as usual. For example:

youtube-dl https://www.youtube.com/watch?v=Ix1rD4JD3eo
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.