Problem with apt-get upgrade on 3.0 beta
Hi,
I've been waiting for a way to get linux-kbuild for a while. Without the nvidia proprietary drivers, my machine freezes with a blank screen. I've always had problems with the free drivers, but they seem worse now. So I was excited to see the relevant thread but I haven't had time until now to try it out.
Tonight I booted into rescue mode of my 3.0 beta install and got a wired ethernet connection. First thing I did was add the suggested source.list line, apt-get update and then, perhaps foolishly, apt-get upgrade. I get the following
Setting up linux-image-2.6.29-1-multimedia-amd64 (2.6.29-2) ... Running depmod. Running update-initramfs. initrd.img(/boot/initrd.img-2.6.29-1-multimedia-amd64 ) points to /boot/initrd.img-2.6.29-1-multimedia-amd64 (/boot/initrd.img-2.6.29-1-multimedia-amd64) -- doing nothing at /var/lib/dpkg/info/linux-image-2.6.29-1-multimedia-amd64.postinst line 569. vmlinuz(/boot/vmlinuz-2.6.29-1-multimedia-amd64 ) points to /boot/vmlinuz-2.6.29-1-multimedia-amd64 (/boot/vmlinuz-2.6.29-1-multimedia-amd64) -- doing nothing at /var/lib/dpkg/info/linux-image-2.6.29-1-multimedia-amd64.postinst line 569. Running update-grub. Searching for GRUB installation directory ... found: /boot/grub Searching for default file ... found: /boot/grub/default Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst Searching for splash image ... none found, skipping ... Found kernel: /boot/vmlinuz-2.6.29-1-multimedia-amd64 Found kernel: /boot/memtest86+.bin User postinst hook script [update-grub] exited with value 20 dpkg: error processing linux-image-2.6.29-1-multimedia-amd64 (--configure): subprocess post-installation script returned error exit status 128 Errors were encountered while processing: linux-image-2.6.29-1-multimedia-amd64 E: Sub-process /usr/bin/dpkg returned an error code (1)
So some kind of problem with update-grub? I ran it manually:
root@64studio:/var/cache/apt/archives# update-grub Searching for GRUB installation directory ... found: /boot/grub Searching for default file ... found: /boot/grub/default Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst Searching for splash image ... none found, skipping ... Found kernel: /boot/vmlinuz-2.6.29-1-multimedia-amd64 Found kernel: /boot/memtest86+.bin Replacing config file /var/run/grub/menu.lst with new version Updating /boot/grub/menu.lst ... done
but linux-image-2.6.29-1-multimedia-amd64 remains unconfigured:
root@64studio:/var/cache/apt/archives# dpkg -l linux-image-2.6.29\* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-=============================-=============================-========================================================================== iF linux-image-2.6.29-1-multimed 2.6.29-2 Linux 2.6.29 image on AMD64
Try configuring again I still get the "[update-grub] exited with value 20" error.
So I stuck -x on the #! line in /usr/sbin/update-grub and ran dpkg --configure again. I won't put the whole ouput here unless someone asks, but here's the last few lines showing the "return 20":
+ sed -n '-e/## ## End Default Options ##/,/### END DEBIAN AUTOMAGIC KERNELS LIST/p'
+ db_x_loadtemplatefile /var/lib/dpkg/info/grub.templates grub
+ _db_cmd 'X_LOADTEMPLATEFILE /var/lib/dpkg/info/grub.templates' grub
+ IFS=' '
+ printf '%s\n' 'X_LOADTEMPLATEFILE /var/lib/dpkg/info/grub.templates grub'
+ IFS='
'
+ read -r _db_internal_line
+ RET='20 Unsupported command "update-initramfs:" (full line was "update-initramfs: Generating /boot/initrd.img-2.6.29-1-multimedia-amd64") received from confmodule.'
+ case ${_db_internal_line%%[ ]*} in
+ return 20
Any ideas? I'd rather not reinstall if I can fix this.
--
Michael Pacey

kernel-img.conf
Hi Michael, Dave submitted
Worked around?
Woah!