Re: SV: Problems apt-get update on several servers.

2012-11-16 Thread Darac Marjal
On Fri, Nov 16, 2012 at 05:05:43PM +0100, Tore Lindberg Åbodsvik wrote:
 Hi again.
 
[cut]
 
 The thing that concerns me is that i had full connection agains the net, i 
 could ping external machine and i also could run the wget command outwards 
 with the files beeing transmitted.
 But other traffic as apt-get update was partial blocked.

Did you actually look at the data you were getting back from wget?
Presumably, you were getting 200 OK, but being given the portal's
login page rather than whatever page you actually asked for :)

Apt, in the meantime was wondering why all the package files it was
downloaded looked a bit funny.



signature.asc
Description: Digital signature


Re: SV: Problems apt-get update on several servers.

2012-11-16 Thread Roman V.Leon.

On 16.11.2012 20:05, Tore Lindberg Åbodsvik wrote:

Good time of the day Tore,
I'm very glad that you have untied that tricky knot :-)

Roman.


Hi again.

I found the error.
We use a checkpoint firewall, which supports the use of captive portal.
This so that a user can not use connect a cabel into our intrenal network and 
surf away without signing in against the active directory.
We activated this feature approximate 1 week ago.

The problem is that we set the network this should cover 255 adresses to far 
/23 instead of /24.
Our network is of today like this:
users on this segment: 192.168.0.0-255
Servers on 192.168.1.0-255

Whole network set up as 192.168.0.0/23

So the captive portal blocked and faulted the apt-get update command.

The thing that concerns me is that i had full connection agains the net, i 
could ping external machine and i also could run the wget command outwards with 
the files beeing transmitted.
But other traffic as apt-get update was partial blocked.

No logging in the firewall showed the errors. So the troubleshooting was not so 
easy as it should be...

But then again, entirely my fault.
And as soon as i set the captive portal to only take out the dhcp range for 
the users everything should be ok again.

But thanks for helpfull troubleshooting ;)

-Tore


Fra: Tore Lindberg Åbodsvik [tore.lindberg.abods...@telemed.no]
Sendt: 15. november 2012 20:34
Til: Roman V.Leon.; debian-user@lists.debian.org
Emne: SV: Problems apt-get update on several servers.

Hi.

I am almost sorry to say yes.

Both swedish and american mirrors.
Same results as all the others.

-Tore

Fra: Roman V.Leon. [roman...@meta.ua]
Sendt: 15. november 2012 20:05
Til: debian-user@lists.debian.org
Emne: Re: Problems apt-get update on several servers.

Have you tried other mirror?


On 15.11.2012 20:42, Tore Lindberg Åbodsvik wrote:

Hi.

I have several server which today cannot update.
I have done thes things so far:

1
/etc/apt/source.list:
deb http://ftp.no.debian.org/debian/ squeeze main
deb-src http://ftp.no.debian.org/debian/ squeeze main

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

deb http://ftp.no.debian.org/debian/ squeeze-updates main contrib
deb-src http://ftp.no.debian.org/debian/ squeeze-updates main contrib

2
Network is working I can ping the mirrors and other sites with no problem.

3
I have run the:
aptitude install debian-archive-keyring

4
and I have deleted the content here:
/var/lib/apt/lists/

5
Installed an debian fresh on virtualbox locally and updated this with no 
problem. (Same source list as the ones having problems)

All this with no result in regards of the error going away.


