linuxdeploy icon indicating copy to clipboard operation
linuxdeploy copied to clipboard

Support for ubuntu 20.04 LTS focal

Open favas0 opened this issue 5 years ago • 3 comments

As the title suggests. is there an option to install ubuntu 20.04 focal ?

favas0 avatar Dec 09 '20 13:12 favas0

The app itself doesn't have support for focal on its UI but you can actually update it directly through the command line itself,

do:

sudo apt install update-manager-core

sudo do-release-upgrade

if it tells you

Checking for a new Ubuntu release There is no development version of an LTS available. To upgrade to the latest non-LTS develoment release set Prompt=normal in /etc/update-manager/release-upgrades.

Do sudo do-release-upgrade -d instead of sudo do-release-upgrade

Then keep pressing y on everything it asks you until it finishes the update

Once you restart the distro it'll still tell you you're running the old version but you're actually not and that's just the MOTD which you can edit using:

sudo nano /etc/motd (need to have nano obvs and you can just set it to whatever you want.)

Hope this helps!

tillifalcon avatar Jan 25 '21 10:01 tillifalcon

great tip ! thanks !!

I just had to add

deb http://ports.ubuntu.com/ubuntu-ports/ bionic-updates main restricted universe multiverse

in /etc/apt/sources.list

for do-release-upgrade to work ;)

pierro78 avatar Apr 22 '21 15:04 pierro78

There is another way to install any dist. when you start a new install. I tried this with the 21.04 (Hirsute) dist.

  1. Setup a new profile for ubuntu.
  2. Go to /data/data/ru.meefik.linuxdeploy/files/config there should be a file ending with .conf with the name of your new profile.
  3. Edit this file at about line 30 there is a line Suite="<name-of-current-selected-dist>" change it to `Suite="hirsute".
  4. Go to data/data/ru.meefik.linuxdeploy/files/include/bootstraps/debian/debootstraps/scripts copy the file bionic and name it hirsute.
  5. Now go bak to LinuxDeploy and reopen the new profile you made. (Note that the Distribution Suite is blank, this is OK). Install.

Let me know if you have any problems.

Isr

isrgish avatar Jul 22 '21 00:07 isrgish