Mint 14 Software Update Source List error

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Mint 14 Software Update Source List error

Postby tech-genie on Sat Feb 23, 2013 12:07 am

Last thing I was doing was trying to download/install adobe acrobat reader from terminal using get-apt command. Being new at this something went wrong. I am getting the error E:Malformed line 10 in source list /etc/apt/sources.list (dist parse). Looking online I have found others running other Mint versions but none that mention line 10 in the source.list file. I don't know what it is supposed to look like normally, but pulling it up in terminal I get this:

deb http://mirror.umd.edu/linuxmint/packages/ nadia main upstream import
deb http://archive.ubuntu.com/ubuntu/ quantal main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ quantal-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ quantal-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ quantal partner
deb http://packages.medibuntu.org/ quantal free non-free

# deb http://archive.getdeb.net/ubuntu quantal-getdeb apps
# deb http://archive.getdeb.net/ubuntu quantal-getdeb games
deb http://archive.canonical.com/precise partner
deb-src http://archive.canonical.com/precise partner

It has also been asked of others to post the local-repository.list from /etc/apt/sources.list.d
Mine is this:

# deb file:///usr/share/local-repository binary/

I have read that some lines in the list are for installing things like Cairo dock and others are for the software updates. I was following commands off http://www.noobslab.com/2012/11/install ... buntu.html for installing adobe acrobat reader so I could view receipts on my verizon page for taxes before the problems started. Did I screw up when I entered those 3 commands into terminal?

Any help would be greatly appreciated. Thank you in advance.
tech-genie
Level 1
Level 1
 
Posts: 3
Joined: Fri Feb 22, 2013 11:39 pm

Linux Mint is funded by ads and donations.
 

Re: Mint 14 Software Update Source List error

Postby passerby on Sat Feb 23, 2013 12:41 am

"Line 10" means it's the 10th line in your sources.list file causing the error.
eg. If my sources.list was:
Code: Select all
#Blank line
deb http://mirror.umd.edu/linuxmint/packages/ nadia main upstream import
deb http://archive.ubuntu.com/ubuntu/ quantal main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ quantal-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ quantal-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ quantal partner
deb http://packages.medibuntu.org/ quantal free non-free

# deb http://archive.getdeb.net/ubuntu quantal-getdeb apps
deb http://archive.fake.net/ubuntu quantal-getdeb corrupt

line 10 would refer to archive.fake.net. Keep in mind that it refers to the 10th line, not the 10th entry.
It counts blank lines and commented out lines.

With that in mind, which is the 10th line in your sources.list file? Commenting it out should solve the problem.

Edit: After looking at the article, I'd say this line is your problem:
Code: Select all
deb http://archive.canonical.com/ubuntu/ quantal partner

Try commenting it out (ie. put a # before "deb"), save the file, then try to update.
Home PC: Xubuntu 14.04 x64, Nvidia GTX650, i7 3770K, 16GB RAM, Asus Xonar DX
Work PC: Mint 13 x64 XFCE, Nvidia GT620, i5 3470, 8GB RAM
Laptop: System76 Kudu Pro, Xubuntu 14.04 x64

My HTML5 login themes + screenshots
User avatar
passerby
Level 6
Level 6
 
Posts: 1373
Joined: Sun Dec 16, 2012 7:29 pm

Re: Mint 14 Software Update Source List error

Postby tech-genie on Sat Feb 23, 2013 1:29 am

I went into the source file and commented out '#' line 10 and saved like suggested. Re ran update and it came back with same error only line 11. commenting out line 11 and repeating previous steps seemed to have worked. It ran the program and didn't throw out an error this time. It says that I am up to date so we will see if it worked.

Thank you so much for your help!
tech-genie
Level 1
Level 1
 
Posts: 3
Joined: Fri Feb 22, 2013 11:39 pm


Return to Newbie Questions

Who is online

Users browsing this forum: Google Adsense [Bot], kenhall5551, KhalVal and 22 guests