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.

Every time I try to download YouTube videos using youtube-dl it gives me this:

ERROR: unable to open for writing: [Errno 2] No such file or directory:<br> 'Filename.mp4.part'

How can I fix this? Any ideas?

share|improve this question
add comment

1 Answer

The version of youtube-dl in the 12.04 repositories is out of date, update it with the following command:

sudo youtube-dl --update

It should work after that.

If you don't have root privileges, set an output file as a workaround:

youtube-dl -o ~/Videos http://www.youtube.com/watch?v=P0YiWsAM0O8
share|improve this answer
add comment

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.