elatllat
Posts: 1337
Joined: Sat Dec 17, 2011 5:05 pm

upgrade to unbootable

Sun Feb 08, 2015 8:05 pm

Maybe raspberrypi-bootloader should be in dist-upgrade, not safe-upgrade.

Code: Select all

nice apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  krb5-locales krb5-multidev libgssapi-krb5-2 libgssrpc4 libk5crypto3 libkadm5clnt-mit8 libkadm5srv-mit8 libkdb5-6 libkrb5-3 libkrb5-dev libkrb5support0 libraspberrypi-bin
  libraspberrypi-dev libraspberrypi-doc libraspberrypi0 ntp ntpdate raspberrypi-bootloader raspi-config unzip
20 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 77.7 MB of archives.
After this operation, 55.4 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://archive.raspberrypi.org/debian/ wheezy/main libraspberrypi-dev armhf 1.20150130-1 [770 kB]
Get:2 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libkrb5-dev armhf 1.10.1+dfsg-5+deb7u3 [40.5 kB]
Get:3 http://mirrordirector.raspbian.org/raspbian/ wheezy/main krb5-multidev armhf 1.10.1+dfsg-5+deb7u3 [155 kB]
Get:4 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libk5crypto3 armhf 1.10.1+dfsg-5+deb7u3 [113 kB]     
Get:5 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libgssapi-krb5-2 armhf 1.10.1+dfsg-5+deb7u3 [132 kB] 
Get:6 http://archive.raspberrypi.org/debian/ wheezy/main libraspberrypi-doc armhf 1.20150130-1 [31.5 MB]            
Get:7 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libkrb5-3 armhf 1.10.1+dfsg-5+deb7u3 [342 kB]
Get:8 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libkrb5support0 armhf 1.10.1+dfsg-5+deb7u3 [46.6 kB]
Get:9 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libgssrpc4 armhf 1.10.1+dfsg-5+deb7u3 [80.0 kB]
Get:10 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libkdb5-6 armhf 1.10.1+dfsg-5+deb7u3 [61.2 kB]
Get:11 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libkadm5srv-mit8 armhf 1.10.1+dfsg-5+deb7u3 [76.8 kB]                                                                       
Get:12 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libkadm5clnt-mit8 armhf 1.10.1+dfsg-5+deb7u3 [62.9 kB]                                                                      
Get:13 http://mirrordirector.raspbian.org/raspbian/ wheezy/main ntp armhf 1:4.2.6.p5+dfsg-2+deb7u2 [524 kB]                                                                                 
Get:14 http://mirrordirector.raspbian.org/raspbian/ wheezy/main ntpdate armhf 1:4.2.6.p5+dfsg-2+deb7u2 [79.2 kB]                                                                            
Get:15 http://mirrordirector.raspbian.org/raspbian/ wheezy/main krb5-locales all 1.10.1+dfsg-5+deb7u3 [1,503 kB]                                                                            
Get:16 http://mirrordirector.raspbian.org/raspbian/ wheezy/main unzip armhf 6.0-8+deb7u2 [194 kB]                                                                                           
Get:17 http://archive.raspberrypi.org/debian/ wheezy/main libraspberrypi-bin armhf 1.20150130-1 [352 kB]                                                                                    
Get:18 http://archive.raspberrypi.org/debian/ wheezy/main libraspberrypi0 armhf 1.20150130-1 [1,080 kB]                                                                                     
Get:19 http://archive.raspberrypi.org/debian/ wheezy/main raspberrypi-bootloader armhf 1.20150130-1 [40.5 MB]                                                                               
Get:20 http://archive.raspberrypi.org/debian/ wheezy/main raspi-config all 20150131-1 [12.9 kB]                                                                                             
Fetched 77.7 MB in 2min 36s (497 kB/s)                                                                                                                                                      
(Reading database ... 90836 files and directories currently installed.)
Preparing to replace libkrb5-dev 1.10.1+dfsg-5+deb7u2 (using .../libkrb5-dev_1.10.1+dfsg-5+deb7u3_armhf.deb) ...
Unpacking replacement libkrb5-dev ...
Preparing to replace krb5-multidev 1.10.1+dfsg-5+deb7u2 (using .../krb5-multidev_1.10.1+dfsg-5+deb7u3_armhf.deb) ...
Unpacking replacement krb5-multidev ...
Preparing to replace libk5crypto3:armhf 1.10.1+dfsg-5+deb7u2 (using .../libk5crypto3_1.10.1+dfsg-5+deb7u3_armhf.deb) ...
Unpacking replacement libk5crypto3:armhf ...
Preparing to replace libgssapi-krb5-2:armhf 1.10.1+dfsg-5+deb7u2 (using .../libgssapi-krb5-2_1.10.1+dfsg-5+deb7u3_armhf.deb) ...
Unpacking replacement libgssapi-krb5-2:armhf ...
Preparing to replace libkrb5-3:armhf 1.10.1+dfsg-5+deb7u2 (using .../libkrb5-3_1.10.1+dfsg-5+deb7u3_armhf.deb) ...
Unpacking replacement libkrb5-3:armhf ...
Preparing to replace libkrb5support0:armhf 1.10.1+dfsg-5+deb7u2 (using .../libkrb5support0_1.10.1+dfsg-5+deb7u3_armhf.deb) ...
Unpacking replacement libkrb5support0:armhf ...
Preparing to replace libgssrpc4:armhf 1.10.1+dfsg-5+deb7u2 (using .../libgssrpc4_1.10.1+dfsg-5+deb7u3_armhf.deb) ...
Unpacking replacement libgssrpc4:armhf ...
Preparing to replace libkdb5-6:armhf 1.10.1+dfsg-5+deb7u2 (using .../libkdb5-6_1.10.1+dfsg-5+deb7u3_armhf.deb) ...
Unpacking replacement libkdb5-6:armhf ...
Preparing to replace libkadm5srv-mit8:armhf 1.10.1+dfsg-5+deb7u2 (using .../libkadm5srv-mit8_1.10.1+dfsg-5+deb7u3_armhf.deb) ...
Unpacking replacement libkadm5srv-mit8:armhf ...
Preparing to replace libkadm5clnt-mit8:armhf 1.10.1+dfsg-5+deb7u2 (using .../libkadm5clnt-mit8_1.10.1+dfsg-5+deb7u3_armhf.deb) ...
Unpacking replacement libkadm5clnt-mit8:armhf ...
Preparing to replace ntp 1:4.2.6.p5+dfsg-2+deb7u1 (using .../ntp_1%3a4.2.6.p5+dfsg-2+deb7u2_armhf.deb) ...
[ ok ] Stopping NTP server: ntpd.
Unpacking replacement ntp ...
Preparing to replace ntpdate 1:4.2.6.p5+dfsg-2+deb7u1 (using .../ntpdate_1%3a4.2.6.p5+dfsg-2+deb7u2_armhf.deb) ...
Unpacking replacement ntpdate ...
Preparing to replace krb5-locales 1.10.1+dfsg-5+deb7u2 (using .../krb5-locales_1.10.1+dfsg-5+deb7u3_all.deb) ...
Unpacking replacement krb5-locales ...
Preparing to replace unzip 6.0-8+deb7u1 (using .../unzip_6.0-8+deb7u2_armhf.deb) ...
Unpacking replacement unzip ...
Preparing to replace libraspberrypi-dev 1.20141219-1 (using .../libraspberrypi-dev_1.20150130-1_armhf.deb) ...
Unpacking replacement libraspberrypi-dev ...
Preparing to replace libraspberrypi-doc 1.20141219-1 (using .../libraspberrypi-doc_1.20150130-1_armhf.deb) ...
Unpacking replacement libraspberrypi-doc ...
Preparing to replace libraspberrypi-bin 1.20141219-1 (using .../libraspberrypi-bin_1.20150130-1_armhf.deb) ...
Unpacking replacement libraspberrypi-bin ...
Preparing to replace libraspberrypi0 1.20141219-1 (using .../libraspberrypi0_1.20150130-1_armhf.deb) ...
Unpacking replacement libraspberrypi0 ...
Preparing to replace raspberrypi-bootloader 1.20141219-1 (using .../raspberrypi-bootloader_1.20150130-1_armhf.deb) ...
Adding 'diversion of /boot/COPYING.linux to /usr/share/rpikernelhack/COPYING.linux by rpikernelhack'
Adding 'diversion of /boot/LICENCE.broadcom to /usr/share/rpikernelhack/LICENCE.broadcom by rpikernelhack'
Adding 'diversion of /boot/bcm2708-rpi-b-plus.dtb to /usr/share/rpikernelhack/bcm2708-rpi-b-plus.dtb by rpikernelhack'
Adding 'diversion of /boot/bcm2708-rpi-b.dtb to /usr/share/rpikernelhack/bcm2708-rpi-b.dtb by rpikernelhack'
Adding 'diversion of /boot/bcm2709-rpi-2-b.dtb to /usr/share/rpikernelhack/bcm2709-rpi-2-b.dtb by rpikernelhack'
Adding 'diversion of /boot/bootcode.bin to /usr/share/rpikernelhack/bootcode.bin by rpikernelhack'
Adding 'diversion of /boot/fixup.dat to /usr/share/rpikernelhack/fixup.dat by rpikernelhack'
Adding 'diversion of /boot/fixup_cd.dat to /usr/share/rpikernelhack/fixup_cd.dat by rpikernelhack'
Adding 'diversion of /boot/fixup_x.dat to /usr/share/rpikernelhack/fixup_x.dat by rpikernelhack'
Adding 'diversion of /boot/kernel.img to /usr/share/rpikernelhack/kernel.img by rpikernelhack'
Adding 'diversion of /boot/kernel7.img to /usr/share/rpikernelhack/kernel7.img by rpikernelhack'
Adding 'diversion of /boot/start.elf to /usr/share/rpikernelhack/start.elf by rpikernelhack'
Adding 'diversion of /boot/start_cd.elf to /usr/share/rpikernelhack/start_cd.elf by rpikernelhack'
Adding 'diversion of /boot/start_x.elf to /usr/share/rpikernelhack/start_x.elf by rpikernelhack'
Adding 'diversion of /boot/overlays/README to /usr/share/rpikernelhack/overlays/README by rpikernelhack'
Adding 'diversion of /boot/overlays/hifiberry-amp-overlay.dtb to /usr/share/rpikernelhack/overlays/hifiberry-amp-overlay.dtb by rpikernelhack'
Adding 'diversion of /boot/overlays/hifiberry-dac-overlay.dtb to /usr/share/rpikernelhack/overlays/hifiberry-dac-overlay.dtb by rpikernelhack'
Adding 'diversion of /boot/overlays/hifiberry-dacplus-overlay.dtb to /usr/share/rpikernelhack/overlays/hifiberry-dacplus-overlay.dtb by rpikernelhack'
Adding 'diversion of /boot/overlays/hifiberry-digi-overlay.dtb to /usr/share/rpikernelhack/overlays/hifiberry-digi-overlay.dtb by rpikernelhack'
Adding 'diversion of /boot/overlays/iqaudio-dac-overlay.dtb to /usr/share/rpikernelhack/overlays/iqaudio-dac-overlay.dtb by rpikernelhack'
Adding 'diversion of /boot/overlays/iqaudio-dacplus-overlay.dtb to /usr/share/rpikernelhack/overlays/iqaudio-dacplus-overlay.dtb by rpikernelhack'
Adding 'diversion of /boot/overlays/lirc-rpi-overlay.dtb to /usr/share/rpikernelhack/overlays/lirc-rpi-overlay.dtb by rpikernelhack'
Adding 'diversion of /boot/overlays/pcf8523-rtc-overlay.dtb to /usr/share/rpikernelhack/overlays/pcf8523-rtc-overlay.dtb by rpikernelhack'
Adding 'diversion of /boot/overlays/pps-gpio-overlay.dtb to /usr/share/rpikernelhack/overlays/pps-gpio-overlay.dtb by rpikernelhack'
Adding 'diversion of /boot/overlays/w1-gpio-overlay.dtb to /usr/share/rpikernelhack/overlays/w1-gpio-overlay.dtb by rpikernelhack'
Adding 'diversion of /boot/overlays/w1-gpio-pullup-overlay.dtb to /usr/share/rpikernelhack/overlays/w1-gpio-pullup-overlay.dtb by rpikernelhack'
Unpacking replacement raspberrypi-bootloader ...
Preparing to replace raspi-config 20140902-1 (using .../raspi-config_20150131-1_all.deb) ...
Unpacking replacement raspi-config ...
Processing triggers for man-db ...
Processing triggers for mime-support ...
Setting up libkrb5support0:armhf (1.10.1+dfsg-5+deb7u3) ...
Setting up libk5crypto3:armhf (1.10.1+dfsg-5+deb7u3) ...
Setting up libkrb5-3:armhf (1.10.1+dfsg-5+deb7u3) ...
Setting up libgssapi-krb5-2:armhf (1.10.1+dfsg-5+deb7u3) ...
Setting up libgssrpc4:armhf (1.10.1+dfsg-5+deb7u3) ...
Setting up libkdb5-6:armhf (1.10.1+dfsg-5+deb7u3) ...
Setting up libkadm5srv-mit8:armhf (1.10.1+dfsg-5+deb7u3) ...
Setting up libkadm5clnt-mit8:armhf (1.10.1+dfsg-5+deb7u3) ...
Setting up krb5-multidev (1.10.1+dfsg-5+deb7u3) ...
Setting up libkrb5-dev (1.10.1+dfsg-5+deb7u3) ...
Setting up ntp (1:4.2.6.p5+dfsg-2+deb7u2) ...
[ ok ] Starting NTP server: ntpd.
Setting up ntpdate (1:4.2.6.p5+dfsg-2+deb7u2) ...
Setting up krb5-locales (1.10.1+dfsg-5+deb7u3) ...
Setting up unzip (6.0-8+deb7u2) ...
Setting up raspberrypi-bootloader (1.20150130-1) ...
Removing 'diversion of /boot/COPYING.linux to /usr/share/rpikernelhack/COPYING.linux by rpikernelhack'
Removing 'diversion of /boot/LICENCE.broadcom to /usr/share/rpikernelhack/LICENCE.broadcom by rpikernelhack'
Removing 'diversion of /boot/bcm2708-rpi-b-plus.dtb to /usr/share/rpikernelhack/bcm2708-rpi-b-plus.dtb by rpikernelhack'
Removing 'diversion of /boot/bcm2708-rpi-b.dtb to /usr/share/rpikernelhack/bcm2708-rpi-b.dtb by rpikernelhack'
Removing 'diversion of /boot/bcm2709-rpi-2-b.dtb to /usr/share/rpikernelhack/bcm2709-rpi-2-b.dtb by rpikernelhack'
Removing 'diversion of /boot/bootcode.bin to /usr/share/rpikernelhack/bootcode.bin by rpikernelhack'
Removing 'diversion of /boot/fixup.dat to /usr/share/rpikernelhack/fixup.dat by rpikernelhack'
Removing 'diversion of /boot/fixup_cd.dat to /usr/share/rpikernelhack/fixup_cd.dat by rpikernelhack'
Removing 'diversion of /boot/fixup_x.dat to /usr/share/rpikernelhack/fixup_x.dat by rpikernelhack'
Removing 'diversion of /boot/kernel.img to /usr/share/rpikernelhack/kernel.img by rpikernelhack'
Removing 'diversion of /boot/kernel7.img to /usr/share/rpikernelhack/kernel7.img by rpikernelhack'
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault
dpkg: unrecoverable fatal error, aborting:
 read error in `/var/lib/dpkg/diversions': Input/output error
Bus error
had to cut the power as nothing (shutdown) is not assessable with bus error.

Code: Select all

dpkg --configure -a
Setting up raspberrypi-bootloader (1.20150130-1) ...
No diversion 'diversion of /boot/COPYING.linux by rpikernelhack', none removed.
No diversion 'diversion of /boot/LICENCE.broadcom by rpikernelhack', none removed.
No diversion 'diversion of /boot/bcm2708-rpi-b-plus.dtb by rpikernelhack', none removed.
No diversion 'diversion of /boot/bcm2708-rpi-b.dtb by rpikernelhack', none removed.
No diversion 'diversion of /boot/bcm2709-rpi-2-b.dtb by rpikernelhack', none removed.
No diversion 'diversion of /boot/bootcode.bin by rpikernelhack', none removed.
No diversion 'diversion of /boot/fixup.dat by rpikernelhack', none removed.
No diversion 'diversion of /boot/fixup_cd.dat by rpikernelhack', none removed.
No diversion 'diversion of /boot/fixup_x.dat by rpikernelhack', none removed.
No diversion 'diversion of /boot/kernel.img by rpikernelhack', none removed.
No diversion 'diversion of /boot/kernel7.img by rpikernelhack', none removed.
Removing 'diversion of /boot/start.elf to /usr/share/rpikernelhack/start.elf by rpikernelhack'
Removing 'diversion of /boot/start_cd.elf to /usr/share/rpikernelhack/start_cd.elf by rpikernelhack'
Removing 'diversion of /boot/start_x.elf to /usr/share/rpikernelhack/start_x.elf by rpikernelhack'
Removing 'diversion of /boot/overlays/README to /usr/share/rpikernelhack/overlays/README by rpikernelhack'
Removing 'diversion of /boot/overlays/hifiberry-amp-overlay.dtb to /usr/share/rpikernelhack/overlays/hifiberry-amp-overlay.dtb by rpikernelhack'
Removing 'diversion of /boot/overlays/hifiberry-dac-overlay.dtb to /usr/share/rpikernelhack/overlays/hifiberry-dac-overlay.dtb by rpikernelhack'
Removing 'diversion of /boot/overlays/hifiberry-dacplus-overlay.dtb to /usr/share/rpikernelhack/overlays/hifiberry-dacplus-overlay.dtb by rpikernelhack'
Removing 'diversion of /boot/overlays/hifiberry-digi-overlay.dtb to /usr/share/rpikernelhack/overlays/hifiberry-digi-overlay.dtb by rpikernelhack'
Removing 'diversion of /boot/overlays/iqaudio-dac-overlay.dtb to /usr/share/rpikernelhack/overlays/iqaudio-dac-overlay.dtb by rpikernelhack'
Removing 'diversion of /boot/overlays/iqaudio-dacplus-overlay.dtb to /usr/share/rpikernelhack/overlays/iqaudio-dacplus-overlay.dtb by rpikernelhack'
Removing 'diversion of /boot/overlays/lirc-rpi-overlay.dtb to /usr/share/rpikernelhack/overlays/lirc-rpi-overlay.dtb by rpikernelhack'
Removing 'diversion of /boot/overlays/pcf8523-rtc-overlay.dtb to /usr/share/rpikernelhack/overlays/pcf8523-rtc-overlay.dtb by rpikernelhack'
Removing 'diversion of /boot/overlays/pps-gpio-overlay.dtb to /usr/share/rpikernelhack/overlays/pps-gpio-overlay.dtb by rpikernelhack'
Removing 'diversion of /boot/overlays/w1-gpio-overlay.dtb to /usr/share/rpikernelhack/overlays/w1-gpio-overlay.dtb by rpikernelhack'
Removing 'diversion of /boot/overlays/w1-gpio-pullup-overlay.dtb to /usr/share/rpikernelhack/overlays/w1-gpio-pullup-overlay.dtb by rpikernelhack'
Setting up libraspberrypi0 (1.20150130-1) ...
Setting up libraspberrypi-doc (1.20150130-1) ...
Setting up libraspberrypi-dev (1.20150130-1) ...
Setting up raspi-config (20150131-1) ...
update-rc.d: warning: default start runlevel arguments (2 3 4 5) do not match raspi-config Default-Start values (S)
update-rc.d: warning: default stop runlevel arguments (0 1 6) do not match raspi-config Default-Stop values (none)
[....] Checking if shift key is held down:Error opening '/dev/input/event*': No such file or directory
[ ok Switching to ondemand scaling governor.
Setting up libraspberrypi-bin (1.20150130-1) ...
shutdown -r now
won't boot, red light, backed up dead img, reinstalled.
SBC with 32GB RAM: https://hardkernel.com

FAQ : https://raspberrypi.stackexchange.com

Unanswered: https://www.raspberrypi.org/forums/search.php?search_id=unanswered

ela1979
Posts: 2
Joined: Fri Feb 13, 2015 9:18 pm

Re: upgrade to unbootable

Fri Feb 13, 2015 9:35 pm

I've the same issue... but no solution... I don't understand why the raspberry "freeze" :(

kimSJ
Posts: 5
Joined: Tue Aug 30, 2016 8:06 pm

Re: upgrade to unbootable

Tue Aug 30, 2016 8:42 pm

I think this might be to do with trying to upgrade before expanding the file system. That fixed a similar problem for me, at least, when updating a newly created card.

Return to “General discussion”