Pages

Tuesday, June 19, 2007

git pull ; git fetch ; cg-update - The requested URL returned error: 416

If you get this error message with the git command( git pull, git fetch or cg-update).
A possible solution can to be, for example:

# cg-update or git pull command
Recovering from a previously interrupted fetch...
Fetching head...
Fetching objects...
Getting alternates list for http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git/
Also look at http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/
Getting pack list for http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git/
Getting pack 44439bc48e71c76273da6e26f662383172422bc7
which contains 6c9efd51e7e3f76e29a6eeff8da6726fa2746edc
Resuming fetch of pack 44439bc48e71c76273da6e26f662383172422bc7 at byte 34907
error: Unable to get pack file http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/
linux-omap-2.6.git/
/objects/pack/
pack-44439bc48e71c76273da6e26f662383172422bc7.pack

The requested URL returned error: 416

Look to the pack file name, here is
pack-44439bc48e71c76273da6e26f662383172422bc7.pack, then
in the main project directory:

# cd .git/objects/pack
# wget http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/ \
linux-omap-2.6.git/
/objects/pack/ \
pack-44439bc48e71c76273da6e26f662383172422bc7.pack

# rm pack-44439bc48e71c76273da6e26f662383172422bc7.pack.temp
# cd ../../../
# cg-update or git pull command again

No comments: