Closed rohitnaikn closed 2 months ago
convert ubuntu 22
DietPi is based on Debian and you can't convert an Unbuntu.
then why can't there be a compatibility check and stop it before initiating the installation?
Of course we could bloat the code with dozens of checks, and still there would be cases where users run into errors. Isn't
Requirement 1: Ensure a Debian/Raspbian OS is running on the system:
from the docs clear enough?
Also on the download page:
Convert any Debian image, into a DietPi system.
This is naturally a script which is not assured to run through in every case, and requires some knowledge and manual tinkering in cases. Reading and understanding the docs is hence the minimal required efforts anyway. It is impossible to test for any possible base OS composition.
ok i thought it could covert any Debian based OS as it says 'ANY' Debian image
Debian is "Debian", Ubuntu is "Ubuntu". But yeah, Ubuntu uses 99% Debian sources and the same packaging system, so I see that one could see Ubuntu, Kali and other APT distros as "Debian-based".
I'm anyway about to restructure the script, and will probably add some minimal checks: Debian and systemd as init system.
Nasty that Ubuntu uses Debian versions or codenames in /etc/debian_version
, else it would error out at that point already.
thanks
Details:
Linux r22120000 6.1.0-xilinx #2 SMP PREEMPT Thu Jun 22 20:35:42 CEST 2023 armv7l GNU/Linux
apt-get -y --allow-change-held-packages autopurge usrmerge
Steps to reproduce:
Use the https://dietpi.com/docs/hardware/#make-your-own-distribution document to install Failed on Last step
Expected behaviour:
Normal Installation and convert ubuntu 22 to diet pi
Actual behaviour:
Stuck and the user with Sudo lost sudo Powers
Extra details:
Additional logs:
[FAILED] DietPi-Installer | Unable to continue, DietPi-Installer will now terminate.