Apparently if you do
apt purge ubuntu*
You’ll end up deleting apt. Which is a bummer, because you can’t install anything else, or fix the problem. But not to worry, the resolution is fairly easy.
You can go download the apt deb from Ubuntu’s website and install it with dpkg.
Go to the following link and find the packages for your Ubuntu version
You’ll need to show “All packages” at the bottom of the page.
Download and install ubuntu-keyring, apt-transport-https, and apt packages. Example below
sudo dpkg -i ubuntu-keyring_2012.05.19_all.deb
sudo dpkg -i apt-transport-https_1.2.29ubuntu0.1_amd64.deb
sudo dpkg -i apt_1.6.6ubuntu0.1_amd64.deb
Run apt and make sure it is all working
sudo apt update && sudo apt upgrade
The freebsd-update command can be used to update a FreeBSD system
usage: freebsd-update [options] command … [path]
-b basedir -- Operate on a system mounted at basedir
-d workdir -- Store working files in workdir
-f conffile -- Read configuration options from conffile
-k KEY -- Trust an RSA key with SHA256 hash of KEY
-r release -- Target for upgrade (e.g., 6.2-RELEASE)
-s server -- Server from which to fetch updates
-t address -- Mail output of cron command, if any, to address
fetch -- Fetch updates from server
cron -- Sleep rand(3600) seconds, fetch updates, and send an
email if updates were found
upgrade -- Fetch upgrades to FreeBSD version specified via -r option
install -- Install downloaded updates or upgrades
rollback -- Uninstall most recently installed updates
IDS -- Compare the system against an index of "known good" files.
To get the updates do
Let it run and download the updates, then run
Should say it is installing updates. Then done.
The LineageOS Updater downloads updates fine, but crashes as soon as you hit Install.
Looks like there may be a bug that has something to do with an update that it already downloaded and installed, but waiting on the device to reboot.
Reboot the device to resolve the issue.
Other things to try would include deleting and redownloading the update and/or trying a different update.