The errors as follows:
Get:1 http://ftp.no.debian.org squeeze Release.gpg [2,329 B]
Get:2 http://ftp.no.debian.org/debian/ squeeze/main Translation-en [2,329 B]
Get:3 http://ftp.no.debian.org/debian/ squeeze/main Translation-en_US [2,329 B]
99% [2 Translation-en lzma 0 B] [Connecting to ftp.no.debian.org 
(128.39.3.170)] [Connecting to security.debian.org]/usr/bin/lzma: 
SetDecoderProperties() error
Ign http://ftp.no.debian.org/debian/ squeeze/main Translation-en
66% [3 Translation-en_US lzma 0 B] [Waiting for headers] [Connecting to 
security.debian.org]/usr/bin/lzma: SetDecoderProperties() error
Ign http://ftp.no.debian.org/debian/ squeeze/main Translation-en_US
Get:4 http://ftp.no.debian.org squeeze-updates Release.gpg [2,329 B]
Get:5 http://ftp.no.debian.org/debian/ squeeze-updates/contrib Translation-en 
[2,329 B]
59% [5 Translation-en lzma 0 B] [Connecting to ftp.no.debian.org 
(128.39.3.170)] [Connecting to security.debian.org]/usr/bin/lzma: 
SetDecoderProperties() error
Ign http://ftp.no.debian.org/debian/ squeeze-updates/contrib Translation-en
Get:6 http://ftp.no.debian.org/debian/ squeeze-updates/contrib 
Translation-en_US [2,329 B]
49% [6 Translation-en_US lzma 0 B] [Connecting to ftp.no.debian.org 
(128.39.3.170)] [Waiting for headers]/usr/bin/lzma: SetDecoderProperties() error
Ign http://ftp.no.debian.org/debian/ squeeze-updates/contrib Translation-en_US
Get:7 http://security.debian.org squeeze/updates Release.gpg [2,329 B]
Get:8 http://ftp.no.debian.org/debian/ squeeze-updates/main Translation-en 
[2,329 B]
Get:9 http://security.debian.org/ squeeze/updates/contrib Translation-en [2,329 
B]
55% [8 Translation-en lzma 0 B] [Connecting to ftp.no.debian.org 
(128.39.3.170)] [Connecting to security.debian.org 
(195.20.242.89)]/usr/bin/lzma: SetDecoderProperties() error
Ign http://ftp.no.debian.org/debian/ squeeze-updates/main Translation-en
44% [9 Translation-en lzma 0 B] [Connecting to ftp.no.debian.org 
(128.39.3.170)] [Connecting to security.debian.org 
(195.20.242.89)]/usr/bin/lzma: SetDecoderProperties() error
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en
Get:10 http://ftp.no.debian.org/debian/ 

Re: SV: Problems apt-get update on several servers.

2012-11-15 Thread Roman V.Leon.
Hi Tore, could you try to download any file from repository using wget
command? I'm recalling that once i had a problem - i could ping sites, but
couldn't download files, the problem was caused by wrong MTU settings on a
router, I'm not sure that this is your case, but just in case try to
download something using wget, maybe we will closer to the root of the
issue :-)

Roman.

 Hi.

 I am almost sorry to say yes.

 Both swedish and american mirrors.
 Same results as all the others.

 -Tore
 
 Fra: Roman V.Leon. [roman...@meta.ua]
 Sendt: 15. november 2012 20:05
 Til: debian-user@lists.debian.org
 Emne: Re: Problems apt-get update on several servers.

 Have you tried other mirror?


 On 15.11.2012 20:42, Tore Lindberg #197;bodsvik wrote:
 Hi.

 I have several server which today cannot update.
 I have done thes things so far:

 1
 /etc/apt/source.list:
 deb http://ftp.no.debian.org/debian/ squeeze main
 deb-src http://ftp.no.debian.org/debian/ squeeze main

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

 deb http://ftp.no.debian.org/debian/ squeeze-updates main contrib
 deb-src http://ftp.no.debian.org/debian/ squeeze-updates main contrib

 2
 Network is working I can ping the mirrors and other sites with no problem.

 3
 I have run the:
 aptitude install debian-archive-keyring

 4
 and I have deleted the content here:
 /var/lib/apt/lists/

 5
 Installed an debian fresh on virtualbox locally and updated this with
no problem. (Same source list as the ones having problems)

 All this with no result in regards of the error going away.


 The errors as follows:
 Get:1 http://ftp.no.debian.org squeeze Release.gpg [2,329 B]
 Get:2 http://ftp.no.debian.org/debian/ squeeze/main Translation-en
