ITADN

Change Trixie to use rpi-swap

#5174OpenAlex-developer 创建于 2026-05-24
In next release
A
Alex-developercommented
Timelapse files are failing to generate since installing on Trixie. The Troubleshooting > Timelapse page suggests running: - systemctl stop allsky allsky-config recheck_swap systemctl start allsky However, when running "allsky-config recheck_swap", I get the error Swap size set to 3072 MB. sudo: dphys-swapfile: command not found sed: can't read /etc/dphys-swapfile: No such file or directory sed: can't read /etc/dphys-swapfile: No such file or directory sudo: dphys-swapfile: command not found sudo: dphys-swapfile: command not found Claude AI suggests this is the reason: - The Problem: Trixie Replaced dphys-swapfile with rpi-swap rpi-swap is a new package that replaces and deprecates dphys-swapfile for configuring swap on Raspberry Pi. It uses zram-based swap which avoids small/frequent writes to /var/swap, increasing SD card longevity. [Raspberry Pi Forums](https://forums.raspberrypi.com/viewtopic.php?t=390708) The allsky-config recheck_swap script is looking for dphys-swapfile which no longer exists on Trixie. I have installed dphys-swapfile and it seems to have worked Ok now. If I need to, I can reinstall rpi-swap again. Just thought you guys might want to know about this to possibly update the documentation page for Trixie specifics.
0 条评论