Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4856

Raspberry Pi OS • Re: USB Drive OS Fails to Boot after apt-get upgrade

$
0
0
It worked this time. And I realize I have the 32 bit lite OS and not the 64 bit. I was wondering why I was getting that warning.
I will try it again with another NVME SSD using the same type of hardware but using the 64-bit lite os.

I know I used full-upgrade before when it failed, but I am sure I did something wrong to cause it. I just cannot imagine what. I did have to intervene and change the cmdline.txt file which is something I had not had to do before, that I can remember anyway.

So thank you for pushing me to do sudo apt update and sudo apt full-upgrade. I had not even know about it until just before when it failed (a second time). I had always updated using sudo apt-get update && sudo apt-get upgrade, for years.

THANK YOU FOR THE HELP AND INFO!!!

Code:

sudo apt full-upgradeReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneCalculating upgrade... DoneThe following NEW packages will be installed:  linux-headers-6.6.62+rpt-common-rpi linux-headers-6.6.62+rpt-rpi-v6 linux-headers-6.6.62+rpt-rpi-v7 linux-headers-6.6.62+rpt-rpi-v7l  linux-image-6.6.62+rpt-rpi-v6 linux-image-6.6.62+rpt-rpi-v7 linux-image-6.6.62+rpt-rpi-v7l linux-image-6.6.62+rpt-rpi-v8:arm64  linux-kbuild-6.6.62+rptThe following packages will be upgraded:  initramfs-tools initramfs-tools-core libcamera-ipa libcamera0.3 linux-headers-rpi-v6 linux-headers-rpi-v7 linux-headers-rpi-v7l  linux-image-rpi-v6 linux-image-rpi-v7 linux-image-rpi-v7l linux-image-rpi-v8:arm64 linux-libc-dev raspberrypi-net-mods  raspberrypi-sys-mods raspi-config raspi-firmware rpi-eeprom rpicam-apps-lite18 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.Need to get 149 MB of archives.After this operation, 180 MB of additional disk space will be used.Do you want to continue? [Y/n] yGet:1 http://archive.raspberrypi.com/debian bookworm/main armhf raspi-firmware all 1:1.20241126-1 [12.8 MB]Get:2 http://archive.raspberrypi.com/debian bookworm/main armhf initramfs-tools all 0.142+rpt2+deb12u1 [17.1 kB]Get:3 http://archive.raspberrypi.com/debian bookworm/main armhf initramfs-tools-core all 0.142+rpt2+deb12u1 [53.1 kB]Get:4 http://archive.raspberrypi.com/debian bookworm/main armhf libcamera0.3 armhf 0.3.2+rpt20241119-1 [805 kB]Get:5 http://archive.raspberrypi.com/debian bookworm/main armhf libcamera-ipa armhf 0.3.2+rpt20241119-1 [1,058 kB]Get:6 http://archive.raspberrypi.com/debian bookworm/main armhf linux-headers-6.6.62+rpt-common-rpi all 1:6.6.62-1+rpt1 [8,236 kB]Get:7 http://archive.raspberrypi.com/debian bookworm/main armhf linux-image-6.6.62+rpt-rpi-v6 armhf 1:6.6.62-1+rpt1 [26.0 MB]Get:8 http://archive.raspberrypi.com/debian bookworm/main armhf linux-kbuild-6.6.62+rpt armhf 1:6.6.62-1+rpt1 [980 kB]Get:9 http://archive.raspberrypi.com/debian bookworm/main armhf linux-headers-6.6.62+rpt-rpi-v6 armhf 1:6.6.62-1+rpt1 [1,092 kB]Get:10 http://archive.raspberrypi.com/debian bookworm/main armhf linux-image-6.6.62+rpt-rpi-v7 armhf 1:6.6.62-1+rpt1 [26.7 MB]Get:11 http://archive.raspberrypi.com/debian bookworm/main armhf linux-headers-6.6.62+rpt-rpi-v7 armhf 1:6.6.62-1+rpt1 [1,098 kB]Get:12 http://archive.raspberrypi.com/debian bookworm/main armhf linux-image-6.6.62+rpt-rpi-v7l armhf 1:6.6.62-1+rpt1 [27.8 MB]Get:13 http://archive.raspberrypi.com/debian bookworm/main armhf linux-headers-6.6.62+rpt-rpi-v7l armhf 1:6.6.62-1+rpt1 [1,112 kB]Get:14 http://archive.raspberrypi.com/debian bookworm/main armhf linux-headers-rpi-v6 armhf 1:6.6.62-1+rpt1 [1,156 B]Get:15 http://archive.raspberrypi.com/debian bookworm/main armhf linux-headers-rpi-v7 armhf 1:6.6.62-1+rpt1 [1,156 B]Get:16 http://archive.raspberrypi.com/debian bookworm/main armhf linux-headers-rpi-v7l armhf 1:6.6.62-1+rpt1 [1,156 B]Get:17 http://archive.raspberrypi.com/debian bookworm/main arm64 linux-image-6.6.62+rpt-rpi-v8 arm64 1:6.6.62-1+rpt1 [29.7 MB]Get:18 http://archive.raspberrypi.com/debian bookworm/main armhf linux-image-rpi-v6 armhf 1:6.6.62-1+rpt1 [1,424 B]Get:19 http://archive.raspberrypi.com/debian bookworm/main armhf linux-image-rpi-v7 armhf 1:6.6.62-1+rpt1 [1,424 B]Get:20 http://archive.raspberrypi.com/debian bookworm/main armhf linux-image-rpi-v7l armhf 1:6.6.62-1+rpt1 [1,432 B]Get:21 http://archive.raspberrypi.com/debian bookworm/main arm64 linux-image-rpi-v8 arm64 1:6.6.62-1+rpt1 [1,424 B]Get:22 http://archive.raspberrypi.com/debian bookworm/main armhf linux-libc-dev all 1:6.6.62-1+rpt1 [2,057 kB]Get:23 http://archive.raspberrypi.com/debian bookworm/main armhf raspi-config all 20241210 [35.6 kB]Get:24 http://archive.raspberrypi.com/debian bookworm/main armhf raspberrypi-net-mods all 1.4.3 [2,272 B]Get:25 http://archive.raspberrypi.com/debian bookworm/main armhf raspberrypi-sys-mods armhf 20241202 [22.0 kB]Get:26 http://archive.raspberrypi.com/debian bookworm/main armhf rpi-eeprom all 26.7-1 [8,496 kB]Get:27 http://archive.raspberrypi.com/debian bookworm/main armhf rpicam-apps-lite armhf 1.5.3-1 [470 kB]Fetched 149 MB in 21s (7,010 kB/s)Reading changelogs... Done(Reading database ... 63714 files and directories currently installed.)Preparing to unpack .../00-raspi-firmware_1%3a1.20241126-1_all.deb ...Unpacking raspi-firmware (1:1.20241126-1) over (1:1.20240924-2) ...Preparing to unpack .../01-initramfs-tools_0.142+rpt2+deb12u1_all.deb ...Unpacking initramfs-tools (0.142+rpt2+deb12u1) over (0.142+rpt1+deb12u1) ...Preparing to unpack .../02-initramfs-tools-core_0.142+rpt2+deb12u1_all.deb ...Unpacking initramfs-tools-core (0.142+rpt2+deb12u1) over (0.142+rpt1+deb12u1) ...Preparing to unpack .../03-libcamera0.3_0.3.2+rpt20241119-1_armhf.deb ...Unpacking libcamera0.3:armhf (0.3.2+rpt20241119-1) over (0.3.2+rpt20240927-1) ...Preparing to unpack .../04-libcamera-ipa_0.3.2+rpt20241119-1_armhf.deb ...Unpacking libcamera-ipa:armhf (0.3.2+rpt20241119-1) over (0.3.2+rpt20240927-1) ...Selecting previously unselected package linux-headers-6.6.62+rpt-common-rpi.Preparing to unpack .../05-linux-headers-6.6.62+rpt-common-rpi_1%3a6.6.62-1+rpt1_all.deb ...Unpacking linux-headers-6.6.62+rpt-common-rpi (1:6.6.62-1+rpt1) ...Selecting previously unselected package linux-image-6.6.62+rpt-rpi-v6.Preparing to unpack .../06-linux-image-6.6.62+rpt-rpi-v6_1%3a6.6.62-1+rpt1_armhf.deb ...Unpacking linux-image-6.6.62+rpt-rpi-v6 (1:6.6.62-1+rpt1) ...Selecting previously unselected package linux-kbuild-6.6.62+rpt.Preparing to unpack .../07-linux-kbuild-6.6.62+rpt_1%3a6.6.62-1+rpt1_armhf.deb ...Unpacking linux-kbuild-6.6.62+rpt (1:6.6.62-1+rpt1) ...Selecting previously unselected package linux-headers-6.6.62+rpt-rpi-v6.Preparing to unpack .../08-linux-headers-6.6.62+rpt-rpi-v6_1%3a6.6.62-1+rpt1_armhf.deb ...Unpacking linux-headers-6.6.62+rpt-rpi-v6 (1:6.6.62-1+rpt1) ...Selecting previously unselected package linux-image-6.6.62+rpt-rpi-v7.Preparing to unpack .../09-linux-image-6.6.62+rpt-rpi-v7_1%3a6.6.62-1+rpt1_armhf.deb ...Unpacking linux-image-6.6.62+rpt-rpi-v7 (1:6.6.62-1+rpt1) ...Selecting previously unselected package linux-headers-6.6.62+rpt-rpi-v7.Preparing to unpack .../10-linux-headers-6.6.62+rpt-rpi-v7_1%3a6.6.62-1+rpt1_armhf.deb ...Unpacking linux-headers-6.6.62+rpt-rpi-v7 (1:6.6.62-1+rpt1) ...Selecting previously unselected package linux-image-6.6.62+rpt-rpi-v7l.Preparing to unpack .../11-linux-image-6.6.62+rpt-rpi-v7l_1%3a6.6.62-1+rpt1_armhf.deb ...Unpacking linux-image-6.6.62+rpt-rpi-v7l (1:6.6.62-1+rpt1) ...Selecting previously unselected package linux-headers-6.6.62+rpt-rpi-v7l.Preparing to unpack .../12-linux-headers-6.6.62+rpt-rpi-v7l_1%3a6.6.62-1+rpt1_armhf.deb ...Unpacking linux-headers-6.6.62+rpt-rpi-v7l (1:6.6.62-1+rpt1) ...Preparing to unpack .../13-linux-headers-rpi-v6_1%3a6.6.62-1+rpt1_armhf.deb ...Unpacking linux-headers-rpi-v6 (1:6.6.62-1+rpt1) over (1:6.6.51-1+rpt3) ...Preparing to unpack .../14-linux-headers-rpi-v7_1%3a6.6.62-1+rpt1_armhf.deb ...Unpacking linux-headers-rpi-v7 (1:6.6.62-1+rpt1) over (1:6.6.51-1+rpt3) ...Preparing to unpack .../15-linux-headers-rpi-v7l_1%3a6.6.62-1+rpt1_armhf.deb ...Unpacking linux-headers-rpi-v7l (1:6.6.62-1+rpt1) over (1:6.6.51-1+rpt3) ...Selecting previously unselected package linux-image-6.6.62+rpt-rpi-v8:arm64.Preparing to unpack .../16-linux-image-6.6.62+rpt-rpi-v8_1%3a6.6.62-1+rpt1_arm64.deb ...Unpacking linux-image-6.6.62+rpt-rpi-v8:arm64 (1:6.6.62-1+rpt1) ...Preparing to unpack .../17-linux-image-rpi-v6_1%3a6.6.62-1+rpt1_armhf.deb ...Unpacking linux-image-rpi-v6 (1:6.6.62-1+rpt1) over (1:6.6.51-1+rpt3) ...Preparing to unpack .../18-linux-image-rpi-v7_1%3a6.6.62-1+rpt1_armhf.deb ...Unpacking linux-image-rpi-v7 (1:6.6.62-1+rpt1) over (1:6.6.51-1+rpt3) ...Preparing to unpack .../19-linux-image-rpi-v7l_1%3a6.6.62-1+rpt1_armhf.deb ...Unpacking linux-image-rpi-v7l (1:6.6.62-1+rpt1) over (1:6.6.51-1+rpt3) ...Preparing to unpack .../20-linux-image-rpi-v8_1%3a6.6.62-1+rpt1_arm64.deb ...Unpacking linux-image-rpi-v8:arm64 (1:6.6.62-1+rpt1) over (1:6.6.51-1+rpt3) ...Preparing to unpack .../21-linux-libc-dev_1%3a6.6.62-1+rpt1_all.deb ...Unpacking linux-libc-dev (1:6.6.62-1+rpt1) over (1:6.6.51-1+rpt3) ...Preparing to unpack .../22-raspi-config_20241210_all.deb ...Unpacking raspi-config (20241210) over (20241119) ...Removing obsolete conffile /etc/init.d/raspi-config ...Removing obsolete conffile /etc/default/cpu_governor ...Preparing to unpack .../23-raspberrypi-net-mods_1.4.3_all.deb ...Unpacking raspberrypi-net-mods (1.4.3) over (1.4.2) ...Preparing to unpack .../24-raspberrypi-sys-mods_20241202_armhf.deb ...Unpacking raspberrypi-sys-mods (20241202) over (20241111) ...Preparing to unpack .../25-rpi-eeprom_26.7-1_all.deb ...Unpacking rpi-eeprom (26.7-1) over (26.4-1) ...Preparing to unpack .../26-rpicam-apps-lite_1.5.3-1_armhf.deb ...Unpacking rpicam-apps-lite (1.5.3-1) over (1.5.2-2) ...Setting up linux-libc-dev (1:6.6.62-1+rpt1) ...Setting up raspi-firmware (1:1.20241126-1) ...'/boot/vmlinuz-6.6.62+rpt-rpi-v6' -> '/boot/firmware/kernel.img''/boot/vmlinuz-6.6.62+rpt-rpi-v7' -> '/boot/firmware/kernel7.img''/boot/vmlinuz-6.6.62+rpt-rpi-v7l' -> '/boot/firmware/kernel7l.img''/boot/vmlinuz-6.6.62+rpt-rpi-v8' -> '/boot/firmware/kernel8.img'Setting up linux-headers-6.6.62+rpt-common-rpi (1:6.6.62-1+rpt1) ...Setting up rpi-eeprom (26.7-1) ...Setting up initramfs-tools-core (0.142+rpt2+deb12u1) ...Setting up linux-kbuild-6.6.62+rpt (1:6.6.62-1+rpt1) ...Setting up raspi-config (20241210) ...Setting up initramfs-tools (0.142+rpt2+deb12u1) ...update-initramfs: deferring update (trigger activated)Setting up linux-image-6.6.62+rpt-rpi-v6 (1:6.6.62-1+rpt1) .../etc/kernel/postinst.d/initramfs-tools:update-initramfs: Generating /boot/initrd.img-6.6.62+rpt-rpi-v6'/boot/initrd.img-6.6.62+rpt-rpi-v6' -> '/boot/firmware/initramfs'/etc/kernel/postinst.d/z50-raspi-firmware:'/boot/vmlinuz-6.6.62+rpt-rpi-v6' -> '/boot/firmware/kernel.img'Setting up linux-image-6.6.62+rpt-rpi-v7 (1:6.6.62-1+rpt1) .../etc/kernel/postinst.d/initramfs-tools:update-initramfs: Generating /boot/initrd.img-6.6.62+rpt-rpi-v7'/boot/initrd.img-6.6.62+rpt-rpi-v7' -> '/boot/firmware/initramfs7'/etc/kernel/postinst.d/z50-raspi-firmware:'/boot/vmlinuz-6.6.62+rpt-rpi-v7' -> '/boot/firmware/kernel7.img'Setting up linux-headers-6.6.62+rpt-rpi-v7 (1:6.6.62-1+rpt1) ...Setting up linux-headers-6.6.62+rpt-rpi-v6 (1:6.6.62-1+rpt1) ...Setting up raspberrypi-sys-mods (20241202) ...Setting up raspberrypi-net-mods (1.4.3) ...Installing new version of config file /etc/profile.d/wifi-check.sh ...Setting up linux-image-rpi-v6 (1:6.6.62-1+rpt1) ...Setting up linux-image-rpi-v7 (1:6.6.62-1+rpt1) ...Setting up linux-headers-rpi-v7 (1:6.6.62-1+rpt1) ...Setting up linux-headers-rpi-v6 (1:6.6.62-1+rpt1) ...Setting up linux-image-6.6.62+rpt-rpi-v7l (1:6.6.62-1+rpt1) .../etc/kernel/postinst.d/initramfs-tools:update-initramfs: Generating /boot/initrd.img-6.6.62+rpt-rpi-v7l'/boot/initrd.img-6.6.62+rpt-rpi-v7l' -> '/boot/firmware/initramfs7l'/etc/kernel/postinst.d/z50-raspi-firmware:'/boot/vmlinuz-6.6.62+rpt-rpi-v7l' -> '/boot/firmware/kernel7l.img'Setting up linux-image-6.6.62+rpt-rpi-v8:arm64 (1:6.6.62-1+rpt1) .../etc/kernel/postinst.d/initramfs-tools:update-initramfs: Generating /boot/initrd.img-6.6.62+rpt-rpi-v8'/boot/initrd.img-6.6.62+rpt-rpi-v8' -> '/boot/firmware/initramfs8'/etc/kernel/postinst.d/z50-raspi-firmware:'/boot/vmlinuz-6.6.62+rpt-rpi-v8' -> '/boot/firmware/kernel8.img'Setting up linux-image-rpi-v7l (1:6.6.62-1+rpt1) ...Setting up linux-image-rpi-v8:arm64 (1:6.6.62-1+rpt1) ...Setting up linux-headers-6.6.62+rpt-rpi-v7l (1:6.6.62-1+rpt1) ...Setting up linux-headers-rpi-v7l (1:6.6.62-1+rpt1) ...Setting up libcamera0.3:armhf (0.3.2+rpt20241119-1) ...Setting up libcamera-ipa:armhf (0.3.2+rpt20241119-1) ...Setting up rpicam-apps-lite (1.5.3-1) ...Processing triggers for libc-bin (2.36-9+rpt2+deb12u9) ...Processing triggers for man-db (2.11.2-2) ...Processing triggers for initramfs-tools (0.142+rpt2+deb12u1) ...update-initramfs: Generating /boot/initrd.img-6.6.62+rpt-rpi-v8'/boot/initrd.img-6.6.62+rpt-rpi-v8' -> '/boot/firmware/initramfs8'update-initramfs: Generating /boot/initrd.img-6.6.62+rpt-rpi-v7l'/boot/initrd.img-6.6.62+rpt-rpi-v7l' -> '/boot/firmware/initramfs7l'update-initramfs: Generating /boot/initrd.img-6.6.62+rpt-rpi-v7'/boot/initrd.img-6.6.62+rpt-rpi-v7' -> '/boot/firmware/initramfs7'update-initramfs: Generating /boot/initrd.img-6.6.62+rpt-rpi-v6'/boot/initrd.img-6.6.62+rpt-rpi-v6' -> '/boot/firmware/initramfs'$sudo apt updateHit:1 http://archive.raspberrypi.com/debian bookworm InReleaseHit:2 http://raspbian.raspberrypi.com/raspbian bookworm InReleaseReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneAll packages are up to date.W: http://raspbian.raspberrypi.com/raspbian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

Statistics: Posted by HopWorks — Sun Jan 05, 2025 6:20 pm



Viewing all articles
Browse latest Browse all 4856

Trending Articles