Hello,
Today I managed to mess up my sources.list.
Every time I try to run sudo apt-get update, I get:
E: Type 'deb' is not known on line 1 in source list /etc/apt/sources.list
E: The list of sources could not be read.
I can't seem to figure out what's wrong with the file though. This is its contents:
deb http://ftp.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.debian.org/debian/ testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib non-free
Is there a way I can quickly fix it or reset it to its defaults or something?
Thanks in advance!
Chris
my apt/sources.list
deb http://ftp.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.debian.org/debian/ testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib non-free
deb http://www.deb-multimedia.org testing main non-free
and its do the job.
Quote from: mardam on October 14, 2015, 10:58:14 PM
my apt/sources.list
deb http://ftp.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.debian.org/debian/ testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib non-free
deb http://www.deb-multimedia.org testing main non-free
and its do the job.
@mardam
Nice! Thank you!