[SOLVED] apt-get update/install no work , network issue

bit2gb

Well-Known Member
Jul 20, 2016
84
2
48
28
Hi Guys,
I have a mini cluster into an envirmoment where trafic is very restrictive.
If i try to install or make an update i recive this error.
Exist some method for solve this without a discusion with it security department?
root@pvem1:~# apt-get update
Get:1 http://download.proxmox.com/debian stretch InRelease [20.7 kB]
Get:2 http://security.debian.org stretch/updates InRelease [20.7 kB]
Get:3 http://ftp.debian.org/debian stretch InRelease [20.7 kB]
Err:1 http://download.proxmox.com/debian stretch InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Err:2 http://security.debian.org stretch/updates InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Err:3 http://ftp.debian.org/debian stretch InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Get:4 http://ftp.debian.org/debian stretch-updates InRelease [20.7 kB]
Err:4 http://ftp.debian.org/debian stretch-updates InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Fetched 83.0 kB in 1s (67.1 kB/s)
Reading package lists... Done
E: Failed to fetch http://ftp.debian.org/debian/dists/stretch/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: Failed to fetch http://ftp.debian.org/debian/dists/stretch-updates/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: Failed to fetch http://download.proxmox.com/debian/dists/stretch/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: Failed to fetch http://security.debian.org/dists/stretch/updates/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: Some index files failed to download. They have been ignored, or old ones used instead.
 
You can configure a Proxy (if one is available in your environment).

else - you can take a closer look at what's going on with: 'apt-get update -o Debug::Acquire::http=1' (taken from [0])
you could try and see what curl/wget give you as output when trying to fetch the individual InRelease files.

Apart from that - in some cases it helps to change the UserAgent APT reports (some transparent proxies seem to have a problem with '
Debian APT-HTTP/1.3 (1.1.3)')

good luck!

[0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807049
 
Hi Ivanov, Finaly i set a proxy and all works fine including active directory login :)

Thanks
 
Glad to hear :) happy upgrading!

If you like please edit the thread's subject and mark it as [SOLVED].
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!