Update Debian Operating System
While going through my normal maintenance yesterday I noticed that my Debian virtual machines are behind on 11 and I've decided I'm going to work on upgrading them.
Upgrade PH-02
I decide to start here because it is a redundant server to PH-01 and if I break things there is no great loss.
Steps performed on PH-02
cat /etc/os-releasePRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
sudo apt-mark showholdsudo apt updatesudo apt upgradesudo apt full-upgradesudo apt autoremovesudo nano /etc/apt/sources.list- I replace all instances of
bullseyewithbookworm
- I replace all instances of
export LC_ALL=Csudo apt updatesudo apt upgrade- Restart services during package upgrades without asking?
Yes
This took close to two hours I believe.
sudo apt full-upgradesudo apt autoremovesudo rebootcat /etc/os-releasePRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
Well Pi-Hole is still functional on PH-02 and it is responding to DNS requests so I'd say this was a success!