Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-20-2015, 02:34 AM   #1
Registered: Dec 2015
Posts: 34

Rep: Reputation: Disabled
Problems with synchronizing sources.list

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 and mirrors that i found to be fastest for me.

When i try to update or upgrade this communicates appears:
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:
# deb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 CD Binary-1 20150906-11:13]/ jessie main

deb jessie main
deb-src jessie main

deb main
deb-src main

deb jessie-updates main 
deb-src jessie-updates main
And when i try to install ant package it cant obviously find it.

Any idea ?

Last edited by siery; 12-20-2015 at 02:49 AM. Reason: wrong title, sorry :)
Old 12-20-2015, 06:02 AM   #2
LQ Addict
Registered: Dec 2013
Posts: 12,456
Blog Entries: 9

Rep: Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372
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...
Old 12-20-2015, 06:39 AM   #3
Registered: Dec 2015
Posts: 34

Original Poster
Rep: Reputation: Disabled
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?

Last edited by siery; 12-20-2015 at 06:41 AM.
Old 12-20-2015, 06:50 AM   #4
Senior Member
Registered: Mar 2012
Posts: 1,705

Rep: Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527
We both know that line 8 is correct.
Nope - missing a space.
deb jessie/updates main
1 members found this post helpful.
Old 12-20-2015, 07:57 AM   #5
Registered: Dec 2015
Posts: 34

Original Poster
Rep: Reputation: Disabled
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 .


downloading, list, source

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Old School -- gdbmtool & dbmutil -- can't find RPMs and can't find Source spudzy Linux - Software 3 09-27-2014 06:29 AM
[SOLVED] Bash Issue with Find Script: find paths must precede expression: *.txt JockVSJock Programming 4 01-06-2014 09:03 PM
[SOLVED] Find URL in Debian package index via awk/sed (=find a line, then search from there) maddes.b Linux - Software 11 06-28-2013 07:37 AM
find hidden files from wild card path using 'find' nagendrar Linux - Newbie 5 10-13-2011 10:48 PM
Find/grep/wc command to find matching files, print filename and word count dbasch Linux - Newbie 10 09-14-2009 05:55 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration