Linux Lite Forums

Software - Support => Other => Topic started by: PrivateTech on October 09, 2022, 02:24:40 AM

Title: How to determine LinuxLite version on an OFFLINE drive?
Post by: PrivateTech on October 09, 2022, 02:24:40 AM
Hello,
How do I find out which version of LinuxLite was installed on an off-line drive without booting from that drive?
The drive is no longer bootable, but files are accessible. It was taken from a computer that no longer operational.
Thank you.
Title: Re: How to determine LinuxLite version on an OFFLINE drive?
Post by: stevef on October 09, 2022, 04:39:22 AM
The lite series should be indicated in several places on the offline disk.  For example

/etc/apt/sources.list/linuxlite.list

Does that help ?

Title: Re: How to determine LinuxLite version on an OFFLINE drive?
Post by: PrivateTech on October 09, 2022, 04:12:12 PM
It mostly helps, thank you.
The file contains a single line:
deb... repo... fluorite main
which indicates it must have had version 6.0 installed, simply because 6.2 is not released yet.
I wonder if every update version even within the same series has its own codename?
Or, if 6.2 was already released and the updates applied, could it still say fluorite?
What does "main" mean, as opposed to what other choices?
Thank you so much!
At least my immediate need was solved. The rest is my curiosity for the future.
Title: Re: How to determine LinuxLite version on an OFFLINE drive?
Post by: PrivateTech on October 09, 2022, 04:20:26 PM
I looked up and found out that the codename spans across the series and only indicates the series in general but not a particular version within series.

But thank you again, this time the "fluorite" allowed be to identify the 6.0 with certainty before 6.2 is released.
Title: Re: How to determine LinuxLite version on an OFFLINE drive?
Post by: Şerban S. on October 09, 2022, 04:36:47 PM
[...]deb... repo... fluorite main[...]

This means that the line reffers to the "Main Repository". Usually it contains the latest updates to the version named previously in the line: "fluorite". The rest of the line, contains something like:

Code: [Select]
http://repo.linuxliteos.com/linuxlite fluorite InRelease
So, as you well guessed, it was a Linux Lite installation.

Best regards! :)

Title: Re: How to determine LinuxLite version on an OFFLINE drive?
Post by: stevef on October 09, 2022, 05:05:39 PM
Done a bit more digging.  This file may be what you were looking for.

/etc/llver
Title: Re: How to determine LinuxLite version on an OFFLINE drive?
Post by: PrivateTech on October 10, 2022, 01:01:19 AM
Done a bit more digging.  This file may be what you were looking for.

/etc/llver

Thank you very much! That is exactly it!!! I hope the content of this file changes when updates are applied and the versions get updated within series. But so far it shows exactly what I was looking for. You are the best.
Title: Re: How to determine LinuxLite version on an OFFLINE drive?
Post by: stevef on October 10, 2022, 01:47:58 AM
You're welcome.

My machine running LL5.8 started with a fresh install of 5.2 (if I remember correctly) and has had in-series upgrades to 5.4 and 5.8.  The llver file currently shows 5.8.  It is unlikely that the original 5.2 install set it to show 5.8 so assume it accurately reflects the machine state.
Title: Re: How to determine LinuxLite version on an OFFLINE drive?
Post by: PrivateTech on October 10, 2022, 10:33:28 AM
You're welcome.

My machine running LL5.8 started with a fresh install of 5.2 (if I remember correctly) and has had in-series upgrades to 5.4 and 5.8.  The llver file currently shows 5.8.  It is unlikely that the original 5.2 install set it to show 5.8 so assume it accurately reflects the machine state.

You've been the most helpful. Thank you again for the proof. Good to know that it is not simply the first installation version but that it keeps up with the updates.
Title: Re: How to determine LinuxLite version on an OFFLINE drive?
Post by: firenice03 on October 10, 2022, 02:22:54 PM
You're welcome.

My machine running LL5.8 started with a fresh install of 5.2 (if I remember correctly) and has had in-series upgrades to 5.4 and 5.8.  The llver file currently shows 5.8.  It is unlikely that the original 5.2 install set it to show 5.8 so assume it accurately reflects the machine state.

Yes @stevef is correct - the /etc/llver file shows the currently installed version of LinuxLite for that system and is updated as the system is upgraded within a series.