Here the complete apt-get install log: $ sudo apt-get install linux-image-2.6.28-15-generic [sudo] password for efa: Lettura della lista dei pacchetti in corso... Fatto Generazione dell'albero delle dipendenze in corso Lettura informazioni sullo stato... Fatto Pacchetti suggeriti: fdutils linux-doc-2.6.28 linux-source-2.6.28 I seguenti pacchetti NUOVI (NEW) saranno installati: linux-image-2.6.28-15-generic 0 aggiornati, 1 installati, 0 da rimuovere e 0 non aggiornati. È necessario prendere 24,6MB di archivi. Dopo quest'operazione, verranno occupati 95,8MB di spazio su disco. Get:1 http://it.archive.ubuntu.com jaunty-updates/main linux-image-2.6.28-15-generic 2.6.28-15.49 [24,6MB] Scaricato 24,6MB in 29s (822kB/s) Selezionato il pacchetto linux-image-2.6.28-15-generic, che non lo era. (Lettura del database ... 168658 file e directory attualmente installati.) Spacchetto linux-image-2.6.28-15-generic (da .../linux-image-2.6.28-15-generic_2.6.28-15.49_i386.deb) ... Done. Configuro linux-image-2.6.28-15-generic (2.6.28-15.49) ... Running depmod. yaird error: bad device link in /sys/block/sda (fatal) Failed to create initrd image. dpkg: errore processando linux-image-2.6.28-15-generic (--configure): il sottoprocesso post-installation script ha restituito un codice di errore 2 Sono occorsi degli errori processando: linux-image-2.6.28-15-generic E: Sub-process /usr/bin/dpkg returned an error code (1)
$ file /sys/block/sda /sys/block/sda: symbolic link to `../devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' $ ls -l /sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda totale 0 lrwxrwxrwx 1 root root 0 2009-08-25 23:58 bdi -> ../../../../../../../virtual/bdi/8:0 -r--r--r-- 1 root root 4096 2009-08-25 23:58 capability -r--r--r-- 1 root root 4096 2009-08-25 23:53 dev lrwxrwxrwx 1 root root 0 2009-08-25 23:53 device -> ../../../0:0:0:0 -r--r--r-- 1 root root 4096 2009-08-25 23:58 ext_range drwxr-xr-x 2 root root 0 2009-08-25 23:58 holders drwxr-xr-x 2 root root 0 2009-08-25 23:58 power drwxr-xr-x 3 root root 0 2009-08-25 23:58 queue -r--r--r-- 1 root root 4096 2009-08-25 23:58 range -r--r--r-- 1 root root 4096 2009-08-25 23:58 removable -r--r--r-- 1 root root 4096 2009-08-25 23:58 ro drwxr-xr-x 4 root root 0 2009-08-25 23:58 sda1 drwxr-xr-x 4 root root 0 2009-08-25 23:58 sda2 drwxr-xr-x 4 root root 0 2009-08-25 23:58 sda5 drwxr-xr-x 4 root root 0 2009-08-25 23:58 sda6 -r--r--r-- 1 root root 4096 2009-08-25 23:58 size drwxr-xr-x 2 root root 0 2009-08-25 23:58 slaves -r--r--r-- 1 root root 4096 2009-08-25 23:58 stat lrwxrwxrwx 1 root root 0 2009-08-25 23:58 subsystem -> ../../../../../../../../class/block -rw-r--r-- 1 root root 4096 2009-08-25 23:58 uevent What is the "bad device link in /sys/block/sda"? -- 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 [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
