pieroproietti / penguins-eggs

On the road of Remastersys, Refracta, Systemback and father Knoppix!
https://penguins-eggs.net
372 stars 40 forks source link

Ubuntu 20.04, Ubuntu-22.04, Debian buster, Debian bullseye and others derivatives without nodejs >=18 #368

Open pieroproietti opened 3 weeks ago

pieroproietti commented 3 weeks ago

Debian buster / bullseye, Ubuntu 20.04 / 22.04

Changing from version 9.7.x to 10.0.x I'm using a new way to package penguins-eggs: nodejs is not more included on the package like before, but rely on it's presence in available repos.

This is configured on the penguins-eggs package, who actually ask for : nodejs (>= 18) on it's DEBIAN/control file.

Unfortunately, distros on this note and derivatives, have nodejs >=18 available on the their original repository.

So, before to try to install penguins-eggs-10.0.x we need to add nodejs repos from nodesource for nodejs 18 or better.

sudo apt-get install -y curl
curl -fsSL https://deb.nodesource.com/setup_18.x -o nodesource_setup.sh
sudo -E bash nodesource_setup.sh

At this point, we are ready to install penguins-eggs on our system.

sudo dpkg -i penguins-eggs-10.0.5-1_amd64.deb
sudo apt install -f

This procedure can be applied to: Ubuntu focal 20.04, Ubuntu jammy 22.04, Debian 10 Buster, Debian 11 Bullseye and derivatives, (see here).

Already tested on linuxmint 21.3 virginia and xubuntu 22.04, now I'm preparing the actual KDE neon.

You can confirm from others derivatives.

pieroproietti commented 3 weeks ago

UBUNTU 18.04 bionic, Debian stretch and derivatives

If you are using Ubuntu 18.04 bionic, or derivatives, I have good news too!

It's not possible to install nodejs 18 on Ubuntu 18.04, but it's possible to use the same procedure to install nodejs 16.

sudo apt-get install -y curl
curl -fsSL https://deb.nodesource.com/setup_16.x -o nodesource_setup.sh
sudo -E bash nodesource_setup.sh

Then, I just release a new package, with dependencies nodejs >=16, so:

sudo dpkg -i penguins-eggs-10.0.5-bionic-1_amd64.deb
sudo apt install -f

Ubuntu bionic is like Bruce Williams: Die Hard!

pieroproietti commented 2 weeks ago

Note about remastering Ubuntu 18.04

I was able to remaster ubuntu-18.04.6-desktop-amd64.iso and ubuntu-18.04.6-live-server-amd64.iso.

On both there is a problem: after the installation we don't get more /lib/live/boot and it's contents. We need to restore before to create new eggs, without our ISOs will not boot! To restore, just: sudo apt update && sudo apt install live-boot.

After installed, for same reason, we don't have /etc/resolv.conf, I use to rewrite it for my demos.

Strange enought, we get differents kernels on desktop and server, on desktop the kernel is in 5.x series, on serve is 4.x kernels.

I know there is something like pro to extend support, but this is out of my possibilities.