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

Re: apt-get problem




Here is what I found:

don@duop:~$ less /etc/apt/apt.conf
/etc/apt/apt.conf: No such file or directory
don@duop:~$ ll /etc/apt
total 40
drwxr-xr-x 2 root root 4096 2007-11-25 14:28 apt.conf.d
-rw-r--r-- 1 root root 2524 2006-11-14 08:43 apt-file.conf
-rw------- 1 root root    0 2007-04-26 17:06 secring.gpg
-rw-r--r-- 1 root root  952 2008-01-13 19:35 sources.list
-rw-r--r-- 1 root root    0 2007-04-26 17:06 sources.list~
drwxr-xr-x 2 root root 4096 2007-02-26 15:53 sources.list.d -rw-r--r-- 1 root root 506 2007-04-30 19:32 sources.list.save
-rw------- 1 root root 1200 2007-08-13 19:50 trustdb.gpg
-rw------- 1 root root 4148 2007-08-13 19:50 trusted.gpg
-rw------- 1 root root 4148 2007-08-13 19:50 trusted.gpg~
don@duop:~$ cd /etc/apt/apt.conf.d/
don@duop:/etc/apt/apt.conf.d$ ll
total 16
-rw-r--r-- 1 root root  40 2007-04-26 17:06 00trustcdrom
-rw-r--r-- 1 root root  92 2007-07-02 07:07 01autoremove
-rw-r--r-- 1 root root  91 2007-04-30 19:32 10periodic
-rw-r--r-- 1 root root 182 2006-12-20 13:31 70debconf
don@duop:/etc/apt/apt.conf.d$ cat 00trustcdrom
APT::Authentication::TrustCDROM "true";
don@duop:/etc/apt/apt.conf.d$ cat 01autoremove
APT
{
  NeverAutoRemove
  {
        "^linux-image.*";
        "^linux-restricted-modules.*";
  };
};
don@duop:/etc/apt/apt.conf.d$ cat 10periodic
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "0";
don@duop:/etc/apt/apt.conf.d$ cat 70debconf
// Pre-configure all packages with debconf before they are installed.
// If you don't like it, comment it out.
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};
don@duop:/etc/apt/apt.conf.d$

Thanks, Don

On Sun, 13 Jan 2008, Douglas A. Tutty wrote:
Date: Sun, 13 Jan 2008 23:13:25 -0500
From: Douglas A. Tutty <dtutty@porchlight.ca>
To: debian-amd64@lists.debian.org
Subject: Re: apt-get problem
Resent-Date: Mon, 14 Jan 2008 04:13:47 +0000 (UTC)
Resent-From: debian-amd64@lists.debian.org

On Sun, Jan 13, 2008 at 07:43:22PM -0600, Don Montgomery wrote:

I looked at the apt-get howto located at

http://www.debian.org/doc/manuals/apt-howto/ch-basico.en.html#s-sources.list

and grabbed some additional lines for my
/etc/apt/sources.list file, which now reads:


---

however, when I run apt-get update, I still get no joy,
and a lot of lines like:

Failed to fetch
http://debian.uchicago.edu/debian/dists/testing/Release.gpg
Could not connect to localhost:4001 (127.0.0.1). - connect
(111 Connection refused)

Any ideas what is happening?


Still looks like its trying to connect to a proxy at localhost port
4001.  Give us your /etc/apt/apt.conf and any files under
/etc/apt/apt.conf.d

Doug.




--


Reply to: