Click to See Complete Forum and Search --> : reconfiguring apt in Debian Potato?


Syngin
01-23-2002, 05:19 PM
Anyone know how to reconfigure apt? (perhaps re-run that config progrma that runs at install?)

Apt on my system is insisting on using one particular source out of my 3 defined sources for non-us stuff and I think they changed the directory structure or something. Keeps erroring out when trying to update my lists.

I know about sources.list but I actually wouldn't mind having access to that list of servers in the config program.

Even a URL of Debian ftps would be very helpful.

Cheers.

Update: Oh, the source I'm having problems with is non-us.debian.org

[ 23 January 2002: Message edited by: Syngin ]

Frith
01-23-2002, 05:57 PM
did you try changing the order of the servers in /etc/apt/sources.list or commenting some of them out?

that usually does the trick for me when a server is being an ***.

[ 23 January 2002: Message edited by: Frith ]

Frith
01-23-2002, 06:00 PM
oh, check this out... my sources.list (http://frithiof.0catch.com)

this might have been Craig's list initially, but I really don't know.

<Edit>changed the link to go straight to my lame website; there's a link there that you can use to go to the sources.list

[ 23 January 2002: Message edited by: Frith ]

scanez
01-23-2002, 06:14 PM
Frith that link doens't work.

As for the original question, what do you want in there? Potato, woody, sid? What does /etc/apt/sources.list look like already? Try commenting out the source that is giving you the problems. Here's how a generic sources.list for potato using the main servers looks like

deb http://http.us.debian.org/debian/ stable main non-free contrib

deb http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free

#deb http://security.debian.org/ stable/updates main contrib non-free

Uncomment the security updates if you want those and change stable in the first two to whatever your heart desires.

Cheers
SC

Syngin
01-23-2002, 09:23 PM
Cheers people. I'm back up to strength now. :-)