[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

apt-get with proxy ftp access



Hello,

    I can't figure out how to setup apt for upgrading to slink stable using a
    http (ftp) Proxy combination. I've got the following:

apt.conf:
---------

// Options for the downloading routines
Acquire
{
  // HTTP method configuration
  http
  {
    Proxy "http://193.158.21.90:8080";;
    Timeout "120";
  };

  // FTP method configuration
  ftp
  {
    Proxy "ftp://193.158.21.90:8080";;

    Timeout "120";

    /* Passive mode control, proxy, non-proxy and per-host. Pasv mode
       is prefered if possible */
    Passive "true";
  };

};

sources.list:
-------------

# Let's make debian y2k compliant:
deb http://www.de.debian.org stable main

deb ftp://ftp.uni-erlangen.de/pub/mirrors/debian/dists stable main


apt-get update:
---------------

# apt-get update
Err http://www.de.debian.org stable/main Packages
  404 Not Found
Ign http://www.de.debian.org stable/main Release
3% [Logging in]
Err ftp://ftp.uni-erlangen.de stable/main Packages
  Protocol corruption
Err ftp://ftp.uni-erlangen.de stable/main Release
  Protocol corruption
Reading Package Lists... Done
Building Dependency Tree... Done
W: Couldn't stat source package list 'http://www.de.debian.org stable/main Packages' (/var/state/apt/lists/www.de.debian.org_dists_stable_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list 'ftp://ftp.uni-erlangen.de stable/main Packages' (/var/state/apt/lists/ftp.uni-erlangen.de_pub_mirrors_debian_dists_dists_stable_main_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these missing files


        Any ideas?   Peter

--
------------------------------------------------------------------------------
Peter Weiss, Baldestraße 14, 80469 München, Tel. 089/ 20232434
------------------------------------------------------------------------------
---    The foolish ones taught more to me than the wise ones ever could    ---
------------------------------------------------------------------------------


Reply to: