[CentOS] Upgrading from 5.7 to 5.8
Keith Roberts
keith at karsites.netSat Jun 23 15:16:34 UTC 2012
- Previous message: [CentOS] Upgrading from 5.7 to 5.8
 - Next message: [CentOS] Media check on Centos 6.2 DVD1 i386
 - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
 
On Sat, 23 Jun 2012, Markus Falb wrote:
> $ rpm -qf /etc/redhat-release
> centos-release-5-8.el5.centos
>
> $ rpm -q centos-release
> centos-release-5-8.el5.centos
> $ rpm -q --qf "%{version}\n" centos-release
> 5
> $ rpm -q --qf "%{release}\n" centos-release
> 8.el5.centos
>
> I don't know if it is more sane to ask the content of the file or to ask
> rpm, but I tend to the rpm method. I vaguely remember that modification
> of /etc/redhat-release was used to trick some third-party software that
> depends on the content of the file.
Yes it's the same Markus.
[root at karsites ~]# rpm -qf /etc/redhat-release
centos-release-5-8.el5.centos
Thanks,
Keith
-----------------------------------------------------------
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk
All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-----------------------------------------------------------
  - Previous message: [CentOS] Upgrading from 5.7 to 5.8
 - Next message: [CentOS] Media check on Centos 6.2 DVD1 i386
 - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
 
More information about the CentOS mailing list