PDA

View Full Version : APT Sources.list useage



johnnybhoy67
01-05-2006, 02:44 PM
Hi All,

Could someone give me some pointers on setting up the APT package to use known good sources so I can update/install my packages before remastering please?

I'm behind a proxy on port 8080 and I think this is part of the problem I have as I've had a look at configuring APT and I think it should work.

Anyone have any ideas/similar experince??

Cheers

John

pau1knopp
01-05-2006, 02:54 PM
http://www.knoppix.net/forum/viewtopic.php?t=8258&highlight=apt+proxy

johnnybhoy67
01-06-2006, 01:04 PM
Hi Paul,


http://www.knoppix.net/forum/viewtopic.php?t=8258&highlight=apt+proxy

This is what I have in place and doesn't seem to work. I've tried several different ways to get this going and now think it's something to do with the sources.list file I have (the default one for knoppix).

Very long error message below :-)

Any thoughts??

Cheers

John

Err http://ndiswrapper.sourceforge.net ./ Packages
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://ndiswrapper.sourceforge.net ./ Release
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://kanotix.com ./ Packages
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://kanotix.com ./ Release
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://security.debian.org stable/updates/main Packages
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://security.debian.org stable/updates/main Release
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://security.debian.org stable/updates/contrib Packages
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://security.debian.org stable/updates/contrib Release
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://security.debian.org stable/updates/non-free Packages
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://security.debian.org stable/updates/non-free Release
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://security.debian.org testing/updates/main Packages
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://security.debian.org testing/updates/main Release
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://security.debian.org testing/updates/contrib Packages
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://security.debian.org testing/updates/contrib Release
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://security.debian.org testing/updates/non-free Packages
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://security.debian.org testing/updates/non-free Release
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://ftp.de.debian.org stable/main Packages
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://ftp.de.debian.org stable/main Release
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://ftp.de.debian.org stable/contrib Packages
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://ftp.de.debian.org stable/contrib Release
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://ftp.de.debian.org stable/non-free Packages
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://ftp.de.debian.org stable/non-free Release
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://ftp.de.debian.org testing/main Packages
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://ftp.de.debian.org testing/main Release
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://ftp.de.debian.org testing/contrib Packages
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://ftp.de.debian.org testing/contrib Release
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://ftp.de.debian.org testing/non-free Packages
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://ftp.de.debian.org testing/non-free Release
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://ftp.de.debian.org unstable/main Packages
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://ftp.de.debian.org unstable/main Release
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://ftp.de.debian.org unstable/contrib Packages
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://ftp.de.debian.org unstable/contrib Release
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://ftp.de.debian.org unstable/non-free Packages
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://ftp.de.debian.org unstable/non-free Release
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://ftp.de.debian.org ../project/experimental/main Packages
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://ftp.de.debian.org ../project/experimental/main Release
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://ftp.de.debian.org ../project/experimental/contrib Packages
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://ftp.de.debian.org ../project/experimental/contrib Release
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://ftp.de.debian.org ../project/experimental/non-free Packages
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Err http://ftp.de.debian.org ../project/experimental/non-free Release
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Failed to fetch http://security.debian.org/dists/stable/updates/main/binary-i386/Packages
.gz Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argume
nt)
Failed to fetch http://security.debian.org/dists/stable/updates/main/binary-i386/Release
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Failed to fetch http://security.debian.org/dists/stable/updates/contrib/binary-i386/Packa
ges.gz Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid arg
ument)
Failed to fetch http://security.debian.org/dists/stable/updates/contrib/binary-i386/Relea
se Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argumen
t)
Failed to fetch http://security.debian.org/dists/stable/updates/non-free/binary-i386/Pack
ages.gz Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid ar
gument)
Failed to fetch http://security.debian.org/dists/stable/updates/non-free/binary-i386/Rele
ase Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argume
nt)
Failed to fetch http://security.debian.org/dists/testing/updates/main/binary-i386/Package
s.gz Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argum
ent)
Failed to fetch http://security.debian.org/dists/testing/updates/main/binary-i386/Release
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Failed to fetch http://security.debian.org/dists/testing/updates/contrib/binary-i386/Pack
ages.gz Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid ar
gument)
Failed to fetch http://security.debian.org/dists/testing/updates/contrib/binary-i386/Rele
ase Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argume
nt)
Failed to fetch http://security.debian.org/dists/testing/updates/non-free/binary-i386/Pac
kages.gz Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid a
rgument)
Failed to fetch http://security.debian.org/dists/testing/updates/non-free/binary-i386/Rel
ease Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argum
ent)
Failed to fetch http://ftp.de.debian.org/pub/debian/dists/stable/main/binary-i386/Package
s.gz Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argum
ent)
Failed to fetch http://ftp.de.debian.org/pub/debian/dists/stable/main/binary-i386/Release
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Failed to fetch http://ftp.de.debian.org/pub/debian/dists/stable/contrib/binary-i386/Pack
ages.gz Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid ar
gument)
Failed to fetch http://ftp.de.debian.org/pub/debian/dists/stable/contrib/binary-i386/Rele
ase Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argume
nt)
Failed to fetch http://ftp.de.debian.org/pub/debian/dists/stable/non-free/binary-i386/Pac
kages.gz Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid a
rgument)
Failed to fetch http://ftp.de.debian.org/pub/debian/dists/stable/non-free/binary-i386/Rel
ease Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argum
ent)
Failed to fetch http://ftp.de.debian.org/pub/debian/dists/testing/main/binary-i386/Packag
es.gz Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argu
ment)
Failed to fetch http://ftp.de.debian.org/pub/debian/dists/testing/main/binary-i386/Releas
e Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument
)
Failed to fetch http://ftp.de.debian.org/pub/debian/dists/testing/contrib/binary-i386/Pac
kages.gz Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid a
rgument)
Failed to fetch http://ftp.de.debian.org/pub/debian/dists/testing/contrib/binary-i386/Rel
ease Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argum
ent)
Failed to fetch http://ftp.de.debian.org/pub/debian/dists/testing/non-free/binary-i386/Pa
ckages.gz Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid
argument)
Failed to fetch http://ftp.de.debian.org/pub/debian/dists/testing/non-free/binary-i386/Re
lease Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argu
ment)
Failed to fetch http://ftp.de.debian.org/debian/dists/unstable/main/binary-i386/Packages.
gz Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argumen
t)
Failed to fetch http://ftp.de.debian.org/debian/dists/unstable/main/binary-i386/Release
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Failed to fetch http://ftp.de.debian.org/debian/dists/unstable/contrib/binary-i386/Packag
es.gz Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argu
ment)
Failed to fetch http://ftp.de.debian.org/debian/dists/unstable/contrib/binary-i386/Releas
e Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument
)
Failed to fetch http://ftp.de.debian.org/debian/dists/unstable/non-free/binary-i386/Packa
ges.gz Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid arg
ument)
Failed to fetch http://ftp.de.debian.org/debian/dists/unstable/non-free/binary-i386/Relea
se Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argumen
t)
Failed to fetch http://ftp.de.debian.org/debian/dists/../project/experimental/main/binary -i386/Packages.gz Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Failed to fetch http://ftp.de.debian.org/debian/dists/../project/experimental/main/binary -i386/Release Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Inva lid argument)
Failed to fetch http://ftp.de.debian.org/debian/dists/../project/experimental/contrib/bin ary-i386/Packages.gz Cannot initiate the connection to 8080:80 (0.0.31.144). - connect ( 22 Invalid argument)
Failed to fetch http://ftp.de.debian.org/debian/dists/../project/experimental/contrib/bin ary-i386/Release Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 I nvalid argument)
Failed to fetch http://ftp.de.debian.org/debian/dists/../project/experimental/non-free/bi nary-i386/Packages.gz Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Failed to fetch http://ftp.de.debian.org/debian/dists/../project/experimental/non-free/bi nary-i386/Release Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Failed to fetch http://ndiswrapper.sourceforge.net/debian/./Packages.gz Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Failed to fetch http://ndiswrapper.sourceforge.net/debian/./Release Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Failed to fetch http://kanotix.com/files/debian/./Packages.gz Cannot initiate the connec tion to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Failed to fetch http://kanotix.com/files/debian/./Release Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument)
Reading Package Lists... Done
E: Some index files failed to download, they have been ignored, or old ones used instead.

