(unknown)
NoOp
glgxg at sbcglobal.net
Sun Mar 2 23:44:16 UTC 2008
On 03/02/2008 02:52 PM, Scott Berry wrote:
> Hello guys and gals,
>
> I goofed up on my Dad's comp while doing some system admin tasks and I
> erased the/etc/apt/sources.list and when I try to run apt-get update I get a
> message saying that the doc type isn't right. How do I go about taking the
> sources.list off the cd and copying it back on to the hard drive? Ug! I
> hate when I make mistakes like that. Here is the error message I get when I
> type apt-get update.
> root at Matoe:~# apt-get update
>
> E: Type '<!DOCTYPE' is not known on line 1 in source list
> /etc/apt/sources.list
>
gksu gedit /etc/apt/sources.list
Paste:
deb http://us.archive.ubuntu.com/ubuntu/ gutsy main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
##Universe
deb http://us.archive.ubuntu.com/ubuntu/ gutsy universe
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy universe
deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates universe
## Multiverse
deb http://us.archive.ubuntu.com/ubuntu/ gutsy multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy multiverse
deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
## Backports
deb http://us.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted
universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-backports main
restricted universe multiverse
## Canonical Partner Repository
deb http://archive.canonical.com/ubuntu gutsy partner
deb-src http://archive.canonical.com/ubuntu gutsy partner
deb http://security.ubuntu.com/ubuntu gutsy-security main restricted
deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted
deb http://security.ubuntu.com/ubuntu gutsy-security universe
deb-src http://security.ubuntu.com/ubuntu gutsy-security universe
deb http://security.ubuntu.com/ubuntu gutsy-security multiverse
deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse
Modify as you see fit & save the file.
Now try a sudo apt-get update.
More information about the ubuntu-users
mailing list