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 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 : bugs.launchpad.net/ubuntu/+source/software-properties/+bug/… –  LovinBuntu Jul 20 '12 at 16:10
add comment

2 Answers 2

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

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