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 05-23-2012, 07:20 AM
David Seira
 
Default 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: http://lists.debian.org/20120522155033.GA30857@tal
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAN9kZedDHVEFA=1QHdZ2D8zZM0CqdrqXpZbmQBsuROqF8ckV1 g@mail.gmail.com">http://lists.debian.org/CAN9kZedDHVEFA=1QHdZ2D8zZM0CqdrqXpZbmQBsuROqF8ckV1 g@mail.gmail.com
 
Old 05-23-2012, 11:45 AM
T Elcor
 
Default Problem updating debian 6

--- On Wed, 5/23/12, David Seira <davidseira@gmail.com> wrote:

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

I solved my recent problem with aptitude (and apt) by installing bzip2 package. Until then I was getting rather ridiculous error messages from aptitude, which in no way indicated that absence of bzip2 was the problem. Just FYI.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1337773547.4647.YahooMailClassic@web121903.mail.ne 1.yahoo.com">http://lists.debian.org/1337773547.4647.YahooMailClassic@web121903.mail.ne 1.yahoo.com
 
Old 05-23-2012, 04:08 PM
Chris Bannister
 
Default Problem updating debian 6

On Wed, May 23, 2012 at 04:45:47AM -0700, T Elcor wrote:
> --- On Wed, 5/23/12, David Seira <davidseira@gmail.com> wrote:
>
> > I remove the index files in the directory you said but the
> > result is the same:
>
> I solved my recent problem with aptitude (and apt) by installing bzip2 package. Until then I was getting rather ridiculous error messages from aptitude, which in no way indicated that absence of bzip2 was the problem. Just FYI.

With squeeze?

--
"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: 20120523160853.GB2523@tal">http://lists.debian.org/20120523160853.GB2523@tal
 
Old 05-23-2012, 05:28 PM
Chris Bannister
 
Default Problem updating debian 6

On Wed, May 23, 2012 at 09:20:55AM +0200, David Seira wrote:
> 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:

This is getting weirder and weirder.

There are some other things you can try, but if they don't work or
something else strange happens as a consequence you could bugger up your
package management system, and I don't want to be responsible for that.

i.e. under /var/lib/dpkg/available.
man dpkg

E.g see:
http://ubuntuforums.org/showthread.php?t=1752868


What does "ls -al /var/lib/apt/lists/" show now?

Can you spare another server for testing purposes?

Do the same on another server, with exactly the same sources list.

You're sure you haven't changed anything on this server recently, i.e.
before this problem started happening? Even if it seems totally
unrelated. E.g, on Google someone had a problem similar to this when
they changed the language (probably locales)

> 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)

Mmmm,
I'd expect to see something like:
Hit http://security.debian.org squeeze/updates InRelease

> 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.

Just for testing, comment out all entries in your sources list, except
for
deb http://security.debian.org/ squeeze/updates main
(it cleans the screen for easier reading.)

what does:
cat /etc/apt/sources.list
show?

what does:
apt-get update
show?

I want to see **all** the output please, even if you have to use
typescript.


What does:
ls -al /etc/apt/apt.conf.d/
show?

Do you have an "/etc/apt/apt.conf" file? If yes paste the contents?

You haven't got some sort of network/firewall problem have you?
It may not be a package problem at all, bit I'd expect 404 errors, etc.

I'm starting to run out of ideas.



--
"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: 20120523172836.GC2523@tal">http://lists.debian.org/20120523172836.GC2523@tal
 
Old 05-24-2012, 06:52 AM
David Seira
 
Default Problem updating debian 6

> I solved my recent problem with aptitude (and apt) by installing bzip2 package. Until then I was getting rather ridiculous error messages from aptitude, which in no way indicated that absence of bzip2 was the problem. Just FYI.

The bzip2 package was installed before the problems start.

2012/5/23 Chris Bannister <cbannister@slingshot.co.nz>:
> On Wed, May 23, 2012 at 09:20:55AM +0200, David Seira wrote:
>> 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:
>
> This is getting weirder and weirder.
>

Yes, is the only server I manage that has this problems.

