After some troubles (new kernel 2.6.3x won't install, initrd files are not 
generated, grub menu aren't updated, old kernel 2.6.28 doesn't work with new 
packages from new distribution) I finally ended the installation of Ubuntu 
10.04 LTS.
I had to boot the 2.6.28 in recover mode, manually update the grub menu, 
manually create the initrd files with:

/boot# update-initramfs -u -k all
update-initramfs: Generating /boot/initrd.img-2.6.32-22-generic
update-initramfs: Generating /boot/initrd.img-2.6.31-21-generic
update-initramfs: Generating /boot/initrd.img-2.6.28-18-generic
Cannot find /lib/modules/2.6.28-18-generic
update-initramfs: failed for /boot/initrd.img-2.6.28-18-generic
update-initramfs: Generating /boot/initrd.img-2.6.28-17-generic
Cannot find /lib/modules/2.6.28-17-generic
update-initramfs: failed for /boot/initrd.img-2.6.28-17-generic
update-initramfs: Generating /boot/initrd.img-2.6.28-15-generic
Cannot find /lib/modules/2.6.28-15-generic
update-initramfs: failed for /boot/initrd.img-2.6.28-15-generic
update-initramfs: Generating /boot/initrd.img-2.6.28-14-generic
update-initramfs: Generating /boot/initrd.img-2.6.27-14-generic

This create the initrd files for new kernel:
/boot# dir init*
7788 -rw-r--r-- 1 root root 7960215 2010-05-23 14:47 
initrd.img-2.6.32-22-generic
7248 -rw-r--r-- 1 root root 7405934 2010-05-23 14:47 
initrd.img-2.6.31-21-generic
6880 -rw-r--r-- 1 root root 7029968 2010-05-23 14:48 
initrd.img-2.6.28-14-generic
7592 -rw-r--r-- 1 root root 7758192 2010-05-23 14:48 
initrd.img-2.6.27-14-generic

and the system correctly boot the new kernel and everything work.

I tried also to install the mainline kernel:
linux-image-2.6.32-02063211-generic_2.6.32-02063211_i386.deb
the installation end with same error.


Now, everytime I run a .deb install, it say I had 4 packages left to install, 
try to do so, destroy the initrd files for new kernel 2.6.3x, and end with an 
error.
This leave a system without initrd files for kernel 2.6.3x, and I had to 
manually recreate before shut down the system.

/boot# apt-get install -f
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
4 non completamente installati o rimossi.
Dopo quest'operazione, verranno occupati 0B di spazio su disco.

Configurazione di linux-image-2.6.31-21-generic (2.6.31-21.59)...
Running depmod.
yaird error: bad value in /boot/config-2.6.32-22-generic: 
CONFIG_VERSION_SIGNATURE="Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2" (fatal)
Failed to create initrd image.
dpkg: errore nell'elaborare linux-image-2.6.31-21-generic (--configure):
 il sottoprocesso vecchio script di post-installation ha restituito lo stato di 
errore 2

Configurazione di linux-image-2.6.32-22-generic (2.6.32-22.33)...
Running depmod.
yaird error: bad value in /boot/config-2.6.32-22-generic: 
CONFIG_VERSION_SIGNATURE="Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2" (fatal)
Failed to create initrd image.
dpkg: errore nell'elaborare linux-image-2.6.32-22-generic (--configure):
 il sottoprocesso vecchio script di post-installation ha restituito lo stato di 
errore 2

dpkg: problemi con le dipendenze impediscono la configurazione di 
linux-image-generic:
 linux-image-generic dipende da linux-image-2.6.32-22-generic; comunque:
  Il pacchetto linux-image-2.6.32-22-generic non è ancora configurato.
dpkg: errore nell'elaborare linux-image-generic (--configure):
 problemi con le dipendenze - lasciato non configurato
Non è stata scritta alcuna segnalazione apport poiché il messaggio di errore 
indica che è un errore da un fallimento precedente.
                                   dpkg: problemi con le dipendenze impediscono 
la configurazione di linux-generic:
 linux-generic dipende da linux-image-generic (= 2.6.32.22.23); comunque:
  Il pacchetto linux-image-generic non è ancora configurato.
dpkg: errore nell'elaborare linux-generic (--configure):
 problemi con le dipendenze - lasciato non configurato
Non è stata scritta alcuna segnalazione apport poiché è stato già raggiunto il 
valore MaxReport
  Si sono verificati degli errori nell'elaborazione:
 linux-image-2.6.31-21-generic
 linux-image-2.6.32-22-generic
 linux-image-generic
 linux-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)


The strange thing to me is that trying to install:
'linux-image-2.6.31-21-generic (2.6.31-21.59)'
report a problem with config file of '2.6.32-22-generic':
'yaird error: bad value in /boot/config-2.6.32-22-generic: 
CONFIG_VERSION_SIGNATURE="Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2" 
(fatal)'
and follow the same error installing the newer kernel:
'linux-image-2.6.32-22-generic (2.6.32-22.33)'

-- 
package linux-image-2.6.28-15-generic 2.6.28-15.49 failed to install/upgrade: 
il sottoprocesso post-installation script ha restituito un codice di errore 2
https://bugs.launchpad.net/bugs/418867
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to