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 am downloading the source code of android via Ubuntu 12.04. And the manifest file is :

<default revision="refs/tags/android-4.0.1_r1" remote="aosp" sync-j="4"/>

So I am downloading android 4.0.1. But the things is I have downloaded 15G, but it is not finished yet. I searched on the internet and it seems that the source code of 4.0 is not that big..

There is something wrong with the school's internet(sometimes the internet disconnects), so it often stuck and I need to stop it and repo sync again. Will this has anything to do with the result?

share|improve this question
    
How are you downloading? Torrentm Subversion, Git, FTP, Usenet, HTTP? –  ExploWare Mar 18 at 5:10
    
If you're worried about downloading the same file multiple times, use a terminal program called wget with the -c option which automatically continues an interrupted download from the same place where it was stopped. wget -c is so powerful that you can even switch mirrors in the middle of a download, and it will continue the interrupted download from the same place where it was stopped using the new mirror. –  karel Mar 18 at 5:12
1  
@ExploWare Thank you. I am using Git. Following the introduction of android sourcecode. –  Brendon Tsai Mar 18 at 5:12
    
@karel Thank you. I heard that git can resume to download at the breakpoint, why it will download the same file multiple times.. But it seems like that is what is happening now.. I've in the middle of download(since I've downloaded 15G now), can I use wget now? Or do I have to start over? –  Brendon Tsai Mar 18 at 5:20
    
wget will not work with git-hosts the same way repo will, so there's almost no possibility for wget to know how to continue. I fear you will have to start over in that case –  ExploWare Mar 18 at 5:22

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.