Results 1 to 5 of 5

Thread: APT Sources.list useage

  1. #1
    Junior Member registered user
    Join Date
    Oct 2005
    Posts
    16

    APT Sources.list useage

    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

  2. #2

  3. #3
    Junior Member registered user
    Join Date
    Oct 2005
    Posts
    16
    Hi Paul,

    Quote Originally Posted by pau1knopp
    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/sta...-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/sta...y-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/sta...ary-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/sta...ary-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/sta...nary-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/sta...nary-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/tes...y-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/tes...y-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/tes...nary-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/tes...nary-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/tes...inary-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/tes...inary-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/...y-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/...y-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/...nary-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/...nary-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/...inary-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/...inary-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/...ry-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/...ry-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/...inary-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/...inary-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/...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/...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/dist...-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/dist...y-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/dist...ry-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/dist...ry-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/dist...ary-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/dist...ary-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/dist...al/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/dist...al/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/dist...al/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/dist...al/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/dist...al/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/dist...al/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.

  4. #4
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    Its probably not the sources.list file.
    Failed to fetch http://ftp.de.debian.org/pub/debian/...y-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://userasswd@proxyort"
    "export http_proxy=http://james01:[email protected]:80"
    "export ftp_proxy=http://james01:[email protected]:80"

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

  5. #5
    Junior Member registered user
    Join Date
    Oct 2005
    Posts
    16
    Underscore,

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

    Quote Originally Posted by UnderScore
    Its probably not the sources.list file.
    Failed to fetch http://ftp.de.debian.org/pub/debian/...y-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://userasswd@proxyort"
    "export http_proxy=http://james01:[email protected]:80"
    "export ftp_proxy=http://james01:[email protected]: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

Similar Threads

  1. Changes in sources.list
    By onemyndseye in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 12-29-2006, 01:36 PM
  2. apt-get sources.list
    By marhleet in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 12-23-2006, 11:44 AM
  3. knoppix sources.list repository incomplete list.
    By vdesibabu in forum Customising & Remastering
    Replies: 0
    Last Post: 01-05-2005, 05:47 PM
  4. Apt Sources list
    By Timo in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 09-28-2004, 07:50 AM
  5. sources.list
    By patiscool in forum General Support
    Replies: 1
    Last Post: 06-27-2004, 12:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Sk Hynix 8GB PC4-3200AA PC4-3200 260-Pin SO-DIMM Laptop RAM picture

Sk Hynix 8GB PC4-3200AA PC4-3200 260-Pin SO-DIMM Laptop RAM

$37.99



Corsair CMK32GX4M2B3000C15 Vengeance LPX DDR4 3000mhz Memory Kit - 32GB (2x16GB) picture

Corsair CMK32GX4M2B3000C15 Vengeance LPX DDR4 3000mhz Memory Kit - 32GB (2x16GB)

$164.95



16GB of Samsung (8GB x 2) DDR5 M378A2K43CB1 UDIMM PC5-4800B 288-Pin Unbuffered picture

16GB of Samsung (8GB x 2) DDR5 M378A2K43CB1 UDIMM PC5-4800B 288-Pin Unbuffered

$185.99



Corsair Vengeance DDR3 8GB 16GB 32GB 1866MHz PC3-14900 Desktop RAM Memory DIMM picture

Corsair Vengeance DDR3 8GB 16GB 32GB 1866MHz PC3-14900 Desktop RAM Memory DIMM

$43.00



RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED picture

RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED

$445.00



Corsair Vengeance RGB Pro 16GB 2x8GB DDR4 RAM 3600MHz CMW16GX4M2D3600C18 picture

Corsair Vengeance RGB Pro 16GB 2x8GB DDR4 RAM 3600MHz CMW16GX4M2D3600C18

$99.70



Samsung 32GB Kit 2x16GB DDR4 3200MHz PC4-25600 Laptop RAM SO-DIMM M471A2K43EB1-C picture

Samsung 32GB Kit 2x16GB DDR4 3200MHz PC4-25600 Laptop RAM SO-DIMM M471A2K43EB1-C

$124.99



[ BULK LOT OF 10 ] 8GB DDR3 LAPTOP RAM SAMSUNG, HYNIX, etc. picture

[ BULK LOT OF 10 ] 8GB DDR3 LAPTOP RAM SAMSUNG, HYNIX, etc.

$89.99



Kingston KF432S20IBK2/32 FURY Impact 32GB (2x16GB) 3200MT/s CL20 Laptop Memory picture

Kingston KF432S20IBK2/32 FURY Impact 32GB (2x16GB) 3200MT/s CL20 Laptop Memory

$150.00



LOT OF 23 Ram Sticks-Corsair Vengeance CMZ8GX3M2A1600C9 4GB (4GBx23=92GB Total) picture

LOT OF 23 Ram Sticks-Corsair Vengeance CMZ8GX3M2A1600C9 4GB (4GBx23=92GB Total)

$129.99