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.

Summary: linux-image-3.5.0-2-generic upgrade to linux-image-3.5.0-3-generic

The default Ubuntu 12.04 update is generating the following error for weeks (the link below).

Obs.: I'm using default update of Ubuntu 12.04 ie, apt-get update.

log error: https://gist.github.com/3036775

Overall he is trying to do the following: upgrade the "linux-image-3.5.0-2-generic upgrade to linux-image-3.5.0-3-generic" and the error always, always.

What to do?

share|improve this question
    
Have you edited /etc/default/grub? It seems like there is a syntax error in this file, such as a missing quotation mark. If a line has an open quote (either single or double), but no closing quote before the end of the line, the it will complain about the newline (ie, linebreak) inside the quotes. –  Marty Fried Jul 4 '12 at 3:19
    
Oh god my friend. You complete CORRECTLY. I will fix the problem in line 26 (just comment - #), and works now. Thanks so much. –  Patrick Maciel Jul 5 '12 at 1:57
    
Cool. This type of problem is actually fairly common in many different programming languages. Which is why I knew what it probably would be. –  Marty Fried Jul 5 '12 at 3:29
add comment

1 Answer 1

Thanks to my friend review, managed to solve the problem:

Have you edited /etc/default/grub? It seems like there is a syntax error in this file, such as a missing quotation mark. If a line has an open quote (either single or double), but no closing quote before the end of the line, the it will complain about the newline (ie, linebreak) inside the quotes. – Marty Fried Jul 4 at 3:19

The error was in line 26, then sufficed comment (#) the line and ready.

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.