Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 787  / 2 Years ago, tue, october 4, 2022, 6:04:11

I've got a few machines which I'm upgrading from version to version for a few years.



I'm curious to find out what was the original version of Ubuntu installed on the machine.



Is there a way to do that?


More From » upgrade

 Answers
5

Yet another option: by default /etc/apt/sources.list contains the name of the CD from which the system was installed:



> cat /etc/apt/sources.list|grep cdrom
# deb cdrom:[Kubuntu-KDE4 8.04 _Hardy Heron_ - Release amd64 (20080423)]/ hardy main restricted


which even works on a VPS which I'm sure never been actually installed from a cdrom:



# deb cdrom:[Ubuntu-Server 10.04.2 LTS _Lucid Lynx_ - Release i386 (20110211.1)]/ lucid main restricted


Of course, /etc/apt/sources.list is relatively less hidden than anything in /var/log/installer, so chances are it had been edited manually and the cdrom entry was modified/removed.



The same data can be seen in Software Sources dialog:



enter image description here


[#34726] Wednesday, October 5, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
jectedrin

Total Points: 491
Total Questions: 105
Total Answers: 111

Location: Netherlands
Member since Mon, Jun 7, 2021
3 Years ago
;