Bookworm Fixes

reinstall chrony and setup NTP

sudo apt-get install rsyslog resolvconf
setup DNS by adding nameserver a.b.c.d to /etc/resolvconf/resolv.conf.d/head

then run

sudo resolvconf --enable-updates
sudo resolvconf -u

Add RMS virtualenv to bashrc:
egrep "~/vRMS/bin/activate" ~/.bashrc
if [ $? == 1 ] ; then
echo "source ~/vRMS/bin/activate" >> ~/.bashrc
echo "cd ~/source/RMS" >> ~/.bashrc
fi

===============================
error: externally-managed-environment
× This environment is externally managed

On Bookworm, the base Python installation is managed by Debian and can’t be changed. To update pip one would do “apt install –upgrade python3-pip” and it would only succeed if Debian have updated the base repo.

Which explains why you also need to upgrade pip in the virtualenv once created 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *