LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 02:34 AM   #1
siery
Member
 
Registered: Dec 2015
Posts: 34

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 02:49 AM. Reason: wrong title, sorry :)
 
Old 12-20-2015, 06:02 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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
siery
Member
 
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
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
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, 07:57 AM   #5
siery
Member
 
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 .
 
  


Reply

Tags
downloading, list, source



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:38 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
Open Source Consulting | Domain Registration