Bug#717177: closed by Colin Watson cjwat...@debian.org (Re: Bug#717177: grub-pc: impossible to have a working grub or a working kernel)

2013-07-17 Thread cosimo morelli
Adding set -x near the top of /etc/grub.d/07_debian_theme may help
diagnose exactly what's going on; but perhaps this is simply a leftover
from some local experiment and should be removed in favour of
/etc/grub.d/05_debian_theme.

Oh so the problem is the file /etc/grub.d/07_debian_theme ? I have just to
remove the file or I have to modify something inside the other files of
grub?

P.S. I know that we are all full of work in this period, my frustration
comes from the fact that I can't turn off the pc and every time I do an
upgrade I have to remove the file /boot/grub/grub.cfg.new or I have to put
a live distrution inside and replace all the files with my backup of the
folders of Grub :)



2013/7/17 Debian Bug Tracking System ow...@bugs.debian.org

 This is an automatic notification regarding your Bug report
 which was filed against the grub-pc package:

 #717177: grub-pc: impossible to have a working grub or a working kernel

 It has been closed by Colin Watson cjwat...@debian.org.

 Their explanation is attached below along with your original report.
 If this explanation is unsatisfactory and you have not received a
 better one in a separate message then please contact Colin Watson 
 cjwat...@debian.org by
 replying to this email.


 --
 717177: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717177
 Debian Bug Tracking System
 Contact ow...@bugs.debian.org with problems


 -- Messaggio inoltrato --
 From: Colin Watson cjwat...@debian.org
 To: 717177-cl...@bugs.debian.org
 Cc:
 Date: Wed, 17 Jul 2013 17:20:50 +0100
 Subject: Re: Bug#717177: grub-pc: impossible to have a working grub or a
 working kernel
 On Wed, Jul 17, 2013 at 05:55:57PM +0200, cosimo morelli wrote:
  This sort of language does not persuade me to spend much time helping
  you.  Please tone it down.
 
  Well, it works :D This time I had an answer ;)

 That was only because I was procrastinating thinking about a complicated
 problem at work.

  + grub_file_is_not_garbage /etc/grub.d/07_debian_theme
  + test -f /etc/grub.d/07_debian_theme
  + return 0
  + test -x /etc/grub.d/07_debian_theme
  + echo
  + echo ### BEGIN /etc/grub.d/07_debian_theme ###
  + /etc/grub.d/07_debian_theme

 So /etc/grub.d/07_debian_theme is apparently the problem.  This file
 isn't shipped by any Debian package, which means that the problem was
 created at your end.

 Adding set -x near the top of /etc/grub.d/07_debian_theme may help
 diagnose exactly what's going on; but perhaps this is simply a leftover
 from some local experiment and should be removed in favour of
 /etc/grub.d/05_debian_theme.

 --
 Colin Watson   [cjwat...@debian.org]

 -- Messaggio inoltrato --
 From: cosimo morelli lordofenup...@gmail.com
 To: Debian Bug Tracking System sub...@bugs.debian.org
 Cc:
 Date: Wed, 17 Jul 2013 16:10:52 +0200
 Subject: grub-pc: impossible to have a working grub or a working kernel
 Package: grub-pc
 Version: 2.00-15
 Severity: critical
 Justification: breaks the whole system

 Dear Maintainer,

 mew version and same shit

 E: Sub-process /usr/bin/dpkg returned an error code (1)
 Errore durante l'installazione di un pacchetto. Tentativo di ripristino:
 Configurazione di linux-image-3.9-1-686-pae (3.9.8-1)...
 Running depmod.
 vmlinuz(/boot/vmlinuz-3.9-1-686-pae
 ) points to /boot/vmlinuz-3.9-1-686-pae
  (/boot/vmlinuz-3.9-1-686-pae) -- doing nothing at
 /var/lib/dpkg/info/linux-
 image-3.9-1-686-pae.postinst line 268.
 initrd.img(/boot/initrd.img-3.9-1-686-pae
 ) points to /boot/initrd.img-3.9-1-686-pae
  (/boot/initrd.img-3.9-1-686-pae) -- doing nothing at
 /var/lib/dpkg/info/linux-
 image-3.9-1-686-pae.postinst line 268.
 Examining /etc/kernel/postinst.d.
 run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.9-1-686-pae
 /boot/vmlinuz-3.9-1-686-pae
 run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.9-1-686-pae
 /boot/vmlinuz-3.9-1-686-pae
 update-initramfs: Generating /boot/initrd.img-3.9-1-686-pae
 run-parts: executing /etc/kernel/postinst.d/pm-utils 3.9-1-686-pae
 /boot/vmlinuz-3.9-1-686-pae
 run-parts: executing /etc/kernel/postinst.d/zz-extlinux 3.9-1-686-pae
 /boot/vmlinuz-3.9-1-686-pae
 P: Checking for EXTLINUX directory... found.
 P: Writing config for /boot/vmlinuz-3.9-1-686-pae...
 P: Writing config for /boot/vmlinuz-3.8-2-686-pae...
 P: Writing config for /boot/vmlinuz-3.8-1-686-pae...
 P: Writing config for /boot/vmlinuz-3.2.0-4-686-pae...
 P: Writing config for Windows 7 (loader) on /dev/sda1...
 P: Installing debian theme... done.
 run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.9-1-686-pae
 /boot/vmlinuz-3.9-1-686-pae
 Creazione di grub.cfg...
 Found background image: /usr/share/images/desktop-base/desktop-grub.png
 run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
 Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-
 image-3.9-1-686-pae.postinst line 696.
 dpkg: errore nell'elaborare 

Bug#717177: closed by Colin Watson cjwat...@debian.org (Re: Bug#717177: grub-pc: impossible to have a working grub or a working kernel)

2013-07-17 Thread Colin Watson
On Wed, Jul 17, 2013 at 10:15:10PM +0200, cosimo morelli wrote:
 Oh so the problem is the file /etc/grub.d/07_debian_theme ? I have just to
 remove the file or I have to modify something inside the other files of
 grub?

The problem appears to be in that file, yes.  Since I don't know what it
contains I can't give accurate advice; I can only guess from its name.

(It's possible there's some other problem further on.  I can't tell.
Fix the problem with 07_debian_theme, either by removing it or by fixing
it, and either the problem will go away or tracing grub-mkconfig again
will show the next target.)

-- 
Colin Watson   [cjwat...@debian.org]


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org