2
$ sudo git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen
remote:Counting objects:2275852,done.
remote:Compressing objects:100%(362867/362867) done.
Receiving objects:100%(2275852/2275852), 453.53MB | 37kiB/s, done
remote:Total 2275852 (delta 1901047),reused 2265649 (delta 1891419)
Resolving deltas:100% (1901047/1901047)done.
error:unable to write sha1 filename /usr/src/linux-2.6-xen/.git/objects/pack/pck-176ee0822d6d3afed83c05b32f2125e49ede7f7c.pack: No such file or directory
fatal :cannot store pack file
fatal :index-pack failed
這通常是因爲某種原因暫停git克隆時發生的,請嘗試刪除該文件夾並再次克隆該文件夾。 – 2012-03-01 08:31:57
另一種解決方案?問題仍然存在。 – 2012-03-01 08:41:18
您還可以檢查磁盤上是否有足夠的剩餘空間。 – 2012-03-01 08:50:51