Failed to update on 1st boot Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
ysuolmai
Posts: 9
Joined: Fri Sep 29, 2017 5:07 am

Failed to update on 1st boot

Post by ysuolmai »

Installed on a Nanopi Neo, but failed to update on 1st boot. Error msg as below. I have tried changing several SD cards, so it should not be data corruption issue. anyone can help?

Code: Select all

Preparing to unpack .../09-linux-image-current-sunxi_21.08.2_armhf.deb ...
/etc/kernel/preinst.d/dietpi-initramfs_cleanup: 23: /etc/kernel/preinst.d/dietpi-initramfs_cleanup: Syntax error: "if" unexpected (expecting "do")
run-parts: /etc/kernel/preinst.d/dietpi-initramfs_cleanup exited with return code 2
dpkg: error processing archive /tmp/apt-dpkg-install-69jb65/09-linux-image-current-sunxi_21.08.2_armhf.deb (--unpack):
 new linux-image-current-sunxi package pre-installation script subprocess returned error exit status 1
Preparing to unpack .../10-linux-u-boot-nanopineo-current_21.08.1_armhf.deb ...
Unpacking linux-u-boot-nanopineo-current (21.08.1) over (21.05.1) ...
Preparing to unpack .../11-openssl_1.1.1d-0+deb10u7_armhf.deb ...
Unpacking openssl (1.1.1d-0+deb10u7) over (1.1.1d-0+deb10u6) ...
Preparing to unpack .../12-psmisc_23.2-1+deb10u1_armhf.deb ...
Unpacking psmisc (23.2-1+deb10u1) over (23.2-1) ...
Errors were encountered while processing:
 /tmp/apt-dpkg-install-69jb65/09-linux-image-current-sunxi_21.08.2_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
User avatar
Joulinar
Posts: 6441
Joined: Sat Nov 16, 2019 12:49 am

Re: Failed to update on 1st boot

Post by Joulinar »

Hi, is it you posting as well on GitHub? Pls try to stick to a single platform. https://github.com/MichaIng/DietPi/issues/4868
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
ysuolmai
Posts: 9
Joined: Fri Sep 29, 2017 5:07 am

Re: Failed to update on 1st boot

Post by ysuolmai »

Joulinar wrote: Mon Oct 18, 2021 11:53 am Hi, is it you posting as well on GitHub? Pls try to stick to a single platform. https://github.com/MichaIng/DietPi/issues/4868
Nope i don use github. But this should solve the issue.
Thank you so much!
User avatar
Joulinar
Posts: 6441
Joined: Sat Nov 16, 2019 12:49 am

Re: Failed to update on 1st boot

Post by Joulinar »

A new image using Debian Bullseye has been uploaded. Would be good if you could try it out.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
ysuolmai
Posts: 9
Joined: Fri Sep 29, 2017 5:07 am

Re: Failed to update on 1st boot

Post by ysuolmai »

Joulinar wrote: Mon Oct 18, 2021 4:54 pm A new image using Debian Bullseye has been uploaded. Would be good if you could try it out.
The new image doesnt seem to be booting….i will switch back to armbian first….
User avatar
Joulinar
Posts: 6441
Joined: Sat Nov 16, 2019 12:49 am

Re: Failed to update on 1st boot

Post by Joulinar »

According developer there was an issue on the new image with failing network at first boot. He upload a new image again. Maybe you can check again. It would be helpful to know if it is booting.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
ysuolmai
Posts: 9
Joined: Fri Sep 29, 2017 5:07 am

Re: Failed to update on 1st boot

Post by ysuolmai »

Joulinar wrote: Mon Oct 18, 2021 9:42 pm According developer there was an issue on the new image with failing network at first boot. He upload a new image again. Maybe you can check again. It would be helpful to know if it is booting.
finally it is working! Thank you!
Post Reply