How safe it is to upgrade to Pop!_OS 24.04 by manually editing /etc/apt/sources.list (or whatever it was).

I tried doing it and running sudo apt update, and nothing suspicious seemed to appear. I used the Ubuntu 24.04 repos.

It is worth nothing that I have ran sudo apt remove with the --allow-remove-essential flag.

I want to upgrade; 22.04 is so old Debian stable is more up-to-date. There are also bugs with Sway and Mangohud that I am interested in getting rid of.

I am uninterested in the Rust desktop.