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

Beta testing • Re: rpi-swap (Trixie only) - zram-based swap

$
0
0
Pi Zero2W with a Pimoroni ScrollHAT on it, updated from Bookworm at the start of the update tests, as up to date as a week or so ago.
It's a Zero2W (running armhf) it's slow to update!
Figured this might help before I do that.

Using Connect terminal

Code:

ben@scrollphathd:~ $ sudo apt install rpi-swapThe following package was automatically installed and is no longer required:  dcUse 'sudo apt autoremove' to remove it.Installing:  rpi-swapInstalling dependencies:  inotify-tools  libinotifytools0  rpi-loop-utils  rpi-systemd-config  systemd-zram-generatorREMOVING:  dphys-swapfileSummary:  Upgrading: 0, Installing: 6, Removing: 1, Not Upgrading: 42  Download size: 379 kB  Space needed: 971 kB / 9,550 MB availableContinue? [Y/n] 
Y

Code:

Continue? [Y/n] yGet:1 http://archive.raspberrypi.com/debian trixie/main armhf rpi-loop-utils all 1.1.1 [7,512 B]Get:2 http://archive.raspberrypi.com/debian trixie/main armhf rpi-systemd-config all 1.1.1 [7,736 B]Get:4 http://archive.raspberrypi.com/debian trixie/main armhf rpi-swap all 1.1.1 [13.8 kB]Get:3 http://ftp.acc.umu.se/mirror/raspbian/raspbian trixie/main armhf libinotifytools0 armhf 4.23.9.0-2 [21.2 kB]Get:6 http://ftp.acc.umu.se/mirror/raspbian/raspbian trixie/main armhf systemd-zram-generator armhf 1.2.1-2 [298 kB]Get:5 http://mirror.ossplanet.net/raspbian/raspbian trixie/main armhf inotify-tools armhf 4.23.9.0-2 [30.1 kB]Fetched 379 kB in 2s (189 kB/s)                                                       (Reading database ... 86004 files and directories currently installed.)Removing dphys-swapfile (20100506-7.2) ...Selecting previously unselected package libinotifytools0:armhf.(Reading database ... 85990 files and directories currently installed.)Preparing to unpack .../0-libinotifytools0_4.23.9.0-2_armhf.deb ...Unpacking libinotifytools0:armhf (4.23.9.0-2) ...Selecting previously unselected package inotify-tools.Preparing to unpack .../1-inotify-tools_4.23.9.0-2_armhf.deb ...Unpacking inotify-tools (4.23.9.0-2) ...Selecting previously unselected package rpi-loop-utils.Preparing to unpack .../2-rpi-loop-utils_1.1.1_all.deb ...Unpacking rpi-loop-utils (1.1.1) ...Selecting previously unselected package systemd-zram-generator.Preparing to unpack .../3-systemd-zram-generator_1.2.1-2_armhf.deb ...Unpacking systemd-zram-generator (1.2.1-2) ...Selecting previously unselected package rpi-systemd-config.Preparing to unpack .../4-rpi-systemd-config_1.1.1_all.deb ...Unpacking rpi-systemd-config (1.1.1) ...Selecting previously unselected package rpi-swap.Preparing to unpack .../5-rpi-swap_1.1.1_all.deb ...Unpacking rpi-swap (1.1.1) ...Setting up libinotifytools0:armhf (4.23.9.0-2) ...Setting up inotify-tools (4.23.9.0-2) ...Setting up systemd-zram-generator (1.2.1-2) ...Setting up rpi-systemd-config (1.1.1) ...Setting up rpi-loop-utils (1.1.1) ...Setting up rpi-swap (1.1.1) ...Processing triggers for man-db (2.13.1-1) ...Processing triggers for libc-bin (2.41-9+~rpt1) ...ben@scrollphathd:~
did that fine.
<cross fingers>

Code:

ben@scrollphathd:~ $ sudo systemctl list-units --type swap  UNIT           LOAD   ACTIVE SUB    DESCRIPTION  dev-zram0.swap loaded active active /dev/zram0Legend: LOAD   → Reflects whether the unit definition was properly loaded.        ACTIVE → The high-level unit activation state, i.e. generalization of SUB.        SUB    → The low-level unit activation state, values depend on unit type.1 loaded units listed. Pass --all to see loaded but inactive units, too.To show all installed unit files use 'systemctl list-unit-files'.

My General Pi5, 64bit Bookworm to Trixie as per the original update tests (not the tweaked one), just has a usb3 SSD as drive.
Same result, all went fine.


Now I can set them off catching up with apt updates..

Statistics: Posted by bensimmo — Fri Aug 08, 2025 4:51 pm



Viewing all articles
Browse latest Browse all 8013

Trending Articles