Package Details: tzupdate 3.1.0-1

Git Clone URL: (read-only, click to copy)
Package Base: tzupdate
Description: Set the system timezone based on IP geolocation
Upstream URL:
Licenses: MIT
Submitter: cdown
Maintainer: cdown
Last Packager: cdown
Votes: 22
Popularity: 0.008820
First Submitted: 2015-09-06 22:18 (UTC)
Last Updated: 2023-11-09 15:18 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

gi1242 commented on 2024-06-02 13:47 (UTC)

I can confirm I also get the link failure Big-B mentioned. Adding options=(!lto) and doing a clean build fixed it for me as well.

Big-B commented on 2024-03-27 18:17 (UTC) (edited on 2024-03-27 18:17 (UTC) by Big-B)

Could you add


Running into this issue with this PKGBUILD:

HurricanePootis commented on 2023-12-04 05:13 (UTC)

@obessedLeopard6, rust builds need wifi to download stuff from cargo

obsessedLeopard6 commented on 2023-12-03 08:10 (UTC)

This build does not work without network access.

r08 commented on 2023-10-23 13:32 (UTC) (edited on 2023-10-23 14:45 (UTC) by r08)

Anyone using this package can update to the latest version using this PKGBUILD. The author has switched to rust from python. Must run a recent version of rust.

 # Maintainer: Chris Down <>

 pkgdesc='Set the system timezone based on IP geolocation'
 license=('Public Domain')

 package() {
     cd "${srcdir?}/$pkgname-$pkgver" || return 1
     cargo install tzupdate --locked --root="${pkgdir?}/usr"
     rm -rf "$pkgdir"/usr/{.crates2.json,.crates.toml}

dncrash commented on 2022-01-11 00:56 (UTC)

Thanks @cdown, can confirm it works after rebuild.

cdown commented on 2022-01-05 13:38 (UTC) (edited on 2022-01-05 13:39 (UTC) by cdown)

tzupdate works just fine.

[root@roujiamo ~]# pacman -Q tzupdate
tzupdate 2.0.0-1
[root@roujiamo ~]# tzupdate
Set system timezone to Europe/Amsterdam.
[root@roujiamo ~]# type -p python

As with every Python package from AUR, when the system python is upgraded you must rebuild Python packages to pick up new site-packages dir. Nothing different here.

dncrash commented on 2022-01-05 08:52 (UTC) (edited on 2022-01-11 00:55 (UTC) by dncrash)

Completely broken. Same error as in kflak's comment. Edit: My bad, package needed a rebuild due to a Python major version update; works now.

kflak commented on 2021-11-10 06:49 (UTC)

❯ sudo tzupdate Traceback (most recent call last): File "/usr/bin/tzupdate", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib/python3.9/site-packages/pkg_resources/", line 3243, in <module> def _initialize_master_working_set(): File "/usr/lib/python3.9/site-packages/pkg_resources/", line 3226, in _call_aside f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/pkg_resources/", line 3255, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3.9/site-packages/pkg_resources/", line 568, in _build_master ws.require(__requires__) File "/usr/lib/python3.9/site-packages/pkg_resources/", line 886, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3.9/site-packages/pkg_resources/", line 772, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'tzupdate==2.0.0' distribution was not found and is required by the application

Khal and others have been getting similar errors lately.

cdown commented on 2018-12-16 14:56 (UTC) (edited on 2018-12-16 14:56 (UTC) by cdown)

@flamusdiu it says this in the message :-)

PermissionError: [Errno 13] Could not link "/etc/localtime" ([Errno 13] Permission denied: '/etc/localtime'). Are you root?