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.
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
add comment

1 Answer

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
show 1 more comment

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.