Fetch Failed during git repo sync - Help is much appreciated
5,208 views
Skip to first unread message
Rod Carlo Santillan
unread,
Jun 18, 2013, 8:27:36 AM6/18/13
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi Guys, I'm trying to download the Firefox OS source code but i keep getting a Fetch failed error. I'm not sure if this is a connection issue with the server or something needs fixn on my side. some output:
Fetching projects: 9% (7/77) From http://android.git.linaro.org/git-ro/platform/bionic 560e9f7..977a331 master -> linaro/master
Fetching projects: 10% (8/77) error: Could not resolve host: (nil); Name or service not known while accessing http://android.git.linaro.org/git-ro/platform/bootable/recovery/info/refs?service=git-upload-pack fatal: HTTP request failed
Fetching projects: 20% (16/77) error: Unable to find be31c632ab0740c74ca0e92f929a447c301e2780 under http://android.git.linaro.org/git-ro/platform/external/dnsmasq Cannot obtain needed object be31c632ab0740c74ca0e92f929a447c301e2780
while processing commit 61e587d3802fe674c4a8f7eab59a5c58b1943536.
error: Fetch failed.
Fetching projects: 46% (36/77) error: Could not resolve host: (nil); Name or service not known while accessing http://android.git.linaro.org/git-ro/platform/external/iptables/info/refs?service=git-upload-pack fatal: HTTP request failed
Fetching projects: 49% (38/77) error: Unable to find be31c632ab0740c74ca0e92f929a447c301e2780 under http://android.git.linaro.org/git-ro/platform/external/dnsmasq Cannot obtain needed object be31c632ab0740c74ca0e92f929a447c301e2780
while processing commit 61e587d3802fe674c4a8f7eab59a5c58b1943536.
error: Fetch failed.
Fetching projects: 61% (47/77) error: Cannot fetch platform/external/dnsmasq
Fetching projects: 66% (51/77)
error: Exited sync due to fetch errors
[root@localhost B2G]# ./repo sync
Fetching projects: 19% (15/77) error: Unable to find be31c632ab0740c74ca0e92f929a447c301e2780 under http://android.git.linaro.org/git-ro/platform/external/dnsmasq Cannot obtain needed object be31c632ab0740c74ca0e92f929a447c301e2780
while processing commit 61e587d3802fe674c4a8f7eab59a5c58b1943536.
error: Fetch failed.
Fetching projects: 22% (17/77) error: Could not resolve host: (nil); Name or service not known while accessing http://android.git.linaro.org/git-ro/platform/external/bluetooth/glib/info/refs?service=git-upload-pack fatal: HTTP request failed
Fetching projects: 40% (31/77) error: Unable to find be31c632ab0740c74ca0e92f929a447c301e2780 under http://android.git.linaro.org/git-ro/platform/external/dnsmasq Cannot obtain needed object be31c632ab0740c74ca0e92f929a447c301e2780
while processing commit 61e587d3802fe674c4a8f7eab59a5c58b1943536.
error: Fetch failed.
Fetching projects: 70% (54/77) error: Cannot fetch platform/external/dnsmasq
Fetching projects: 74% (57/77) error: Unable to find 6da44346ce7d6cdacfad1d2901d6374ddc0386df under http://android.git.linaro.org/git-ro/platform/frameworks/base Cannot obtain needed object 6da44346ce7d6cdacfad1d2901d6374ddc0386df
while processing commit ecc35e680b1d5093c7f7cebce25117e6fb384b1c.
error: Fetch failed.
error: Unable to find 6da44346ce7d6cdacfad1d2901d6374ddc0386df under http://android.git.linaro.org/git-ro/platform/frameworks/base Cannot obtain needed object 6da44346ce7d6cdacfad1d2901d6374ddc0386df
while processing commit ecc35e680b1d5093c7f7cebce25117e6fb384b1c.
error: Fetch failed.
error: Cannot fetch platform/frameworks/base
error: Exited sync due to fetch errors
[root@localhost B2G]# ./repo sync
Fetching projects: 14% (11/77) error: Could not resolve host: (nil); Name or service not known while accessing http://android.git.linaro.org/git-ro/platform/abi/cpp/info/refs?service=git-upload-pack fatal: HTTP request failed
Fetching projects: 18% (14/77) error: Unable to find be31c632ab0740c74ca0e92f929a447c301e2780 under http://android.git.linaro.org/git-ro/platform/external/dnsmasq Cannot obtain needed object be31c632ab0740c74ca0e92f929a447c301e2780
while processing commit 61e587d3802fe674c4a8f7eab59a5c58b1943536.
error: Fetch failed.
Fetching projects: 22% (17/77) error: Could not resolve host: (nil); Name or service not known while accessing http://android.git.linaro.org/git-ro/platform/external/dhcpcd/info/refs?service=git-upload-pack fatal: HTTP request failed
Fetching projects: 25% (20/77) error: Unable to find be31c632ab0740c74ca0e92f929a447c301e2780 under http://android.git.linaro.org/git-ro/platform/external/dnsmasq Cannot obtain needed object be31c632ab0740c74ca0e92f929a447c301e2780
while processing commit 61e587d3802fe674c4a8f7eab59a5c58b1943536.
error: Fetch failed.
Fetching projects: 36% (28/77) error: Cannot fetch platform/external/dnsmasq
Fetching projects: 41% (32/77)
error: Exited sync due to fetch errors
Rod Carlo Santillan
unread,
Jun 18, 2013, 6:07:38 PM6/18/13
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
no more fetch errors. I hope I didn't mess anything in my local repo
Rod Santillan
unread,
Jun 18, 2013, 6:19:01 PM6/18/13
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
It looks like I need to sync with google repo first
Nicolas B. Pierron
unread,
Jun 19, 2013, 6:03:38 AM6/19/13
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mozilla...@lists.mozilla.org
On 06/18/2013 03:07 PM, Rod Carlo Santillan wrote:
> On Tuesday, June 18, 2013 8:27:36 PM UTC+8, Rod Carlo Santillan wrote:
>> Hi Guys, I'm trying to download the Firefox OS source code but i keep getting a Fetch failed error. I'm not sure if this is a connection issue with the server or something needs fixn on my side. some output:
>>
Doing that will do the checkout of Android sources instead of B2G sources.
you should redo it from scratch and if you still have a fetch error, you can
try to run "./repo sync --force-broken", which will at least do the checkout
of the others, and you can work around the one which does not want to be
updated.
--
Nicolas B. Pierron
Rod Santillan
unread,
Jun 21, 2013, 9:58:31 PM6/21/13
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Thanks Nicolas. I'll give it a shot.
Rod Santillan
unread,
Jun 25, 2013, 8:37:51 AM6/25/13
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Man this is frustrating! It's raining 'fetch issues' 'The remote end hung up unexpectedly' and that linaro issue! (http://android.git.linaro.org/git-ro/platform/prebuilt Cannot obtain needed object) everytime I do a ./config.sh nexus-s. Do i have to start over again? with the repo sync? When I do a repo sync it's telling me 100%(77/77) project. I'm guessing that Im already sync.
Nicolas B. Pierron
unread,
Jun 25, 2013, 9:55:54 AM6/25/13
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mozilla...@lists.mozilla.org
Yeah, it might be good to start over again, I am surprized you only have 77
projects because I am counting 80 in the manifest file which correspond to
the nexus-s.
Maybe you can modify the remote in .repo/manifest.xml such as it tries to
pull the changes from another location. Be aware that this file might be
overwritten by the repo binary, so you might have to edit
..repo/manifests/nexus-s.xml and resolve the merge conflicts when there is one.
--
Nicolas B. Pierron
Rod Santillan
unread,
Jun 25, 2013, 7:34:21 PM6/25/13
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Thanks Nicolas! Do I always have to start from scratch every time I get a fetch issue?
Message has been deleted
Message has been deleted
Rod Santillan
unread,
Jun 27, 2013, 10:45:34 AM6/27/13
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mozilla...@lists.mozilla.org
On 06/27/2013 07:45 AM, Rod Santillan wrote:
> On Wednesday, June 26, 2013 7:34:21 AM UTC+8, Rod Santillan wrote:
>
> Im going in circles! ahaha! The only repo that works is https://android.googlesource.com/ in place of linaro
This is weird, everybody else is using linaro.
What is your version of git?
On 06/27/2013 07:45 AM, Rod Santillan wrote:
> On Wednesday, June 26, 2013 7:34:21 AM UTC+8, Rod Santillan wrote:
>
> Im going in circles! ahaha! The only repo that works is https://android.googlesource.com/ in place of linaro
This is weird, everybody else is using linaro.
What is your version of git?
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mozilla...@lists.mozilla.org
On 07/05/2013 05:33 AM, Singh, Arun Kumar wrote:
> Almost similar problem for me with linaro and fetch error for bionic and platform/prebuild
>
> Unable to find version when doing config.sh for galaxy-s2
>
> ********************************
> Fetching projects: 9% (7/77) error: Unable to find 2c222c49066e46208ea5ed75141978a5c3974d10 under http://android.git.linaro.org/git-ro/platform/bionic > Cannot obtain needed object 2c222c49066e46208ea5ed75141978a5c3974d10
>
> Fetching projects: 93% (72/77) error: Unable to find 91266e60bd77a848a98e677807e7b6ce61a9867d under http://android.git.linaro.org/git-ro/platform/prebuilt > Cannot obtain needed object 91266e60bd77a848a98e677807e7b6ce61a9867d
>
>
> error: Fetch failed.
> error: Exited sync due to fetch errors
> ***********************************
I guess the Linaro mirror might have a corrupted repository [1]. You can
send them a notification about it, and do the modifications that I suggested
before, which is to use another remote repository in your manifest file,
have a look at previous answers I gave to Rod.