void-linux / void-linux/void-packages

tz-data won't update on armv6 armv7

Open
#40,357 16 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Shell
Stars
3.4k
Forks
2.8k
Avg merge
2d 5h
Merged PRs (30d)
299

Description

Is this a new report?

Yes

System Info

Void 5.15.72_1 armv7l Unknown uptodate hold rFFFF

Package(s) Affected

tz-data-2022f_2

Does a report exist for this bug with the project's home (upstream) and/or another distro?

unknown

Expected behaviour

The tz-data failed and would not allow the update to continue. This happened when updating both my raspberry pi zero (armv6) and raspberry pi 2 (armv7) for the first time since almost a year ago. That happened after first updating xbps and then downloading about a hundred packages. I put the old tz-data on hold to allow the update for the rest of the packages and then tried again with the same failure as shown below. I can't find the reason with the Canada problem shown below.

Actual behaviour

-bash-5.1# xbps-pkgdb -m unhold tzdata-2021c_1
-bash-5.1# xbps-install -Su
[*] Updating repository `https://repo-default.voidlinux.org/current/armv7l-repodata' ...

Name Action Version New version Download size
tzdata update 2021c_1 2022f_2 -

Size required on disk: 1161KB
Space available on disk: 56GB

Do you want to continue? [Y/n]

[*] Verifying package integrity
tzdata-2022f_2: verifying RSA signature...

[*] Collecting package files
tzdata-2022f_2: collecting files...
tzdata-2021c_1: collecting files...
ERROR: tzdata-2022f_2: directory `./usr/share/zoneinfo/posix/Canada' can not be deleted.
Transaction failed! see above for errors.
-bash-5.1#

Steps to reproduce

Problem happens when updating from 2021c_1 to 2022f_2 on both the raspberry pi zero and raspberry pi 2.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the 2021c_1 to 2022f_2 upgrade on armv6 and armv7 using xbps-install -Su after unholding tzdata. Investigate why the transaction cannot delete ./usr/share/zoneinfo/posix/Canada; done means tz-data updates without the directory-deletion error and the rest of the upgrade can continue.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, linux, raspberry-pi
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.