[2,329 B]
 Get:3 http://ftp.no.debian.org/debian/ squeeze/main Translation-en_US
[2,329 B]
 99% [2 Translation-en lzma 0 B] [Connecting to ftp.no.debian.org
(128.39.3.170)] [Connecting to security.debian.org]/usr/bin/lzma:
SetDecoderProperties() error
 Ign http://ftp.no.debian.org/debian/ squeeze/main Translation-en
 66% [3 Translation-en_US lzma 0 B] [Waiting for headers] [Connecting to
security.debian.org]/usr/bin/lzma: SetDecoderProperties() error
 Ign http://ftp.no.debian.org/debian/ squeeze/main Translation-en_US
 Get:4 http://ftp.no.debian.org squeeze-updates Release.gpg [2,329 B]
 Get:5 http://ftp.no.debian.org/debian/ squeeze-updates/contrib
Translation-en [2,329 B]
 59% [5 Translation-en lzma 0 B] [Connecting to ftp.no.debian.org
(128.39.3.170)] [Connecting to security.debian.org]/usr/bin/lzma:
SetDecoderProperties() error
 Ign http://ftp.no.debian.org/debian/ squeeze-updates/contrib
Translation-en
 Get:6 http://ftp.no.debian.org/debian/ squeeze-updates/contrib
Translation-en_US [2,329 B]
 49% [6 Translation-en_US lzma 0 B] [Connecting to ftp.no.debian.org
(128.39.3.170)] [Waiting for headers]/usr/bin/lzma:
SetDecoderProperties() error
 Ign http://ftp.no.debian.org/debian/ squeeze-updates/contrib
Translation-en_US
 Get:7 http://security.debian.org squeeze/updates Release.gpg [2,329 B]
 Get:8 http://ftp.no.debian.org/debian/ squeeze-updates/main
Translation-en [2,329 B]
 Get:9 http://security.debian.org/ squeeze/updates/contrib
Translation-en [2,329 B]
 55% [8 Translation-en lzma 0 B] [Connecting to ftp.no.debian.org
(128.39.3.170)] [Connecting to security.debian.org
(195.20.242.89)]/usr/bin/lzma: SetDecoderProperties() error
 Ign http://ftp.no.debian.org/debian/ squeeze-updates/main Translation-en
 44% [9 Translation-en lzma 0 B] [Connecting to ftp.no.debian.org
(128.39.3.170)] [Connecting to security.debian.org
(195.20.242.89)]/usr/bin/lzma: SetDecoderProperties() error
 Ign http://security.debian.org/ squeeze/updates/contrib Translation-en
 Get:10 http://ftp.no.debian.org/debian/ squeeze-updates/main
Translation-en_US [2,329 B]
 Get:11 http://security.debian.org/ squeeze/updates/contrib
Translation-en_US [2,329 B]
 45% [10 Translation-en_US lzma 0 B] [Connecting to ftp.no.debian.org
(128.39.3.170)] [Connecting to security.debian.org
(195.20.242.89)]/usr/bin/lzma: SetDecoderProperties() error
 Ign http://ftp.no.debian.org/debian/ squeeze-updates/main
Translation-en_US
 36% [11 Translation-en_US lzma 0 B] [Connecting to ftp.no.debian.org
(128.39.3.170)] [Connecting to security.debian.org
(195.20.242.89)]/usr/bin/lzma: SetDecoderProperties() error
 Ign http://security.debian.org/ squeeze/updates/contrib Translation-en_US
 Get:12 http://ftp.no.debian.org squeeze Release [2,329 B]
 Get:13 http://security.debian.org/ squeeze/updates/main Translation-en
[2,329 B]
 Get:14 http://ftp.no.debian.org squeeze-updates Release [2,329 B]
 42% [12 Release gpgv 2,329 B] [13 Translation-en lzma 0 B] [Waiting for
headers]/usr/bin/lzma: SetDecoderProperties() error
 Get:15 http://security.debian.org/ squeeze/updates/main
Translation-en_US [2,329 B]
 Ign http://security.debian.org/ squeeze/updates/main Translation-en