UnderScore
01-06-2006, 04:58 PM
Its probably not the sources.list file.

Failed to fetch http://ftp.de.debian.org/pub/debian/dists/testing/contrib/binary-i386/Release Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument) The bold indicates that it is your proxy info that is causing the problem. You might have the format messed up.
I use on the command line:
"export http_proxy=http://user:passwd@proxy:port"
"export http_proxy=http://james01:secret@10.200.112.253:80"
"export ftp_proxy=http://james01:secret@10.200.112.253:80"

Then apt-get & aptitude & even synaptic work just fine.

johnnybhoy67
01-06-2006, 05:26 PM
Underscore,

Thanks for the example....it's cleared up what was wrong.


Its probably not the sources.list file.

Failed to fetch http://ftp.de.debian.org/pub/debian/dists/testing/contrib/binary-i386/Release Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22 Invalid argument) The bold indicates that it is your proxy info that is causing the problem. You might have the format messed up.
I use on the command line:
"export http_proxy=http://user:passwd@proxy:port"
"export http_proxy=http://james01:secret@10.200.112.253:80"
"export ftp_proxy=http://james01:secret@10.200.112.253:80"

Then apt-get & aptitude & even synaptic work just fine.

I had been using the http_proxy incorrectly by doing

"export http_proxy=192.168.1.151:8080"

instead of
"export http_proxy=http://192.168.1.151:8080"

as provided by your good self.

Many Thanks

John