Jump to content

linux-stretch-root-next-bananapi_5.37_armhf.deb Failed to update with SATA Disk


Flavio

Recommended Posts

can not update linux-stretch-root-next-bananapi_5.37_armhf.deb

this is the apt-get error:


The following packages will be upgraded:
  linux-stretch-root-next-bananapi
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 406 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://apt.armbian.com stretch/main armhf linux-stretch-root-next-bananapi armhf 5.37 [406 kB]
Fetched 406 kB in 0s (647 kB/s)                      
(Reading database ... 112114 files and directories currently installed.)
Preparing to unpack .../linux-stretch-root-next-bananapi_5.37_armhf.deb ...
Leaving 'diversion of /etc/mpv/mpv.conf to /etc/mpv/mpv-dist.conf by linux-stretch-root-next-bananapi'
Unpacking linux-stretch-root-next-bananapi (5.37) over (5.36) ...
Processing triggers for initramfs-tools (0.130) ...
/boot/initrd.img-4.13.16-sunxi does not exist. Cannot update.
Processing triggers for systemd (232-25+deb9u1) ...
Setting up linux-stretch-root-next-bananapi (5.37) ...
Processing triggers for initramfs-tools (0.130) ...
/boot/initrd.img-4.13.16-sunxi does not exist. Cannot update.

 

Armbian is installed on SATA disk.

 

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  433M     0  433M   0% /dev
tmpfs          tmpfs     100M  5.6M   95M   6% /run
/dev/sda1      ext4       15G  3.9G  9.9G  29% /
tmpfs          tmpfs     500M     0  500M   0% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     500M     0  500M   0% /sys/fs/cgroup
tmpfs          tmpfs     500M   20K  500M   1% /tmp
/dev/mmcblk0p1 ext4       15G  1.1G   14G   8% /boot
/dev/sda2      ext4      668G  396G  239G  63% /mnt/Dati
tmpfs          tmpfs     100M     0  100M   0% /run/user/1000

 

The nitrd.img-4.13.16-sunxi is on /boot/boot directory:

 

 

root@bananapi:/boot/boot#
total 19744
-rw-r--r-- 1 root root     202 Jan 12 20:32 armbianEnv.txt
-rw-r--r-- 1 root root     202 Dec 31 17:15 armbianEnv.txt.SD
-rw-r--r-- 1 root root     202 Dec 31 17:14 armbianEnv.txt.SDA
-rw-rw-r-- 1 root root    1624 Nov 24 22:05 armbian_first_run.txt.template
-rw-r--r-- 1 root root     319 Dec 31 17:33 armbian_How_To_Compile.txt
-rw-rw-r-- 1 root root  230454 Nov 24 22:05 boot.bmp
-rw-rw-r-- 1 root root    3636 Nov 24 22:02 boot.cmd
-rw-rw-r-- 1 root root    4882 Nov 24 22:05 boot-desktop.png
-rw-rw-r-- 1 root root    3708 Jan 12 20:33 boot.scr
-rw-r--r-- 1 root root    3708 Dec 31 17:15 boot.scr.SD
-rw-r--r-- 1 root root    3708 Dec 31 17:26 boot.scr.SDA
-rw-r--r-- 1 root root  156631 Nov 24 19:51 config-4.13.16-sunxi
lrwxrwxrwx 1 root root      17 Nov 24 22:04 dtb -> dtb-4.13.16-sunxi
drwxr-xr-x 3 root root   12288 Nov 24 22:04 dtb-4.13.16-sunxi
-rw-r--r-- 1 root root 4974574 Dec 31 17:11 initrd.img-4.13.16-sunxi
drwxrwxr-x 2 root root    4096 Nov 24 22:05 overlay-user
-rw-r--r-- 1 root root 3015924 Nov 24 19:51 System.map-4.13.16-sunxi
lrwxrwxrwx 1 root root      21 Dec 31 17:11 uInitrd -> uInitrd-4.13.16-sunxi
-rw-r--r-- 1 root root 4974638 Dec 31 17:11 uInitrd-4.13.16-sunxi
-rwxr-xr-x 1 root root 6790944 Nov 24 19:51 vmlinuz-4.13.16-sunxi
lrwxrwxrwx 1 root root      21 Nov 24 22:04 zImage -> vmlinuz-4.13.16-sunxi

Edited by Flavio
add information
Link to comment
Share on other sites

I made a test install on 5.35 (which is currently the latest on a download page), install on SATA. Apt update and the upgrade went fine. From our perspective, everything looks fine. Here are logs: http://ix.io/EHu

 

I see you made some modifications? In this case its hard to tell. What did you change?

Link to comment
Share on other sites

 

@Igor  I create a copy of armbianEnv.txt  with UUID of SD carts to have a copy to compile and boot from SD to backup or restore the SATA root partition.

I also create a backup of boot.scr  ( boot.scr.SD and boot.scr.SATA) no other change.

 

root@bananapi:/boot# diff armbianEnv.txt armbianEnv.txt.SD
6c6
< rootdev=UUID=93ddad32-4a3f-4ab2-bb68-939d23cd2ab9
---
> rootdev=UUID=f33f7df6-250e-499d-80fc-a8fd4441081e

 

Change The FSTAB now i have the following message:

 

root@bananapi:/boot# apt-get install --reinstall linux-stretch-root-next-bananapi
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/406 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 112127 files and directories currently installed.)
Preparing to unpack .../linux-stretch-root-next-bananapi_5.37_armhf.deb ...
Leaving 'diversion of /etc/mpv/mpv.conf to /etc/mpv/mpv-dist.conf by linux-stretch-root-next-bananapi'
Unpacking linux-stretch-root-next-bananapi (5.37) over (5.37) ...
Processing triggers for initramfs-tools (0.130) ...
update-initramfs: /boot/initrd.img-4.13.16-sunxi has been altered.
update-initramfs: Cannot update. Override with -t option.
Processing triggers for systemd (232-25+deb9u1) ...
Setting up linux-stretch-root-next-bananapi (5.37) ...
Processing triggers for initramfs-tools (0.130) ...
update-initramfs: /boot/initrd.img-4.13.16-sunxi has been altered.
update-initramfs: Cannot update. Override with -t option.

 

 

I'ts correct the message update-initramfs: Cannot update. Override with -t option ?

 

thanks

Flavio

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines