The following article will help you on how to fix the problem with tzdata package


Problem Condition:


admin@VOS-cli> request system package upgrade versa-flexvnf-20241025-111711-8bd4eda-22.1.3-B-wsm.bin
Will restart the appliance (all processes). Are you sure? [no,yes]yes
[admin@VOS: packages] $ 2025-01-27 11:43:39.618 INFO  [31581] Some of the packages on this system are not correctly installed ...
2025-01-27 11:43:39.626 INFO  [31581] Trying to resolve package inconsistencies...
2025-01-27 11:43:40.193 ERROR [31581] Failed to resolve following package inconsistencies...
2025-01-27 11:43:40.201 ERROR [31581] iF  tzdata
2025-01-27 11:43:40.210 ERROR [31581] Please contact Versa Support
2025-01-27 11:43:40.232 INFO  UPGRADE task ended.


[admin@VTODALQR01: packages] $ sudo dpkg -l | grep -v "ii"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name  Version  Architecture Description
+++-=====================================-====================================================-============-===============================================================================
iF  tzdata  2024a-0ubuntu0.18.04.1+esm1  all  time zone and daylight-saving time data



Check what the timezone on the appliance from the shell, if they are configured legacy timezones (single word Zones like “CET”/"CST6CDT" ) and move to <Country>/<City> based zones like Asia/Kolkata or Europe/London or America/Chicago




How to fix:


From shell

sudo timedatectl set-timezone Europe/London             <==used Europe/London as an example



Fix the package state using the below command

sudo dpkg --configure -a


Check the package state using the command below

sudo dpkg -l | grep -v "ii"


Supporting Article:

https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/2070285


Once, rectified then re-trigger the upgrade, if you still run into any issues contact us at [email protected]