FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 06-24-2012, 04:39 AM
lina
 
Default E: Couldn't rebuild package cache

Hi,

I don't know how to fix the following problem,

W: Failed to fetch
gzip:/var/lib/apt/lists/partial/ftp.us.debian.org_debian_dists_wheezy_main_binary-amd64_Packages:
Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old
ones used instead.
E: Couldn't rebuild package cache


Thanks ahead for the suggestions,

Best regards,


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAG9cJmnrCPmZ3jgbhEn1YsNuu9N5AVucP0dZkswRZ2ytV7xng Q@mail.gmail.com">http://lists.debian.org/CAG9cJmnrCPmZ3jgbhEn1YsNuu9N5AVucP0dZkswRZ2ytV7xng Q@mail.gmail.com
 
Old 06-24-2012, 05:01 AM
lina
 
Default E: Couldn't rebuild package cache

On Sun, Jun 24, 2012 at 12:39 PM, lina <lina.lastname@gmail.com> wrote:
> Hi,
>
> I don't know how to fix the following problem,

It's fixed after changing the source.list to my former mirror.

Thanks,

Best regards,
>
> W: Failed to fetch
> gzip:/var/lib/apt/lists/partial/ftp.us.debian.org_debian_dists_wheezy_main_binary-amd64_Packages:
> Hash Sum mismatch
> E: Some index files failed to download. They have been ignored, or old
> ones used instead.
> E: Couldn't rebuild package cache
>
>
> Thanks ahead for the suggestions,
>
> Best regards,


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/CAG9cJmmLYq8ByjACPN=J=0Hcx+SeGYROOCc3CiCRDXTP-=jCRQ@mail.gmail.com
 
Old 06-24-2012, 05:09 AM
Charlie
 
Default E: Couldn't rebuild package cache

On Sun, 24 Jun 2012 12:39:08 +0800 "lina lina.lastname@gmail.com"
suggested this:

>W: Failed to fetch
>gzip:/var/lib/apt/lists/partial/ftp.us.debian.org_debian_dists_wheezy_main_binary-amd64_Packages:
>Hash Sum mismatch
>E: Some index files failed to download. They have been ignored, or old
>ones used instead.
>E: Couldn't rebuild package cache

I looked for the solution to this myself some time ago, and found
somewhere something about a bug and that and bzip2 had to be installed
and then it worked without a hitch.

Hope that helps you.
Charlie
--
** ** ** ** ** ** ** ** ** **
Registered Linux User:- 329524
***********************************************

Destiny is not a matter of chance, it is a matter of choice; it is not
a thing to be waited for, it is a thing to be achieved....... W J Bryan

***********************************************
Debian GNU/Linux - just the best way to create magic
_______________________________________________


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/20120624150955.4f51f358@nomad
 
Old 06-24-2012, 06:02 AM
Dom
 
Default E: Couldn't rebuild package cache

On 24/06/12 06:01, lina wrote:

On Sun, Jun 24, 2012 at 12:39 PM, lina<lina.lastname@gmail.com> wrote:

Hi,

I don't know how to fix the following problem,


It's fixed after changing the source.list to my former mirror.

Thanks,

Best regards,


W: Failed to fetch
gzip:/var/lib/apt/lists/partial/ftp.us.debian.org_debian_dists_wheezy_main_binary-amd64_Packages:
Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old
ones used instead.
E: Couldn't rebuild package cache


Thanks ahead for the suggestions,



I think that when your /var filled up, you were left with some partly
downloaded files in /var/lib/apt/lists/partial and apt is trying to use
those.


I assume you've freed up a lot of space under /var now. Can you delete
all the files uder that directory and try to update again? It is safe,
as the files will be downloaded again.


This leaves the question of why did /var fill up? Have you got a lot of
old deb files under /var/cache/apt/archives? These can be safely got rid
of with apt-get clean (unless you are keeping them for a reason). Also,
apt-get autoclean will prevent them being left in there after an
upgrade/install.


--
Dom


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4FE6AD7D.6030708@rpdom.net">http://lists.debian.org/4FE6AD7D.6030708@rpdom.net
 
Old 06-24-2012, 09:04 AM
Brian
 
Default E: Couldn't rebuild package cache

On Sun 24 Jun 2012 at 13:01:37 +0800, lina wrote:

> On Sun, Jun 24, 2012 at 12:39 PM, lina <lina.lastname@gmail.com> wrote:
> > Hi,
> >
> > I don't know how to fix the following problem,
>
> It's fixed after changing the source.list to my former mirror.

Switching backwards and forwards between mirrors may be avoided by using

http://http.debian.net


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/20120624090441.GO30016@desktop
 
Old 06-24-2012, 09:53 AM
lina
 
Default E: Couldn't rebuild package cache

On Sun, Jun 24, 2012 at 2:02 PM, Dom <toyer@rpdom.net> wrote:
> On 24/06/12 06:01, lina wrote:
>>
>> On Sun, Jun 24, 2012 at 12:39 PM, lina<lina.lastname@gmail.com> *wrote:
>>>
>>> Hi,
>>>
>>> I don't know how to fix the following problem,
>>
>>
>> It's fixed after changing the source.list to my former mirror.
>>
>> Thanks,
>>
>> Best regards,
>>>
>>>
>>> W: Failed to fetch
>>>
>>> gzip:/var/lib/apt/lists/partial/ftp.us.debian.org_debian_dists_wheezy_main_binary-amd64_Packages:
>>> Hash Sum mismatch
>>> E: Some index files failed to download. They have been ignored, or old
>>> ones used instead.
>>> E: Couldn't rebuild package cache
>>>
>>>
>>> Thanks ahead for the suggestions,
>>>
>
> I think that when your /var filled up, you were left with some partly
> downloaded files in /var/lib/apt/lists/partial and apt is trying to use
> those.
>
> I assume you've freed up a lot of space under /var now. Can you delete all
> the files uder that directory and try to update again? It is safe, as the
> files will be downloaded again.
>
> This leaves the question of why did /var fill up? Have you got a lot of old
> deb files under /var/cache/apt/archives? These can be safely got rid of with
> apt-get clean (unless you are keeping them for a reason). Also, apt-get
> autoclean will prevent them being left in there after an upgrade/install.

You are right, I have cleared the .deb,

I guess I'd better set the cron to do the autoclean also.

Thanks all,
>
> --
> Dom
>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject
> of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/4FE6AD7D.6030708@rpdom.net
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/CAG9cJmkg2JC0cFi0ysyM9=Vw2qexwJJNnDAopxpjuH1b8zxKq A@mail.gmail.com
 

Thread Tools




All times are GMT. The time now is 09:31 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org