Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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? askubuntu.com/questions/285015/…, 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 W. Oct 31 '13 at 20:50

1 Answer 1

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 deb.opera.com/opera 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

 
discard

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.