[Solved] How to keep Lighttpd on a Raspberry
Added by dcaccount almost 3 years ago
Hello,
for years I have used Lighttpd on my raspberry with no issues but (my fault) I have worried about updating it.
My question is simple.
Is Lighttpd updated every time I update the Raspberry with the usual commands, “apt-get update” and then “upgrade” or shall I do any other procedure to keep Lighttpd uptodate?
Thanks,
Daniele
Replies (4)
RE: How to keep Lighttpd on a Raspberry - Added by gstrauss almost 3 years ago
When the RPi repository is updated with a newer version of lighttpd, apt-get update; apt-get upgrade
will update the RPi.
Unfortunately, Debian, Ubuntu, RPi and numerous other distros practice "neglect" instead of "maintenance". Packages in existing releases of these distros are sparsely updated. To get the latest version of software such as lighttpd, you can periodically (once a year or so) consider doing a full reinstall/upgrade of RPi with the latest RPi release. As an alternative, you can point your RPi /etc/apt/sources.list to an additional 'backports' repository matching your release, as the backports might have a newer release available for the latest stable release of the RPi distro.
The latest official lighttpd release is currently lighttpd 1.4.65.
For Debian-based systems, you can see which versions are available as packages in which Debian releases: https://tracker.debian.org/pkg/lighttpd
RE: How to keep Lighttpd on a Raspberry - Added by dcaccount almost 3 years ago
Thanks for replying.
Can you please be so kind to advise on how to full reinstall it without loosing any configuration?
Thanks!
Daniele
RE: How to keep Lighttpd on a Raspberry - Added by gstrauss almost 3 years ago
Please keep in mind that this is not a support forum for Raspberry Pi.
A simple search in a search engine turned up these
https://www.raspberrypi.com/news/raspberry-pi-bullseye-update-april-2022/sudo apt update
sudo apt full-upgrade
More technical details in
https://www.raspberrypi.com/documentation/computers/os.html#updating-and-upgrading-raspberry-pi-os
https://raspberrytips.com/update-raspberry-pi-latest-version/