> There are some other things you can try, but if they don't work or
> something else strange happens as a consequence you could bugger up your
> package management system, and I don't want to be responsible for that.
>
> i.e. under /var/lib/dpkg/available.
> man dpkg
>
> E.g see:
> http://ubuntuforums.org/showthread.php?t=1752868
>

Reading this post it seems it could be a network problem. The problem
is that I don't manage the network, only the server.

>
> What does "ls -al /var/lib/apt/lists/" show now?
>

-rw-r--r-- 1 root root 31488757 may 18 00:56
ftp.es.debian.org_debian_dists_squeeze_main_binary-amd64_Packages
-rw-r--r-- 1 root root 1964287 may 18 00:56
ftp.es.debian.org_debian_dists_squeeze_main_i18n_T ranslation-es
-rw-r--r-- 1 root root 18362177 may 18 00:56
ftp.es.debian.org_debian_dists_squeeze_main_source _Sources
-rw-r--r-- 1 root root 110865 may 18 00:56
ftp.es.debian.org_debian_dists_squeeze_Release
-rw-r--r-- 1 root root 1672 may 18 00:56
ftp.es.debian.org_debian_dists_squeeze_Release.gpg
-rw-r--r-- 1 root root 59231 may 18 00:56
ftp.es.debian.org_debian_dists_squeeze-updates_main_binary-amd64_Packages
-rw-r--r-- 1 root root 2161 may 18 00:56
ftp.es.debian.org_debian_dists_squeeze-updates_main_binary-amd64_Packages.IndexDiff
-rw-r--r-- 1 root root 14864 abr 17 11:14
ftp.es.debian.org_debian_dists_squeeze-updates_main_source_Sources
-rw-r--r-- 1 root root 2161 may 18 00:56
ftp.es.debian.org_debian_dists_squeeze-updates_main_source_Sources.IndexDiff
-rw-r--r-- 1 root root 113464 may 18 00:56
ftp.es.debian.org_debian_dists_squeeze-updates_Release
-rw-r--r-- 1 root root 836 may 18 00:56
ftp.es.debian.org_debian_dists_squeeze-updates_Release.gpg
-rw-r----- 1 root root 0 abr 17 11:12 lock
drwxr-xr-x 2 root root 4096 may 24 07:33 partial
-rw-r--r-- 1 root root 1261300 may 17 23:58
security.debian.org_dists_squeeze_updates_main_bin ary-amd64_Packages
-rw-r--r-- 1 root root 309643 may 17 23:58
security.debian.org_dists_squeeze_updates_main_sou rce_Sources
-rw-r--r-- 1 root root 86939 may 17 23:58
security.debian.org_dists_squeeze_updates_Release
-rw-r--r-- 1 root root 836 may 17 23:58
security.debian.org_dists_squeeze_updates_Release. gpg

> Can you spare another server for testing purposes?
>

No. As I told you before, this is the only server with strange behaviour.

> Do the same on another server, with exactly the same sources list.
>

All the servers that I manage have the same sources list and haven't
any problem with it.

> You're sure you haven't changed anything on this server recently, i.e.
> before this problem started happening? Even if it seems totally
> unrelated. E.g, on Google someone had a problem similar to this when
> they changed the language (probably locales)
>

Yes. I'm 100% sure that I don't change anything :-). This server is
used for a radius server.

>> 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)
>

Is strange this message. I' ve managed several debian server for
several years and I never found this error.

> Mmmm,
> I'd expect to see something like:
> Hit http://security.debian.org squeeze/updates InRelease
>
>> 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.
>
> Just for testing, comment out all entries in your sources list, except
> for
> deb http://security.debian.org/ squeeze/updates main
> (it cleans the screen for easier reading.)
>

Yes, I tried this yesterday evening but the results were the same.

> what does:
> cat /etc/apt/sources.list
> show?
>
> what does:
> apt-get update
> show?
>
> I want to see **all** the output please, even if you have to use
> typescript.
>

This is the sources.list with only the security repository enabled:

root@radius:/etc/apt# cat sources.list
#

# deb cdrom:[Debian GNU/Linux 6.0.2.1 _Squeeze_ - Official amd64
NETINST Binary-1 20110628-12:58]/ squeeze main
#deb cdrom:[Debian GNU/Linux 6.0.2.1 _Squeeze_ - Official amd64
NETINST Binary-1 20110628-12:58]/ squeeze main

#deb http://ftp.es.debian.org/debian/ squeeze main
#deb-src http://ftp.es.debian.org/debian/ squeeze main

deb http://security.debian.org/ squeeze/updates main
#deb-src http://security.debian.org/ squeeze/updates main

# squeeze-updates, previously known as 'volatile'
#deb http://ftp.es.debian.org/debian/ squeeze-updates main
#deb-src http://ftp.es.debian.org/debian/ squeeze-updates main

And this is the apt-get update output with the modified sources.list:

root@radius:/etc/apt# apt-get update
Get:1 http://security.debian.org squeeze/updates Release.gpg [912 B]
Get:2 http://security.debian.org/ squeeze/updates/main Translation-en [912 B]
99% [2 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:3 http://security.debian.org/ squeeze/updates/main Translation-es [912 B]
66% [3 Translation-es bzip2 0 B] [Connecting to security.debian.org
(149.20.20.6)]bzip2: (stdin) is not a bzip2 file.
Ign http://security.debian.org/ squeeze/updates/main Translation-es
Get:4 http://security.debian.org squeeze/updates Release [912 B]
Err http://security.debian.org squeeze/updates Release

Fetched 3648 B in 2s (1812 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://security.debian.org squeeze/updates Release: The following
signatures were invalid: NODATA 1 NODATA 2

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.


>
> What does:
> ls -al /etc/apt/apt.conf.d/
> show?
>

root@radius:/etc/apt# ls -al /etc/apt/apt.conf.d/
total 28
drwxr-xr-x 2 root root 4096 Apr 17 11:36 .
drwxr-xr-x 6 root root 4096 May 24 07:40 ..
-rw-r--r-- 1 root root 81 Apr 17 11:12 00CDMountPoint
-rw-r--r-- 1 root root 40 Apr 17 11:12 00trustcdrom
-rw-r--r-- 1 root root 395 Apr 15 2011 01autoremove
-rw-r--r-- 1 root root 141 May 31 2011 20listchanges
-rw-r--r-- 1 root root 182 Jan 30 2011 70debconf

> Do you have an "/etc/apt/apt.conf" file? If yes paste the contents?
>

No, I haven't this file.

> You haven't got some sort of network/firewall problem have you?
> It may not be a package problem at all, bit I'd expect 404 errors, etc.
>

The internet connection works correctly because I manage this server
remotely. I don't know if the firewall has a special rule that blocks
this type of traffic.

> I'm starting to run out of ideas.
>

Yes, me too.

I have two theories. First, it could be a network/firewall problem
despite the server has connectivity. Second, it could be a signature
problem because in all of the messages mentions "A error occurred
during the signature verification".

Another cheat I could try is to download the packages from another
server and install locally with dpkg. What do you think about this?

I don't know, I'll continue trying.

>
>
> --
> "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: http://lists.debian.org/20120523172836.GC2523@tal
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAN9kZeekXgS+-=p=v1+dOh37qo4igJyp1T5iY2kNReMN_2PF4g@mail.gmail.c om">http://lists.debian.org/CAN9kZeekXgS+-=p=v1+dOh37qo4igJyp1T5iY2kNReMN_2PF4g@mail.gmail.c om
 
Old 05-26-2012, 04:42 AM
Chris Bannister
 
Default Problem updating debian 6

On Thu, May 24, 2012 at 08:52:49AM +0200, David Seira wrote:
> 2012/5/23 Chris Bannister <cbannister@slingshot.co.nz>:
> > What does "ls -al /var/lib/apt/lists/" show now?
> >
>
> -rw-r--r-- 1 root root 31488757 may 18 00:56
> ftp.es.debian.org_debian_dists_squeeze_main_binary-amd64_Packages
> -rw-r--r-- 1 root root 1964287 may 18 00:56
> -rw-r----- 1 root root 0 abr 17 11:12 lock
> drwxr-xr-x 2 root root 4096 may 24 07:33 partial
> -rw-r--r-- 1 root root 1261300 may 17 23:58
> security.debian.org_dists_squeeze_updates_main_bin ary-amd64_Packages
> -rw-r--r-- 1 root root 309643 may 17 23:58
> security.debian.org_dists_squeeze_updates_main_sou rce_Sources
> -rw-r--r-- 1 root root 86939 may 17 23:58
> security.debian.org_dists_squeeze_updates_Release
> -rw-r--r-- 1 root root 836 may 17 23:58
> security.debian.org_dists_squeeze_updates_Release. gpg

It seems to have repopulated the directory, despite the messages that it
failed to download the files. Ahh, see the date on the partial
directory? What's under there. Maybe delete those and try again?


> > Can you spare another server for testing purposes?
> >
>
> No. As I told you before, this is the only server with strange behaviour.

You could use it for comparison purposes.

Also:
apt-get update -o Debug::Acquire::http=true 2> http.log

might shed some light on whats happening.

You could try that on a good server and see what the differences are.

--
"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: 20120526044235.GB25455@tal">http://lists.debian.org/20120526044235.GB25455@tal
 
Old 05-29-2012, 04:05 AM
Scott Ferguson
 
Default Problem updating debian 6

On 18/05/12 17:13, David Seira wrote:
> Hi,
>
> I'm trying to update and upgrade a debian 6 system. I've run the
> "aptitude update" command and the output is:
>
> Des:1 http://ftp.es.debian.org squeeze Release.gpg [912 B]
> Des:2 http://ftp.es.debian.org/debian/ squeeze/main Translation-en [912 B]
> 99% [2 Translation-en bzip2 0] [Esperando las cabeceras] [Esperando las
> cabeceras]bzip2: (stdin) is not a bzip2 file.


There is only one situation where I've seen the above errors - while
using an older version of apt-cacher. Solution was to upgrade.
If you're running apt-cacher disable it and see if the problems vanish.




<snipped>

> ��
> Descargados 10,9 kB en 1seg. (7429 B/s).
> W: Se produjo un error durante la verificaci�n de las firmas. El
> repositorio no est� actualizado y se utilizar�n los ficheros de �ndice
> antiguos. El error GPG es: http://ftp.es.debian.org squeeze Release: Las
> siguientes firms fueron inv�lidas: NODATA 1 NODATA 2
>
> W: Se produjo un error durante la verificaci�n de las firmas. El
> repositorio no est� actualizado y se utilizar�n los ficheros de �ndice
> antiguos. El error GPG es: http://ftp.es.debian.org squeeze-updates
> Release: Las siguientes firms fueron inv�lidas: NODATA 1 NODATA 2
>
> W: Se produjo un error durante la verificaci�n de las firmas. El
> repositorio no est� actualizado y se utilizar�n los ficheros de �ndice
> antiguos. El error GPG es: http://security.debian.org squeeze/updates
> Release: Las siguientes firms fueron inv�lidas: NODATA 1 NODATA 2


These type of errors occur with an older version of apt-cacher - *or*
because of firewall/proxy problems.

<snipped>

>
> Anyone know what is the problem? How can I fix it?
>
> Thanks,
> David

The following is from a proxy problem - bypassing the proxy solved the
problem:-
W: A error occurred during the signature verification. The repository is
not updated and the previous index files will be used. GPG error:
http://security.debian.org squeeze/updates Release: The following
signatures were invalid: NODATA 1 NODATA 2

W: A error occurred during the signature verification. The repository is
not updated and the previous index files will be used. GPG error:
http://mozilla.debian.net squeeze-backports Release: The following
signatures were invalid: NODATA 1 NODATA 2

W: A error occurred during the signature verification. The repository is
not updated and the previous index files will be used. GPG error:
http://backports.debian.org squeeze-backports Release: The following
signatures were invalid: NODATA 1 NODATA 2

W: Failed to fetch
http://backports.debian.org/debian-backports/dists/squeeze-backports/Release


W: Failed to fetch
http://mozilla.debian.net/dists/squeeze-backports/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.
And this:-


Kind regards

--
Iceweasel/Firefox/Chrome/Chromium/Iceape/IE extensions for finding
answers to questions about Debian:-
https://addons.mozilla.org/en-US/firefox/collections/Scott_Ferguson/debian/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4FC44AF4.9040601@gmail.com">http://lists.debian.org/4FC44AF4.9040601@gmail.com
 
Old 05-30-2012, 07:31 AM
David Seira
 
Default Problem updating debian 6

2012/5/29 Scott Ferguson <scott.ferguson.debian.user@gmail.com>:
> On 18/05/12 17:13, David Seira wrote:
>> Hi,
>>
>> I'm trying to update and upgrade a debian 6 system. I've run the
>> "aptitude update" command and the output is:
>>
>> Des:1 http://ftp.es.debian.org squeeze Release.gpg [912 B]
>> Des:2 http://ftp.es.debian.org/debian/ squeeze/main Translation-en [912 B]
>> 99% [2 Translation-en bzip2 0] [Esperando las cabeceras] [Esperando las
>> cabeceras]bzip2: (stdin) is not a bzip2 file.
>
>
> There is only one situation where I've seen the above errors - while
> using an older version of apt-cacher. Solution was to upgrade.
> If you're running apt-cacher disable it and see if the problems vanish.
>

No, I'm not using apt-cacher.

>
>
>
> <snipped>
>
>> ��
>> Descargados 10,9 kB en 1seg. (7429 B/s).
>> W: Se produjo un error durante la verificaci�n de las firmas. El
>> repositorio no est� actualizado y se utilizar�n los ficheros de �ndice
>> antiguos. El error GPG es: http://ftp.es.debian.org squeeze Release: Las
>> siguientes firms fueron inv�lidas: NODATA 1 NODATA 2
>>
>> W: Se produjo un error durante la verificaci�n de las firmas. El
>> repositorio no est� actualizado y se utilizar�n los ficheros de �ndice
>> antiguos. El error GPG es: http://ftp.es.debian.org squeeze-updates
>> Release: Las siguientes firms fueron inv�lidas: NODATA 1 NODATA 2
>>
>> W: Se produjo un error durante la verificaci�n de las firmas. El
>> repositorio no est� actualizado y se utilizar�n los ficheros de �ndice
>> antiguos. El error GPG es: http://security.debian.org squeeze/updates
>> Release: Las siguientes firms fueron inv�lidas: NODATA 1 NODATA 2
>
>
> These type of errors occur with an older version of apt-cacher - *or*
> because of firewall/proxy problems.
>
> <snipped>
>
>>
>> Anyone know what is the problem? How can I fix it?
>>
>> Thanks,
>> David
>
> The following is from a proxy problem - bypassing the proxy solved the
> problem:-
> W: A error occurred during the signature verification. The repository is
> not updated and the previous index files will be used. GPG error:
> http://security.debian.org squeeze/updates Release: The following
> signatures were invalid: NODATA 1 NODATA 2
>
> W: A error occurred during the signature verification. The repository is
> not updated and the previous index files will be used. GPG error:
> http://mozilla.debian.net squeeze-backports Release: The following
> signatures were invalid: NODATA 1 NODATA 2
>
> W: A error occurred during the signature verification. The repository is
> not updated and the previous index files will be used. GPG error:
> http://backports.debian.org squeeze-backports Release: The following
> signatures were invalid: NODATA 1 NODATA 2
>
> W: Failed to fetch
> http://backports.debian.org/debian-backports/dists/squeeze-backports/Release
>
>
> W: Failed to fetch
> http://mozilla.debian.net/dists/squeeze-backports/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.
> And this:-
>
>
> Kind regards
>
> --
> Iceweasel/Firefox/Chrome/Chromium/Iceape/IE extensions for finding
> answers to questions about Debian:-
> https://addons.mozilla.org/en-US/firefox/collections/Scott_Ferguson/debian/
>
>
> --
> 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/4FC44AF4.9040601@gmail.com
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAN9kZeexRSFWjrS1uuyoKGc-1+1hxppJrCMhQ4Rvw6T6gvGfkQ@mail.gmail.com">http://lists.debian.org/CAN9kZeexRSFWjrS1uuyoKGc-1+1hxppJrCMhQ4Rvw6T6gvGfkQ@mail.gmail.com
 
Old 05-30-2012, 12:08 PM
Chris Bannister
 
Default Problem updating debian 6

On Wed, May 30, 2012 at 09:31:03AM +0200, David Seira wrote:
> 2012/5/29 Scott Ferguson <scott.ferguson.debian.user@gmail.com>:
> > On 18/05/12 17:13, David Seira wrote:
> >> Hi,
> >>
> >> I'm trying to update and upgrade a debian 6 system. I've run the
> >> "aptitude update" command and the output is:
> >>
> >> Des:1 http://ftp.es.debian.org squeeze Release.gpg [912 B]
> >> Des:2 http://ftp.es.debian.org/debian/ squeeze/main Translation-en [912 B]
> >> 99% [2 Translation-en bzip2 0] [Esperando las cabeceras] [Esperando las
> >> cabeceras]bzip2: (stdin) is not a bzip2 file.
> >
> >
> > There is only one situation where I've seen the above errors - while
> > using an older version of apt-cacher. Solution was to upgrade.
> > If you're running apt-cacher disable it and see if the problems vanish.
> >
>
> No, I'm not using apt-cacher.

Does viewing http.log help after doing:

apt-get update -o Debug::Acquire::http=true 2> http.log

Also did you see my post about deleting what's in
"/var/lib/apt/lists/partial/"?

Resorting to dpkg without doing an apt-get update will quickly get
tedious and is not recommended.

--
"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: 20120530120825.GB4907@tal">http://lists.debian.org/20120530120825.GB4907@tal
 
Old 05-31-2012, 07:20 AM
David Seira
 
Default Problem updating debian 6

2012/5/30 Chris Bannister <cbannister@slingshot.co.nz>:
> On Wed, May 30, 2012 at 09:31:03AM +0200, David Seira wrote:
>> 2012/5/29 Scott Ferguson <scott.ferguson.debian.user@gmail.com>:
>> > On 18/05/12 17:13, David Seira wrote:
>> >> Hi,
>> >>
>> >> I'm trying to update and upgrade a debian 6 system. I've run the
>> >> "aptitude update" command and the output is:
>> >>
>> >> Des:1 http://ftp.es.debian.org squeeze Release.gpg [912 B]
>> >> Des:2 http://ftp.es.debian.org/debian/ squeeze/main Translation-en [912 B]
>> >> 99% [2 Translation-en bzip2 0] [Esperando las cabeceras] [Esperando las
>> >> cabeceras]bzip2: (stdin) is not a bzip2 file.
>> >
>> >
>> > There is only one situation where I've seen the above errors - while
>> > using an older version of apt-cacher. Solution was to upgrade.
>> > If you're running apt-cacher disable it and see if the problems vanish.
>> >
>>
>> No, I'm not using apt-cacher.
>
> Does viewing http.log help after doing:
>

With the debug option the result was:

GET /debian/dists/squeeze/Release HTTP/1.1
Host: ftp.es.debian.org
Connection: keep-alive
Cache-Control: max-age=0
Range: bytes=911-
If-Range: Thu, 31 May 2012 07:15:02 GMT
User-Agent: Debian APT-HTTP/1.3 (0.8.10.3)


bzip2: (stdin) is not a bzip2 file.
HTTP/1.1 200 OK
Content-Type: text/html; charset="utf-8"
Content-Length: 912
Connection: Close

> apt-get update -o Debug::Acquire::http=true 2> http.log
>
> Also did you see my post about deleting what's in
> "/var/lib/apt/lists/partial/"?
>

Yes, I deleted the content of this directory and the result was the same.

> Resorting to dpkg without doing an apt-get update will quickly get
> tedious and is not recommended.
>
> --
> "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: http://lists.debian.org/20120530120825.GB4907@tal
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAN9kZecNeXtooA3icQ+xibfa2AgNsvwsSJy-RA1MxzynGj-xBw@mail.gmail.com">http://lists.debian.org/CAN9kZecNeXtooA3icQ+xibfa2AgNsvwsSJy-RA1MxzynGj-xBw@mail.gmail.com
 

Thread Tools




All times are GMT. The time now is 09:47 AM.

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