I faced same problem with latest xenial build in lxd.

lxc init 7e745cf3a3a7 xenial
lxc start xenial
lxc exec xenial -- /bin/bash

root@xenial# echo 'Europe/Moscow' > /etc/timezone
root@xenial# dpkg-reconfigure -f noninteractive tzdata
root@xenial# cat /etc/timezone 
Etc/UTC

And nothing will be happened. Timezone is not changed.

I suppose that it is a tzdata package bug in 16.04.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to tzdata in Ubuntu.
https://bugs.launchpad.net/bugs/1556527

Title:
  tzdate upgrade fails wih invalid format error during Xenial upgrade

Status in tzdata package in Ubuntu:
  New

Bug description:
  Everything looks fine;  Not sure what is invalid about the format.  I
  am EST, the output is in UTC.

  Breaks the upgrade after from 15.05 at a point where is says it
  completed with errors, but some 200+ packages remaining.

  
  Setting up tzdata (2016a-1) ...

  Current default time zone: 'America/Toronto'
  date: invalid date 'Sun Mar 13 02:32:57 UTC 2016'
  dpkg: error processing package tzdata (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   tzdata
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: tzdata 2016a-1
  ProcVersionSignature: Ubuntu 4.2.0-30.36-generic 4.2.8-ckt3
  Uname: Linux 4.2.0-30-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  Date: Sat Mar 12 21:35:07 2016
  InstallationDate: Installed on 2014-10-22 (507 days ago)
  InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 
(20140722.2)
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=en_CA:en
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=en_CA.UTF-8
   SHELL=/bin/bash
  SourcePackage: tzdata
  UpgradeStatus: Upgraded to xenial on 2016-03-13 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/1556527/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to