scripts icon indicating copy to clipboard operation
scripts copied to clipboard

Request: Add script for setting up on Ubuntu 24.04 LTS

Open RegentOfOrigin opened this issue 1 year ago • 0 comments

So far setting up on Ubuntu 24.04 LTS seems entirely viable with a few tweaks to the script, and I think it would be nice to have a not-5-year-old version of ubuntu supported.

The tweaks I had to make were (and some of these apply to the 20.04 version as well I discovered):

  • network-manager.service is canonically NetworkManager.service, and network-manager.service was removed in 22.04
  • /usr/lib/systemd/system/systemd-networkd-wait-online.service needs to be disabled
  • sshd.service is now ssh.service
  • the focal 45drives repo works, except the 45drives build of python-zlib depends on libssl1.1 which was removed in 22.04. This can be remedied (seemingly) by setting the 45drives repository to a lower priority than the rest of the ubuntu repositories by writing these contents to /etc/apt/preferences.d/45drives:
Package: *
Pin: release n=focal
Pin-Priority: 400

Additional notes that I don't know if it's release specific:

  • /etc/netplan/00-networkmanager.yaml permissions may be too open depending on the user umask, so I had to manually change it to 600

RegentOfOrigin avatar Jan 19 '25 15:01 RegentOfOrigin