threads / discuss / 36330

[fatal error] cannot pread pack file: Input/output error

Subject: [fatal error] cannot pread pack file: Input/output error

## tl;dr

3 messages between Apr 1, 2014 and Apr 1, 2014.

replies: 2people: 2as markdown or json

sunny110· Apr 1, 2014, 11:22 UTC · lore

Hi; I hope this is the right place for my question.

I wanna build GoldenDict from source, however I get a fattal error when I try to clone the repository.

Here is the recorded session:
    sunny@s9:~/Programs/goldendict$ git clone
git://github.com/goldendict/goldendict.git
    Cloning into 'goldendict'...
    remote: Reusing existing pack: 11370, done.
    remote: Counting objects: 7, done.
    remote: Compressing objects: 100% (7/7), done.
    remote: Total 11377 (delta 1), reused 0 (delta 0)
    Receiving objects: 100% (11377/11377), 27.17 MiB | 11 KiB/s, done.
    fatal: cannot pread pack file: Input/output error
    fatal: index-pack failed 
So what's the problem? could anyone help me? Thanks in advance.

-- View this message in context: http://git.661346.n2.nabble.com/fatal-error-cannot-pread-pack-file-Input-output-error-tp7607133.html Sent from the git mailing list archive at Nabble.com.

Jeff King· Apr 1, 2014, 11:53 UTC · re: sunny110 · lore

Re: [fatal error] cannot pread pack file: Input/output error

On Tue, Apr 01, 2014 at 04:22:04AM -0700, sunny110 wrote:
Show 17 quoted lines
> I wanna build GoldenDict from source, however I get a fattal error when I
> try to clone the repository.
> 
> Here is the recorded session:
> 
>     sunny@s9:~/Programs/goldendict$ git clone
> git://github.com/goldendict/goldendict.git
>     Cloning into 'goldendict'...
>     remote: Reusing existing pack: 11370, done.
>     remote: Counting objects: 7, done.
>     remote: Compressing objects: 100% (7/7), done.
>     remote: Total 11377 (delta 1), reused 0 (delta 0)
>     Receiving objects: 100% (11377/11377), 27.17 MiB | 11 KiB/s, done.
>     fatal: cannot pread pack file: Input/output error
>     fatal: index-pack failed 
> 
> So what's the problem? could anyone help me? Thanks in advance.

At the point you see that message, git has received the whole contents from the remote side and written them to disk. It's then trying to read back the data it just wrote to do some checks on it. However, your filesystem has reported a low-level I/O error, which may indicate a disk problem or filesystem corruption.

Is it possible that your disk is dying?
-Peff
sunny110· Apr 1, 2014, 12:45 UTC · re: Jeff King · lore

Re: [fatal error] cannot pread pack file: Input/output error

Jeff King wrote
Show 5 quoted lines
> At the point you see that message, git has received the whole contents
> from the remote side and written them to disk. It's then trying to read
> back the data it just wrote to do some checks on it. However, your
> filesystem has reported a low-level I/O error, which may indicate a
> disk problem or filesystem corruption.
Thanks for your reply.
Jeff King wrote
> Is it possible that your disk is dying?

maybe! I tried it out on my old laptop. /Sunny

-- View this message in context: http://git.661346.n2.nabble.com/fatal-error-cannot-pread-pack-file-Input-output-error-tp7607133p7607137.html Sent from the git mailing list archive at Nabble.com.

← back to recent threads