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 just upgraded from Ubuntu 10.10 to Ubuntu 11.04, and because of rebooting issues, I was downloading boot-repair using the live CD. I've been able to get into 11.04, but now I can't do any more upgrades.

Whenever I try to use the Ubuntu Software Center, the Synaptic Package Manager, or even the terminal, the following error message keeps coming up:

E:Type 'oot-repair/ubuntu' is not known on line 3 in source list /etc/apt/sources.list.d/yannubuntu-boot-repair-maverick.list'

Of course, "oot-repair" is really "boot-repair". I was able to locate /etc/apt/sources.list.d in the root directory and saw it with my own eyes, but I don't know how to repair the misspelling.

What should I do?

share|improve this question
For information, this is due to a bug of add-apt-repository :… – LovinBuntu Jul 20 '12 at 16:10
  • Open a terminal and issue this command:

    gksudo gedit /etc/apt/sources.list.d/yannubuntu-boot-repair-maverick.list
  • Then place a b in front of oot-repair to change it to boot-repair.

  • Press CTRL + S to save the file and exit.

You're done. Now you can do, update.

share|improve this answer
Should be gksudo and not sudo... – arochester Jul 15 '12 at 14:38
@arochester, thanks. I've edited. I heard of sudo issue, though it works always good for me. – Anwar Shah Jul 15 '12 at 14:41
Thanks. I tried sudo nano, but it wouldn't work. You know what they say about using a bigger hammer--I simply deleted the file (it was a notification that that particular version of boot repair was being disabled at upgrade), so now I'm back in business. Thanks anyway. I'll remember gksudo gedit next time. – TokyoJohn Jul 16 '12 at 0:15

Another way to do it apart from Anwar Shah's answer is to type in terminal - gksudo nautilus

The file explorer will open up.

Browse to the directory - /etc/apt/sources.list.d
PS: copy the directory link and in nautilus press ,Ctrl + L and then press Ctrl + V.

Open up the file with any file editor (or just double click it) - yannubuntu-boot-repair-maverick.list

And edit the required thing - place a b in front of oot-repair to change it to boot-repair.

Save the document and you are done.

share|improve this answer

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.