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

Re: Apt-get: move from cdrom to online-sources



On Saturday 01 November 2003 18:38, Haines Brown wrote:
> Jakob, a little light is begging to shine. In my reading I did not see
> anything about apt-cdrom, and so had to guess what had to be added to
> the config file. I guessed, wrong, it seems.
>
> > >   Err http://ftp.br.debian.org woody/main Packages
> > >     Could not connect to 127.0.0.1:3128 (127.0.0.1). - connect
> > >           (111 Connection refused)
> >
> > Hello,
> > this means that your proxy is down. Remove the proxy settings from your
> > /etc/ apt.conf and run apt-get update again.
>
> I removed the http subsection I had put into the /etc/apt/apt.conf
> file, and ran the apt-get update. Not sure if I succeeded. There was a
> lot I missed because scrolled off my xterm, and I can't copy/paste
> from xterm to get a decent example.
>
> However, from what I see, there's a lot about apt-get update should
> not be used to add new cds; I should use apt-cdrom for that (now that
> I know such a command exists, the man page is somewhat useful). A set
> of warnings like this is repeated for each of the seven original disks
> I had used to install debian. In fact, the entire response that I can
> see consists of this, except for the three final lines: Reading
> package lists..., Building dependency tree..., E: some index files
> failed to download.
This means that apt couldn't download some files. You can redirect the output 
of apt-get update to a file to see which files couldn't be downloaded:
apt-get update 2>&1 >apt.log
less apt.log
Probably you have either a typo in your /etc/apt/sources.list or your apt 
mirror is down.

Regards
	Jakob



Reply to: