Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

This question already has an answer here:

m@samsung:~$ sudo rm /var/lib/apt/lists/* -vf
[sudo] password for m: 
rm: cannot remove `/var/lib/apt/lists/partial': Is a directory
m@samsung:~$ sudo apt-get update
N: Ignoring file 'gnomebaker.lis' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Malformed line 1 in source list /etc/apt/sources.list.d/gnomebaker.list (URI parse)
E: The list of sources could not be read.
m@samsung:~$ 
share|improve this question

marked as duplicate by karel, Braiam, guntbert, Sneetsher, poolie Jun 2 '14 at 3:55

This question was marked as an exact duplicate of an existing question.

Looks like you made some typos when adding the gnomebaker repo. Remove it and apt wil work again.

sudo rm /etc/apt/sources.list.d/gnomebaker*
share|improve this answer
    
thnx, but still not working – Michal Nov 27 '12 at 21:21
    
m@samsung:~$ sudo rm /etc/apt/sources.list.d/gnomebaker* [sudo] password for m: m@samsung:~$ sudo apt-get update E: Type 'airjordan' is not known on line 1 in source list /etc/apt/sources.list.d/google-chrome.list E: The list of sources could not be read. – Michal Nov 27 '12 at 21:22
    
Looks like you have some more corruption on your hand there. What's in the /etc/apt/sources.list.d/google-chrome.list file? – Dennis Kaarsemaker Nov 27 '12 at 21:23
    
ehm, how can i find out ? :P – Michal Nov 27 '12 at 22:56
    
By opening it in a text editor... – Dennis Kaarsemaker Nov 27 '12 at 22:57

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