[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem updating debian 6



2012/5/22 Chris Bannister <cbannister@slingshot.co.nz>:
> On Tue, May 22, 2012 at 04:30:37PM +0200, David Seira wrote:
>> Hi Chris,
>>
>> 2012/5/22 Chris Bannister <cbannister@slingshot.co.nz>
>>
>> The result in english (sorry) is:
> [...]
>> Get:10 http://security.debian.org/ squeeze/updates/main Translation-en [912 B]
>> 59% [10 Translation-en bzip2 0 B] [Connecting to security.debian.org
>> (128.31.0.36)]bzip2: (stdin) is not a bzip2 file.
>> Ign http://security.debian.org/ squeeze/updates/main Translation-en
>> Get:11 http://security.debian.org/ squeeze/updates/main Translation-es
>> [912 B]
>> 54% [11 Translation-es bzip2 0 B] [Connecting to security.debian.org
>> (128.31.0.36)]bzip2: (stdin) is not a bzip2 file.
>> Ign http://security.debian.org/ squeeze/updates/main Translation-es
>> Get:12 http://security.debian.org squeeze/updates Release [912 B]
>> Err http://security.debian.org squeeze/updates Release
>>
>> Fetched 10.9 kB in 1s (7872 B/s)
>> Reading package lists... Done
>> W: A error occurred during the signature verification. The repository
>> is not updated and the previous index files will be used. GPG error:
>> http://ftp.es.debian.org squeeze Release: The following signatures
>> were invalid: NODATA 1 NODATA 2
> [...]
>> W: Failed to fetch http://ftp.es.debian.org/debian/dists/squeeze/Release
>> W: Failed to fetch
>> http://ftp.es.debian.org/debian/dists/squeeze-updates/Release
>> W: Failed to fetch http://security.debian.org/dists/squeeze/updates/Release
>> W: Some index files failed to download, they have been ignored, or old
>> ones used instead.
>>
>> Yes, it was a copy 'n' paste problem.
>
> OK.
>
>> This is the only server that I manage that has this problem. This
>> server has full connectivity with the repositories servers. Maybe a
>> problem with any signature?
>
> Those are just warnings, it is the "Err" which is causing update to
> fail.
>
> So you have other servers which work ok? With exactly same sources.list?
>

Yes. I have another servers with the same configuration in another places.

> Under  "/var/lib/apt/lists/" is where the index files are kept.
> What I'd do is delete those:
> i.e. "rm /var/lib/apt/lists/*" then do apt-get update again.
>
> Then worry about the GPG warnings after.
>

I remove the index files in the directory you said but the result is the same:

Get:1 http://ftp.es.debian.org squeeze Release.gpg [912 B]
Get:2 http://ftp.es.debian.org/debian/ squeeze/main Translation-en [912 B]
99% [2 Translation-en bzip2 0 B] [Waiting for headers] [Waiting for
headers]bzip2: (stdin) is not a bzip2 file.
Ign http://ftp.es.debian.org/debian/ squeeze/main Translation-en
Get:3 http://ftp.es.debian.org squeeze-updates Release.gpg [912 B]
Get:4 http://ftp.es.debian.org/debian/ squeeze-updates/main
Translation-en [912 B]
74% [4 Translation-en bzip2 0 B] [Connecting to ftp.es.debian.org
(82.194.78.250)] [Waiting for headers]bzip2: (stdin) is not a bzip2
file.
Ign http://ftp.es.debian.org/debian/ squeeze-updates/main
Translation-en
Get:5 http://security.debian.org squeeze/updates Release.gpg [912 B]
Get:6 http://ftp.es.debian.org squeeze Release [912 B]
Ign http://ftp.es.debian.org squeeze Release
Get:7 http://ftp.es.debian.org squeeze-updates Release [912 B]
Ign http://ftp.es.debian.org squeeze-updates Release
Get:8 http://ftp.es.debian.org squeeze/main Sources [912 B]
74% [8 Sources bzip2 0 B] [Waiting for headers] [Waiting for
headers]bzip2: (stdin) is not a bzip2 file.
Err http://ftp.es.debian.org squeeze/main Sources
  Sub-process /bin/bzip2 returned an error code (2)
Get:9 http://ftp.es.debian.org squeeze/main amd64 Packages [912 B]
77% [9 Packages bzip2 0 B] [Connecting to ftp.es.debian.org
(82.194.78.250)] [Waiting for headers]bzip2: (stdin) is not a bzip2
file.
Err http://ftp.es.debian.org squeeze/main amd64 Packages
  Sub-process /bin/bzip2 returned an error code (2)
Get:10 http://security.debian.org/ squeeze/updates/main Translation-en
[912 B]
79% [10 Translation-en bzip2 0 B] [Waiting for headers]bzip2: (stdin)
is not a bzip2 file.
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Get:11 http://ftp.es.debian.org squeeze-updates/main Sources [912 B]
72% [11 Sources bzip2 0 B] [Connecting to ftp.es.debian.org
(82.194.78.250)] [Waiting for headers]bzip2: (stdin) is not a bzip2
file.
Err http://ftp.es.debian.org squeeze-updates/main Sources
  Sub-process /bin/bzip2 returned an error code (2)
Get:12 http://ftp.es.debian.org squeeze-updates/main amd64 Packages
[912 B]
74% [12 Packages bzip2 0 B] [Waiting for headers]bzip2: (stdin) is not
a bzip2 file.
Err http://ftp.es.debian.org squeeze-updates/main amd64 Packages
  Sub-process /bin/bzip2 returned an error code (2)
Get:13 http://security.debian.org squeeze/updates Release [912 B]
Ign http://security.debian.org squeeze/updates Release
Get:14 http://security.debian.org squeeze/updates/main Sources [912 B]
78% [14 Sources bzip2 0 B]bzip2: (stdin) is not a bzip2 file.
Err http://security.debian.org squeeze/updates/main Sources
  Sub-process /bin/bzip2 returned an error code (2)
Get:15 http://security.debian.org squeeze/updates/main amd64 Packages [912 B]
79% [15 Packages bzip2 0 B]bzip2: (stdin) is not a bzip2 file.
Err http://security.debian.org squeeze/updates/main amd64 Packages
  Sub-process /bin/bzip2 returned an error code (2)
Fetched 13.7 kB in 1s (7933 B/s)
W: GPG error: http://ftp.es.debian.org squeeze Release: The following
signatures were invalid: NODATA 1 NODATA 2
W: GPG error: http://ftp.es.debian.org squeeze-updates Release: The
following signatures were invalid: NODATA 1 NODATA 2
W: GPG error: http://security.debian.org squeeze/updates Release: The
following signatures were invalid: NODATA 1 NODATA 2

W: Failed to fetch
http://ftp.es.debian.org/debian/dists/squeeze/main/source/Sources.bz2
Sub-process /bin/bzip2 returned an error code (2)
W: Failed to fetch
http://ftp.es.debian.org/debian/dists/squeeze/main/binary-amd64/Packages.bz2
 Sub-process /bin/bzip2 returned an error code (2)
W: Failed to fetch
http://ftp.es.debian.org/debian/dists/squeeze-updates/main/source/Sources.bz2
 Sub-process /bin/bzip2 returned an error code (2)
W: Failed to fetch
http://ftp.es.debian.org/debian/dists/squeeze-updates/main/binary-amd64/Packages.bz2
 Sub-process /bin/bzip2 returned an error code (2)
W: Failed to fetch
http://security.debian.org/dists/squeeze/updates/main/source/Sources.bz2
 Sub-process /bin/bzip2 returned an error code (2)
W: Failed to fetch
http://security.debian.org/dists/squeeze/updates/main/binary-amd64/Packages.bz2
 Sub-process /bin/bzip2 returned an error code (2)

E: Some index files failed to download, they have been ignored, or old
ones used instead.

>
> --
> "If you're not careful, the newspapers will have you hating the people
> who are being oppressed, and loving the people who are doing the
> oppressing." --- Malcolm X
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 20120522155033.GA30857@tal">http://lists.debian.org/[🔎] 20120522155033.GA30857@tal
>


Reply to: