centOS reporting two different versions
At the console it says centOS 5.7, but "lsb_release -a" returns 5.9. What gives? Which is the correct version and how could I verify that so I know for sure?
|
At what console? You mean your command prompt? What is the output of
Code:
echo $PS1 |
Also try
Code:
cat /etc/centos-release |
The console meaning that old text based interface you get when physically at the computer and monitor - when the machine restarted it dropped out of the windows manager (Gnome) and into the text based interface for about ten seconds before actually rebooting the machine. During those ten seconds that's when I saw centOS 5.7 above the login prompt.
echo $PS1 Code:
[\u@\h \W]\$ cat /etc/centos-release Code:
cat: /etc/centos-release: No such file or directory |
Try
Code:
cat /etc/system-release |
Can you try:
Code:
~$ cat /etc/issue |
cat /etc/system-release
Code:
cat: /etc/system-release: No such file or directory cat /etc/issue Code:
CentOS release 5.9 (Final) |
Yes, it's indeed 5.9. You will need to upgrade it manualy, it will not be upgraded automatically.
|
Quote:
If you did want to stay locked at a particular point release, you would have to edit the .repo file and change all instances of "$releasever" to "5.7", or whatever point release you wanted. Doing so is inadvisable because you would get no further security updates once a later point release came out. If you wanted to run on a particular point release, you would be better off using Scientific Linux, which does continue to offer security updates for older point releases (and does not, by default, automatically update to newer point releases). |
All times are GMT -5. The time now is 01:47 AM. |