LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problems with synchronizing sources.list (https://www.linuxquestions.org/questions/linux-newbie-8/problems-with-synchronizing-sources-list-4175561879/)

siery 12-20-2015 02:34 AM

Problems with synchronizing sources.list
 
Hey.
I fix my problem with configuring the sources.list file, but i still can't download any thing from the mirror.I try to use http://mirror.one.com/debian/ and http://mirrors.rackhosting.com/debian/ mirrors that i found to be fastest for me.

When i try to update or upgrade this communicates appears:
Code:

E: Malformed line 8 in source list /etc/apt/sources.list (dist parse)
E: The list of sources could not be read
E: Could not read list of package sources

We both know that line 8 is correct. Here is the proof:
Code:

#
# deb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 CD Binary-1 20150906-11:13]/ jessie main

deb http://mirrors.rackhosting.com/debian/ jessie main
deb-src http://mirrors.rackhosting.com/debian/ jessie main

deb http://security.debian.org/jessie/updates main
deb-src http://security.debian.org/jessie/updates main

deb http://mirrors.rackhosting.com/debian/ jessie-updates main
deb-src http://mirrors.rackhosting.com/debian/ jessie-updates main

And when i try to install ant package it cant obviously find it.

Any idea :)?
Siery

ondoho 12-20-2015 06:02 AM

the file has to end with a newline.
that's about the only thing i can think of.
have you tried different versions of sources.list?
what have you tried to solve this? the error message is pretty straightforward...

siery 12-20-2015 06:39 AM

Well not much, I just moved in to Debian so I'm pretty newbie.
All i try was different mirrors. I set file access to 744 so nothing should get any problems opening it. I reboot, with not effect. And like 2 hours staring on the terminal (with no result as well) but i guess it didn't count? :)
What you mean with different versions of sources.list?

descendant_command 12-20-2015 06:50 AM

Quote:

We both know that line 8 is correct.
Nope - missing a space.
Code:

deb http://security.debian.org/ jessie/updates main

siery 12-20-2015 07:57 AM

That's weird. Debian set this line during installation. But yes it worked.
For now i got a new problem, that is wlan0 cant connect to the internet. But first i gonna do some searching and if I can't fix it I will open a new Thread.
For now thanks for help :).


All times are GMT -5. The time now is 01:49 PM.