Mint 14 Software Update Source List error

Quick to answer questions about finding your way around Linux Mint as a new user.
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. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
tech-genie

Mint 14 Software Update Source List error

Post by tech-genie »

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.removed/ubuntu quantal-removed apps
# deb http://archive.removed/ubuntu quantal-removed 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.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
passerby

Re: Mint 14 Software Update Source List error

Post by passerby »

"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.removed/ubuntu quantal-removed apps
deb http://archive.fake.net/ubuntu quantal-removed 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.
tech-genie

Re: Mint 14 Software Update Source List error

Post by tech-genie »

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!
Locked

Return to “Beginner Questions”