package linux-image-generic 2.6.32.22.23 failed to install/upgrade: Abhängigkeitsprobleme - lasse es unkonfiguriert

Bug #575913 reported by MatthiasA on 2010-05-05
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: grub2

Kernel 2.6.32.22.23 cant be installed.

I get the following message in the termial while making "apt-get upgrade":

Richte linux-image-2.6.32-22-generic ein (2.6.32-22.33) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.32-22-generic
Running postinst hook script /usr/sbin/update-grub.
/etc/default/grub: 30: Syntax error: EOF in backquote substitution
User postinst hook script [/usr/sbin/update-grub] exited with value 2
dpkg: Fehler beim Bearbeiten von linux-image-2.6.32-22-generic (--configure):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert 2 zurück
Richte grub-pc ein (1.98-1ubuntu6) ...
/etc/default/grub: 30: Syntax error: EOF in backquote substitution
dpkg: Fehler beim Bearbeiten von grub-pc (--configure):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert 2 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von linux-image-generic:
 linux-image-generic hängt ab von linux-image-2.6.32-22-generic; aber:
  Paket linux-image-2.6.32-22-generic ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von linux-image-generic (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von linux-generic:
 linux-generic hängt ab von linux-image-generic (= 2.6.32.22.23); aber:
  Paket linux-image-generic ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von linux-generic (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von startupmanager:
 startupmanager hängt ab von grub-pc | grub; aber:
  Paket grub-pc ist noch nicht konfiguriert.
  Paket grub ist nicht installiert.
dpkg: Fehler beim Bearbeiten von startupmanager (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
No apport report written because the error message indicates its a followup error from a previous failure.
                          No apport report written because MaxReports is reached already
        No apport report written because MaxReports is reached already
                                                                      Fehler traten auf beim Bearbeiten von:
 linux-image-2.6.32-22-generic
 grub-pc
 linux-image-generic
 linux-generic
 startupmanager
E: Sub-process /usr/bin/dpkg returned an error code (1)

additional ppas:
http://ppa.launchpad.net/nvidia-vdpau/ppa/ubuntu
http://packages.medibuntu.org/
http://ppa.launchpad.net/dtl131/mediahacks/ubuntu
http://deb.opera.com/opera/
http://ppa.launchpad.net/tualatrix/ppa/ubuntu

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: linux-image-generic 2.6.32.22.23
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic x86_64
NonfreeKernelModules: wl nvidia
Architecture: amd64
Date: Wed May 5 15:07:02 2010
ErrorMessage: Abhängigkeitsprobleme - lasse es unkonfiguriert
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
SourcePackage: grub2
Title: package linux-image-generic 2.6.32.22.23 failed to install/upgrade: Abhängigkeitsprobleme - lasse es unkonfiguriert

MatthiasA (themaze) wrote :
MatthiasA (themaze) wrote :

Please help.
I cant install any packages any more.

Should I remove and reinstall grub2?

Oliver Grawert (ogra) wrote :

your error is in this file it seems:

/etc/default/grub: 30: Syntax error: EOF in backquote substitution

can you paste the contents of /etc/default/grub ? seems some tool you used or some manual edit broke its contents.

MatthiasA (themaze) wrote :

Thanks for your answer!

I really think this manual broke /etc/default/grub :
http://idyllictux.wordpress.com/2010/04/26/lucidubuntu-10-04-high-resolution-plymouth-virtual-terminal-for-atinvidia-cards-with-proprietaryrestricted-driver/

This is the content of grub:

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"
GRUB_CMDLINE_LINUX=""

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

video=uvesafb:mode_option=1024x768-24,mtrr=3,scroll=ywrap"

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=1024x768

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_LINUX_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

MatthiasA (themaze) wrote :

Those lines are most likely problematic.

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset
video=uvesafb:mode_option=1366x768-24,mtrr=3,scroll=ywrap"
...
GRUB_GFXMODE=1366x768

What are the default values?

I did not make a backup of /etc/default/grub ... stupid me!

Oliver Grawert (ogra) wrote :

remove the line that starts with video= in your file, that should get you going again

if you want to add the video options, note that there should be no linewraps between the quote signs.

MatthiasA (themaze) wrote :

I edited /etc/default/grub according to: https://wiki.ubuntu.com/Grub2

sudo apt-get upgrade now works fine!

MatthiasA (themaze) on 2010-05-05
Changed in grub2 (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers