tz-brasil wasn't updating correctly the BRST timezone after upgrade to intrepid from hardy

Bug #294435 reported by Diogo Matsubara
6
Affects Status Importance Assigned to Milestone
tz-brasil (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: tz-brasil

After upgrading from hardy to intrepid my timezone information wasn't updated according to BRST (brazilian summer time)

My workaround to the problem was to remove and re-install the package. (i.e. apt-get remove tz-brasil and apt-get install tz-brasil). That solved the problem as when the package is re-installed it downloads the new tz database.

Revision history for this message
Christian Reis (kiko) wrote :

The actual problem seems to be that tz-brasil has already cached an updated version of the timezone file in /var/lib/tz-brasil/info, but that file was out of date with the rest of the system. Even when I told it to --force, it would download the file but then refuse to update the system zoneinfo database.

Revision history for this message
Pedro Zorzenon Neto (pzn) wrote :

I got what the problem is.

It works like this:
 1 - tz-brasil fetches the timezone information
 2 - it compares with the last fetch
 3 - if it finds changes in the fetched file, it runs the command "zic" to "compile" the timezone changes (that saves information in /usr/share/zoneinfo

when we upgraded to intrepid, the tzdata package overwrited the files in /usr/share/zoneinfo

maybe the solution is a better integration with tzdata package...

this would solve:
  1 - change the option of tz-brasil "--force" to run the zic command anyway
  2 - add to tzdata postinst a command to run tz-brasil if it is installed

what do you think about this solution? is there a better one?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.