I have trouble determining my current debian version.

$lsb_release -a   says:


$cat /etc/debian_version   says:


However, Webmin says: Debian Linux 7

Also, when I open up my console for a new session it says at the top:

Debian GNU/Linux 7 prestashop tty1

Linux prestashop 3.2.0-4amd64 #1 SMP Debian 3.2.54-2 x86_64

But then it says below that: Welcome to Prestashop, TurnKey Linux 13.0 / Debian 6.0.8 Squeeze


Do you guys know what version I'm at? This is quite important, as to figure out whether I need to run an upgrade..







Liraz Siri's picture

I'm guessing you probably restored a TurnKey 12 / Debian 6 backup to TurnKey 13?

root@core ~# cat /etc/turnkey_version

Sorry for the confusion. TKLBAM shouldn't be backing up /etc/debian_version. This is a bug in the Core profile which I am going to fix right now...

Liraz Siri's picture

I patched up all the profiles so that they exclude /etc/debian_version so that we don't confused lsb_release. I checked and /etc/debian_version seems to be the only file lsb_release looks at.

Liraz Siri's picture

Yes that's right. Thanks for pointing the GitHub issue out. I closed it.

Thats correct about the restore.

do I need to run anything to update my Debian version number to 7?

Thank you.

Liraz Siri's picture

You're already using Debian version 7. TKLBAM just overwrote /etc/debian_version. You can just change that if you want lsb_release to report something different:

~# cat /etc/debian_version

Add new comment