LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-20-2015, 03:34 AM   #1
siery
LQ Newbie
 
Registered: Dec 2015
Posts: 28

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

Last edited by siery; 12-20-2015 at 03:49 AM. Reason: wrong title, sorry :)
 
Old 12-20-2015, 07:02 AM   #2
ondoho
Senior Member
 
Registered: Dec 2013
Posts: 4,176

Rep: Reputation: 837Reputation: 837Reputation: 837Reputation: 837Reputation: 837Reputation: 837Reputation: 837
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, 07:39 AM   #3
siery
LQ Newbie
 
Registered: Dec 2015
Posts: 28

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 07:41 AM.
 
Old 12-20-2015, 07:50 AM   #4
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,385

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
We both know that line 8 is correct.
Nope - missing a space.
Code:
deb http://security.debian.org/ jessie/updates main
 
1 members found this post helpful.
Old 12-20-2015, 08:57 AM   #5
siery
LQ Newbie
 
Registered: Dec 2015
Posts: 28

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 .
 
  


Reply

Tags
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 07:29 AM
[SOLVED] Bash Issue with Find Script: find paths must precede expression: *.txt JockVSJock Programming 4 01-06-2014 10: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 08:37 AM
find hidden files from wild card path using 'find' nagendrar Linux - Newbie 5 10-13-2011 11:48 PM
Find/grep/wc command to find matching files, print filename and word count dbasch Linux - Newbie 10 09-14-2009 06:55 PM


All times are GMT -5. The time now is 02:25 AM.

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