Finding the date on which a Fedora 23 was installed on a given machine
Stephen Gallagher
sgallagh at redhat.com
Fri Jan 15 14:08:36 UTC 2016
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 01/15/2016 05:34 AM, Christopher Ross wrote:
>
> On 14/01/16 17:43, Kevin Wilson wrote:
>> Is there a way to find out the date on which a Fedora distro was
>> installed on a given machine (assuming that the date was set
>> correctly on the machine when it was installed)?
>
>
> # rpm -qi fedora-release
>
> Name : fedora-release Version : 22 Release : 1
> Architecture: noarch Install Date: Tue 26 May 2015 20:34:10 BST
> Group : System Environment/Base Size : 4235 License
> : MIT Signature : RSA/SHA256, Tue 19 May 2015 19:08:23 BST, Key
> ID 11adc0948e1431d5 Source RPM : fedora-release-22-1.src.rpm Build
> Date : Tue 19 May 2015 15:27:10 BST Build Host :
> arm04-builder06.arm.fedoraproject.org Relocations : (not
> relocatable) Packager : Fedora Project Vendor : Fedora
> Project URL : http://fedoraproject.org Summary : Fedora
> release files Description : Fedora release files such as various
> /etc/ files that define the release.
>
>
> Hope this helps, Chris R.
>
That approach will only work if the fedora-release package hasn't been
updated (because then you'll see the date of that update, not the
original date).
I think the best approach was the first one suggested; checking the
ctime of /root/anaconda-ks.cfg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iEYEARECAAYFAlaY/WQACgkQeiVVYja6o6N8FgCeIU62HvpQKAXJ4tVndItOaRtw
m+kAn0zIQhycQs7HZHHZPHL/dR6NFCMe
=Lj5a
-----END PGP SIGNATURE-----
More information about the users
mailing list