My Environment
- Ubuntu 22.04
What I want to do
I want to upgrade ubuntu tzdata 2023d to 2024a.(I'm trying to install edgedb and edgedb depends on it(https://docs.edgedb.com/guides/deployment/bare_metal)
root@when2meet:~# apt-get install edgedb-4Reading package lists... DoneBuilding dependency tree... DoneReading state information... DoneSome packages could not be installed. This may mean that you haverequested an impossible situation or if you are using the unstabledistribution that some required packages have not yet been createdor been moved out of Incoming.The following information may help to resolve the situation:The following packages have unmet dependencies: edgedb-server-4 : Depends: tzdata (>= 2024a-0ubuntu0.22.04) but 2023d-0ubuntu0.22.04 is to be installedE: Unable to correct problems, you have held broken packages.
What I did
root@when2meet:~# sudo apt upgrade tzdataReading package lists... DoneBuilding dependency tree... DoneReading state information... Donetzdata is already the newest version (2023d-0ubuntu0.22.04).Calculating upgrade... DoneThe following packages were automatically installed and are no longer required: eatmydata libeatmydata1 python-babel-localedata python3-babel python3-certifi python3-jinja2 python3-json-pointer python3-jsonpatch python3-jsonschema python3-markupsafe python3-pyrsistent python3-requests python3-tz python3-urllib3Use 'sudo apt autoremove' to remove them.The following packages have been kept back: linux-generic linux-headers-generic linux-image-generic0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
root@when2meet:~# sudo apt list -a tzdataListing... Donetzdata/jammy-updates,now 2023d-0ubuntu0.22.04 all [installed]tzdata/jammy-security 2023c-0ubuntu0.22.04.0 alltzdata/jammy 2022a-0ubuntu1 all
The question
how do I upgrade the tzdata?