Re: [opensuse] Re: Daylight Savings Change
On 2007-02-01 16:10, Joachim Schrod wrote:
Darryl Gregorash wrote:
<snip>
I thought timezone has glibc dependencies.
/etc/localtime is just a data file, and thus does not use any shared libraries.
I wasn't certain, since "rpm -q --requires timezone" indicates the following glibc dependencies:
libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.3)
/etc/localtime is not owned by any rpm package, so it is safe to replace, but do keep the original file as a backup. orion:~ # rpm -qf /etc/localtime file /etc/localtime is not owned by any package -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Coach-X wrote:
/etc/localtime is not owned by any rpm package, so it is safe to replace, but do keep the original file as a backup.
orion:~ # rpm -qf /etc/localtime file /etc/localtime is not owned by any package
Perhaps you have a problem with your rpm database. joe@jmorris:~> rpm -qf /etc/localtime timezone-2.5-25 joe@jmorris:~> cat /etc/SuSE-release openSUSE 10.2 (X86-64) VERSION = 10.2 -- Joe Morris Registered Linux user 231871 running openSUSE 10.2 x86_64 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
<snip>
/etc/localtime is not owned by any rpm package, so it is safe to replace, but do keep the original file as a backup. OK, I did just get around to checking the timezone package more carefully. There are binaries included in it, which are responsible for
On 2007-02-01 22:00, Coach-X wrote: the glibc dependencies. Everyone has been firm in saying the files in /usr/share/zoneinfo are just data files, so I don't have any more problems with this. What would be the safest way to update the zoneinfo files, leaving the old binaries intact, using a timezone rpm package from, say, 10.2, if one only has a 9.3 system running? I do mean *all* the zoneinfo files, not just the specific one that is currently copied over as /etc/localtime? The rpm manpage doesn't seem to give an option to include just a specific set of files, it only gives an exclude option (AFAICT). The damn rpm should still be updated on the 9.3 updates repository. -- Moral indignation is jealousy with a halo. -- HG Wells -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Darryl Gregorash wrote:
What would be the safest way to update the zoneinfo files, leaving the old binaries intact, using a timezone rpm package from, say, 10.2, if one only has a 9.3 system running? I do mean *all* the zoneinfo files, not just the specific one that is currently copied over as /etc/localtime?
Unpack it and copy the whole /usr/share/zoneinfo tree manually. Installing the rpm is not good; you would prevent a future update. For unpacking, I usually use rpm2cpio: rpm2cpio timezone.rpm | cpio -idv './usr/share/*'
The damn rpm should still be updated on the 9.3 updates repository.
You're right, of course. If there will be an rpm update and you copied the zoneinfo file by hand before, remember that there will probably be .rpmnew files after the update that you might want to clean up. Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Monday 2007-02-05 at 12:17 +0100, Joachim Schrod wrote:
Unpack it and copy the whole /usr/share/zoneinfo tree manually. Installing the rpm is not good; you would prevent a future update.
For unpacking, I usually use rpm2cpio: rpm2cpio timezone.rpm | cpio -idv './usr/share/*'
I use Midnight Comander (mc), navigate inside the rpm archive, and view or copy which ever file I want. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFzSCDtTMYHG2NR9URAquWAJ0YuUQP4ImMe3L1E+IOneBEw5MMVACfexBq LulXUbeYF8WCwak6NKQS9X4= =R7IW -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Carlos E. R. wrote:
I use Midnight Comander (mc), navigate inside the rpm archive, and view or copy which ever file I want.
Same here. IMO, mc is the most useful and versatile utility I have found in Linux. In my early Linux days, it was a useful and familiar interface (after Norton Commander from the DOS days), and provided an editor that didn't require a manual to use like vi. I still only use a fraction of its capabilities. -- Joe Morris Registered Linux user 231871 running openSUSE 10.2 x86_64 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Saturday 2007-02-10 at 09:38 +0800, Joe Morris (NTM) wrote:
Carlos E. R. wrote:
I use Midnight Comander (mc), navigate inside the rpm archive, and view or copy which ever file I want.
Same here. IMO, mc is the most useful and versatile utility I have found in Linux. In my early Linux days, it was a useful and familiar interface (after Norton Commander from the DOS days), and provided an editor that didn't require a manual to use like vi. I still only use a fraction of its capabilities.
And fast as well. I miss it in the rescue isos. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFzSXqtTMYHG2NR9URAiR7AJ99tmR1KFCAKcJBSKb3okNT3ouBsACffS1d ukxlG0gwbpYIPh6Czii3MYE= =NgMk -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Carlos E. R.
-
Coach-X
-
Darryl Gregorash
-
Joachim Schrod
-
Joe Morris (NTM)