Bug#717177: 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 linux-image-3.9-1-686-pae (--configure): il sottoprocesso installato script di post-installation ha restituito lo stato di errore 1 Configurazione di grub-pc (2.00-15)... Installazione completata, nessun errore segnalato. Creazione di grub.cfg... Found background image: /usr/share/images/desktop-base/desktop-grub.png dpkg: errore nell'elaborare grub-pc (--configure): il sottoprocesso installato script di post-installation ha restituito lo stato di errore 1 dpkg: problemi con le dipendenze impediscono la configurazione di linux- image-686-pae: linux-image-686-pae dipende da linux-image-3.9-1-686-pae; comunque: Il pacchetto linux-image-3.9-1-686-pae non รจ ancora configurato. dpkg: errore nell'elaborare linux-image-686-pae (--configure): problemi con le dipendenze - lasciato non configurato Si sono verificati degli errori nell'elaborazione: linux-image-3.9-1-686-pae grub-pc linux-image-686-pae -- Package-specific info: *** BEGIN /proc/mounts /dev/disk/by-uuid/136c4dd3-50f0-403b-b91a-84457ef2051f / ext4 rw,relatime,errors=remount-ro,data=ordered 0 0 /dev/sda2 /mnt/windows fuseblk rw,nosuid,nodev,noexec,noatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0 *** END /proc/mounts *** BEGIN /boot/grub/device.map (hd0) /dev/disk/by-id/ata-TOSHIBA_MK5076GSX_61DTD1C4B *** END /boot/grub/device.map *** BEGIN /boot/grub/grub.cfg # # DO NOT EDIT THIS FILE # # It is automatically generated by grub-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/#00_header# ### if [ -s $prefix/grubenv ]; then load_env fi set default=0 if [ ${prev_saved_entry} ]; then set saved_entry=${prev_saved_entry} save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z ${boot_once} ]; then saved_entry=${chosen} save_env saved_entry fi } function load_video { insmod vbe insmod vga insmod video_bochs insmod video_cirrus } insmod part_msdos insmod ext2 set root='(hd0,msdos3)' search --no-floppy --fs-uuid --set=root 136c4dd3-50f0-403b-b91a-84457ef2051f if loadfont /usr/share/grub/unicode.pf2 ; then set gfxmode=1366x768 load_video insmod gfxterm insmod part_msdos insmod ext2 set root='(hd0,msdos3)' search --no-floppy --fs-uuid --set=root 136c4dd3-50f0-403b-b91a-84457ef2051f set locale_dir=($root)/boot/grub/locale set lang=it_IT insmod gettext fi terminal_output gfxterm set timeout=5 ### END /etc/grub.d/#00_header# ### ### BEGIN /etc/grub.d/00_header ### if [ -s $prefix/grubenv ]; then load_env fi set default=0 if [ ${prev_saved_entry} ]; then set saved_entry=${prev_saved_entry} save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z ${boot_once} ]; then saved_entry=${chosen} save_env saved_entry
Bug#717177: grub-pc: impossible to have a working grub or a working kernel
On Wed, Jul 17, 2013 at 04:10:52PM +0200, cosimo morelli wrote: Package: grub-pc Version: 2.00-15 Severity: critical Justification: breaks the whole system Dear Maintainer, mew version and same shit This sort of language does not persuade me to spend much time helping you. Please tone it down. 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 The output of this command, run as root, would help: sh -x /usr/sbin/grub-mkconfig -o /boot/grub/grub.cfg -- 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
Bug#717177: closed by Colin Watson cjwat...@debian.org (Re: Bug#717177: grub-pc: impossible to have a working grub or a working kernel)
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)
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