Il 06/01/2018 14:50, Davide Prina ha scritto: > On 06/01/2018 11:24, Portobello wrote: >> Il 06/01/2018 10:51, Portobello ha scritto: > >>> uname -a >>> Linux amd64 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23) >>> x86_64 GNU/Linux > >> Credo di avere un problema con Grub. Perché se faccio update-grub da >> terminale, lui trova l'ultima immagine e la penultima. >> update-grub >> Generating grub configuration file ... >> Found background image: /usr/share/images/desktop-base/desktop-grub.png >> Found linux image: /boot/vmlinuz-4.9.0-5-amd64 >> Found initrd image: /boot/initrd.img-4.9.0-5-amd64 >> Found linux image: /boot/vmlinuz-4.9.0-4-amd64 >> Found initrd image: /boot/initrd.img-4.9.0-4-amd64 > > secondo me è successo qualcosa durante gli upgrade che ha generato un > errore ed ha interrotto la configurazione. > > prova a vedere nei log > in > /var/log/apt/history.log
Start-Date: 2018-01-05 10:41:35 Commandline: apt-get --fix-broken --purge --show-upgraded dist-upgrade Install: linux-headers-4.9.0-5-amd64:amd64 (4.9.65-3+deb9u2, automatic), linux-image-4.9.0-5-amd64:amd64 (4.9.65-3+deb9u2, automatic), linux-headers-4.9.0-5-common:amd64 (4.9.65-3+deb9u2, automatic) Upgrade: linux-libc-dev:amd64 (4.9.65-3+deb9u1, 4.9.65-3+deb9u2), linux-compiler-gcc-6-x86:amd64 (4.9.65-3+deb9u1, 4.9.65-3+deb9u2), linux-image-amd64:amd64 (4.9+80+deb9u2, 4.9+80+deb9u3), linux-headers-amd64:amd64 (4.9+80+deb9u2, 4.9+80+deb9u3), linux-kbuild-4.9:amd64 (4.9.65-3+deb9u1, 4.9.65-3+deb9u2) End-Date: 2018-01-05 10:44:10 > puoi vedere quando hai fatto gli aggiornamenti (se non trovi, guarda > anche nei log ruotati /var/log/apt/history.log.*) Qui non c'è questo. Ci sono soltanto tre files. ls eipp.log.xz history.log term.log > > e poi qui vai a vedere in quel giorno cosa è successo > /var/log/apt/term.log Log started: 2018-01-05 10:41:35 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 214966 files and directories currently installed.) Preparing to unpack .../0-linux-compiler-gcc-6-x86_4.9.65-3+deb9u2_amd64.deb ... Unpacking linux-compiler-gcc-6-x86 (4.9.65-3+deb9u2) over (4.9.65-3+deb9u1) ... Selecting previously unselected package linux-headers-4.9.0-5-common. Preparing to unpack .../1-linux-headers-4.9.0-5-common_4.9.65-3+deb9u2_all.deb ... Unpacking linux-headers-4.9.0-5-common (4.9.65-3+deb9u2) ... Preparing to unpack .../2-linux-kbuild-4.9_4.9.65-3+deb9u2_amd64.deb ... Unpacking linux-kbuild-4.9 (4.9.65-3+deb9u2) over (4.9.65-3+deb9u1) ... Selecting previously unselected package linux-headers-4.9.0-5-amd64. Preparing to unpack .../3-linux-headers-4.9.0-5-amd64_4.9.65-3+deb9u2_amd64.deb ... Unpacking linux-headers-4.9.0-5-amd64 (4.9.65-3+deb9u2) ... Preparing to unpack .../4-linux-headers-amd64_4.9+80+deb9u3_amd64.deb ... Unpacking linux-headers-amd64 (4.9+80+deb9u3) over (4.9+80+deb9u2) ... Selecting previously unselected package linux-image-4.9.0-5-amd64. Preparing to unpack .../5-linux-image-4.9.0-5-amd64_4.9.65-3+deb9u2_amd64.deb ... Unpacking linux-image-4.9.0-5-amd64 (4.9.65-3+deb9u2) ... Preparing to unpack .../6-linux-image-amd64_4.9+80+deb9u3_amd64.deb ... Unpacking linux-image-amd64 (4.9+80+deb9u3) over (4.9+80+deb9u2) ... Preparing to unpack .../7-linux-libc-dev_4.9.65-3+deb9u2_amd64.deb ... Unpacking linux-libc-dev:amd64 (4.9.65-3+deb9u2) over (4.9.65-3+deb9u1) ... Setting up linux-headers-4.9.0-5-common (4.9.65-3+deb9u2) ... Processing triggers for readahead-fedora (2:1.5.6-5.2) ... Setting up linux-libc-dev:amd64 (4.9.65-3+deb9u2) ... Setting up linux-compiler-gcc-6-x86 (4.9.65-3+deb9u2) ... Setting up linux-image-4.9.0-5-amd64 (4.9.65-3+deb9u2) ... I: /vmlinuz is now a symlink to boot/vmlinuz-4.9.0-5-amd64 I: /initrd.img is now a symlink to boot/initrd.img-4.9.0-5-amd64 /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-4.9.0-5-amd64 W: initramfs-tools configuration sets RESUME=UUID=6f1e6000-25d4-48ee-8b8e-5707d439adc6 W: but no matching swap device is available. live-boot: core filesystems devices utils memdisk udev wget blockdev dns. /etc/kernel/postinst.d/zz-update-grub: Generating grub configuration file ... Found background image: /usr/share/images/desktop-base/desktop-grub.png Found linux image: /boot/vmlinuz-4.9.0-5-amd64 Found initrd image: /boot/initrd.img-4.9.0-5-amd64 Found linux image: /boot/vmlinuz-4.9.0-4-amd64 Found initrd image: /boot/initrd.img-4.9.0-4-amd64 Found memtest86 image: /boot/memtest86.bin Found memtest86+ image: /boot/memtest86+.bin Found memtest86+ multiboot image: /boot/memtest86+_multiboot.bin done Setting up linux-image-amd64 (4.9+80+deb9u3) ... Setting up linux-kbuild-4.9 (4.9.65-3+deb9u2) ... Setting up linux-headers-4.9.0-5-amd64 (4.9.65-3+deb9u2) ... Setting up linux-headers-amd64 (4.9+80+deb9u3) ... Log ended: 2018-01-05 10:44:10 > o, se non c'è il giorno guarda nei log ruotati > > per risolvere di solito è sufficiente > # apt -f install Questo non dà nessun errore. apt -f install Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. > altrimenti con questo comando dovresti vedere un errore che ti indica il > motivo dell'errore > > Ciao > Davide > Ciao