On Tue, Jul 24, 2007 at 07:29:37 -0700, Lorenas Bartkus wrote: [...]
> As i understood, if i want to update the system via network i have to > update source.list, but when i tried to enter these sources: > deb http://http.us.debian.org/debian stable main contrib non-free > deb http://non-us.debian.org/debian-non-US stable/non-US main contrib > non-free > deb http://security.debian.org stable/updates main contrib non-free > > nothing happened, just said that unknown command for deb. and when i > try to man /etc/apt/sources.list it says that it is unable to edit > manually. by the way all commands i made in root. QUESTION: how to > add sources to source.list? You have to add these lines to /etc/apt/sources.list. (However, the "non-us" one is obsolete.) If you do not have an editor installed yet then you can do something like this: echo "deb http://ftp.us.debian.org/debian stable main contrib non-free" >> /etc/apt/sources.list echo "deb http://security.debian.org stable/updates main contrib non-free" >> /etc/apt/sources.list Please make sure that you use two greater signs, i.e. ">>"! If you run these commands with ">" then the lines will overwrite sources.list instead of being appended to it. You can use a different country code in the first URL; it does not have to be "us". -- Regards, | http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]