Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried to follow a poorly explained tutorial on how to install the Opera browser from the terminal. After this failed, I have not been able to get to the Software Center or the Software Updater. I also get this error message:

An error occurred, please run Package Manager from the right-click menu
or apt-get in a terminal to see what is wrong. The error message was:
'Error: Opening the cache (E:Malformed line 1 in source list
/etc/apt/sources.list.d/opera.list (dist), E:The package lists or
status file could not be parsed or opened.)'. This usually means that
your installed packages have unmet dependencies.

Yes, I've seen all the other "malformed line" threads, but nothing is helping. Any help would be greatly appreciated. I am running 13.04.

share|improve this question
Of course, typos in the quoted text are mine. I know it's not a rick-click. I couldn't copy and paste the message. – Cliff Weathers May 20 '13 at 20:51
Did you already try this?…, of course, refer to your sources.list.d/opera.list file. – Geppettvs D'Constanzo May 20 '13 at 20:53
Include the link given to you after this command: sudo cat /etc/apt/sources.list.d/opera.list | pastebinit. You may need to install pastebinit with sudo apt-get install pastebinit – Thomas Ward Oct 31 '13 at 20:50

First install gksu

sudo apt-get install gksu

Then open the file with gedit

gksu gedit /etc/apt/sources.list.d/opera.list

You can post the line here for review or comment it out by adding a # in the front

share|improve this answer
This is the line: deb I'm still getting the error after I added the # – Cliff Weathers May 20 '13 at 21:00
The problem seems to be resolved. Thank you very much. – Cliff Weathers May 20 '13 at 21:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.