michaelthompson Posted January 17, 2011 Share Posted January 17, 2011 Our Power PMAC boots up in the Pacific (Los Angeles) time zone. We tried changing /etc/timezone, but that had no effect. We also tried running /usr/bin/tzselect, but that gives the following errors: [color=#FF0000] /usr/bin/tzselect: line 53: /usr/share/zoneinfo/iso3166.tab: No such file or directory /usr/bin/tzselect: time zone files are not set up correctly [/color] What method should we use in order to set the timezone? Link to comment Share on other sites More sharing options...
bradp Posted January 17, 2011 Share Posted January 17, 2011 This is another one of those issues where you must go to /.readonly/etc/timezone and change the setting there. Link to comment Share on other sites More sharing options...
michaelthompson Posted January 17, 2011 Author Share Posted January 17, 2011 I think we did that already, but I'll try again and let you know. I think the errors that are reported by tzselect are important. From other web queries about Debian Linux, there are files missing that should be there. Link to comment Share on other sites More sharing options...
michaelthompson Posted January 19, 2011 Author Share Posted January 19, 2011 The solution to changing the timezone under Debian Linux is to install the tzdata using: env http_proxy=http://user:pass@server:port apt-get update env http_proxy=http://user:pass@server:port apt-get install tzdata where user=username, pass=password, server=proxy server, and port=proxy port. Then run: dpkg-reconfigure tzdata and select your geographical region and timezone. Be sure to use a terminal session that supports escape sequences. When you are done, the only files that are changed/created in /etc are: /etc/timezone /etc/localtime These need to be copied to your /.readonly directory. I also used rsync to sync up the /var directory with /.readonly/var, but it is probably not necessary. There were some apt lists that were new after the install. You will also have the necessary files installed in /usr/share/zoneinfo. Reference the following websites for more information: http://forums.debian.net/viewtopic.php?f=6&t=15348 http://www.pc-freak.net/blog/how-to-change-timezone-in-debian-linux/ Link to comment Share on other sites More sharing options...
Recommended Posts