cannot run update manager

Asked by Dale L.

as of today, everytime I launch the update manager I get an error message as follows:

E:Type 'n' is not known on line 2 in source list /etc/apt/sources.list.d/philip5-kde44-lucid.list, E:The list of sources could not be read.'

after that, the manager closes and shows a red icon in the system tray...

any comments/hints would be appreciated...
thx

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Rijckenberg
Solved:
Last query:
Last reply:
Revision history for this message
Dale L. (doublewitt) said :
#1

Synaptic shows the same message and closes:

E: Type 'n' is not known on line 1 in source list /etc/apt/sources.list.d/philip5-kde44-lucid.list
E: The list of sources could not be read.
Go to the repository dialog to correct the problem.
E: _cache->open() failed, please report.

Unless there is something I overlooked, the problem persists even though I removed the PPA from the Software Sources...

Revision history for this message
Best Mark Rijckenberg (markrijckenberg) said :
#2

Either you correct the error on line 1 in the file /etc/apt/sources.list.d/philip5-kde44-lucid.list

or you simply delete the file....

You can edit the file with command:

gksudo gedit /etc/apt/sources.list.d/philip5-kde44-lucid.list

Or you can simply delete the file with this command:

sudo rm /etc/apt/sources.list.d/philip5-kde44-lucid.list

After deleting the file, you will need to first run the following command:

sudo aptitude update

Revision history for this message
Dale L. (doublewitt) said :
#3

OK - thanks - got it working now...!

Revision history for this message
Dale L. (doublewitt) said :
#4

Thanks Mark Rijckenberg, that solved my question.