Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] tz-data won't update on armv6 armv7
@ 2022-11-06 13:33 beginner3456789
  2022-11-06 14:23 ` beginner3456789
                   ` (27 more replies)
  0 siblings, 28 replies; 29+ messages in thread
From: beginner3456789 @ 2022-11-06 13:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1785 bytes --]

New issue by beginner3456789 on void-packages repository

https://github.com/void-linux/void-packages/issues/40357

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.


^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: tz-data won't update on armv6 armv7
  2022-11-06 13:33 [ISSUE] tz-data won't update on armv6 armv7 beginner3456789
@ 2022-11-06 14:23 ` beginner3456789
  2022-11-06 22:16 ` Duncaen
                   ` (26 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: beginner3456789 @ 2022-11-06 14:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 275 bytes --]

New comment by beginner3456789 on void-packages repository

https://github.com/void-linux/void-packages/issues/40357#issuecomment-1304813342

Comment:
I just noted the leading dot at ./usr/share/zoneinfo/posix/Canada so maybe the relative path is the problem. Just guessing.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: tz-data won't update on armv6 armv7
  2022-11-06 13:33 [ISSUE] tz-data won't update on armv6 armv7 beginner3456789
  2022-11-06 14:23 ` beginner3456789
@ 2022-11-06 22:16 ` Duncaen
  2022-11-07  1:54 ` beginner3456789
                   ` (25 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: Duncaen @ 2022-11-06 22:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 602 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/40357#issuecomment-1304908528

Comment:
> I just noted the leading dot at ./usr/share/zoneinfo/posix/Canada so maybe the relative path is the problem. Just guessing.

Thats not an issue, all files are like that.

The issue is that there is a file in that directory that is not tracked by the package manager and the directory is going to be replaced by a symlink. Since the file is untracked its considered "userdata" and xbps won't delete it, resulting it saying it can't delete the directory.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: tz-data won't update on armv6 armv7
  2022-11-06 13:33 [ISSUE] tz-data won't update on armv6 armv7 beginner3456789
  2022-11-06 14:23 ` beginner3456789
  2022-11-06 22:16 ` Duncaen
@ 2022-11-07  1:54 ` beginner3456789
  2022-11-10 11:02 ` superiums
                   ` (24 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: beginner3456789 @ 2022-11-07  1:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2244 bytes --]

New comment by beginner3456789 on void-packages repository

https://github.com/void-linux/void-packages/issues/40357#issuecomment-1304981922

Comment:
Sorry for the wild guess about the path. There must be another reason for the ERROR when trying to delete the files. The tz-data is totally stock for both the raspberry pi zero and the raspberry pi 2 so everybody who tries to update the tz-data package should also have a show-stopper while updating.

I looked inside the xbps INSTALL file and found this in zoneinfo/right/Canada/:
-rw-r--r--  1 root root 1534 May  3  2018 East-Saskatchewan
and in zoneinfo/posix/Canada/:
-rw-r--r--  1 root root  994 May  3  2018 East-Saskatchewan

So taking the hint from the xbps INSTALL file I manually deleted the zoneinfo/right and zoneinfo/posix directories. Now the xbps complained about the missing files yet continued to completion without blocking:

...many similar lines not shown and finally...
ERROR: tzdata-2022f_2: failed to remove obsolete entry `./usr/share/zoneinfo/right/Chile': No such file or directory
ERROR: tzdata-2022f_2: failed to remove obsolete entry `./usr/share/zoneinfo/posix/Asia': No such file or directory
tzdata-2022f_2: removed obsolete entry: ./usr/share/zoneinfo/posixrules
ERROR: tzdata-2022f_2: failed to remove obsolete entry `./usr/share/zoneinfo/right/Asia': No such file or directory
ERROR: tzdata-2022f_2: failed to remove obsolete entry `./usr/share/zoneinfo/posix/Etc': No such file or directory
ERROR: tzdata-2022f_2: failed to remove obsolete entry `./usr/share/zoneinfo/right/Etc': No such file or directory
ERROR: tzdata-2022f_2: failed to remove obsolete entry `./usr/share/zoneinfo/posix/US': No such file or directory
ERROR: tzdata-2022f_2: failed to remove obsolete entry `./usr/share/zoneinfo/right/US': No such file or directory

[*] Configuring unpacked packages
tzdata-2022f_2: configuring ...
tzdata-2022f_2: updated successfully.

0 downloaded, 0 installed, 1 updated, 1 configured, 0 removed.
Press any key to continue...

This might only be a problem for other Raspberry Pi's with tz-data containing the old East-Saskatchewan entries.
This fixes my Raspberries so I hope others can use this fix for this same issue.


^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: tz-data won't update on armv6 armv7
  2022-11-06 13:33 [ISSUE] tz-data won't update on armv6 armv7 beginner3456789
                   ` (2 preceding siblings ...)
  2022-11-07  1:54 ` beginner3456789
@ 2022-11-10 11:02 ` superiums
  2022-11-12 21:39 ` paper42
                   ` (23 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: superiums @ 2022-11-10 11:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 206 bytes --]

New comment by superiums on void-packages repository

https://github.com/void-linux/void-packages/issues/40357#issuecomment-1310113719

Comment:
Thanks for the solution.
succeeded on my termux on android.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: tz-data won't update on armv6 armv7
  2022-11-06 13:33 [ISSUE] tz-data won't update on armv6 armv7 beginner3456789
                   ` (3 preceding siblings ...)
  2022-11-10 11:02 ` superiums
@ 2022-11-12 21:39 ` paper42
  2022-11-14  0:48 ` beginner3456789
                   ` (22 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: paper42 @ 2022-11-12 21:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 177 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/issues/40357#issuecomment-1312578262

Comment:
related to / duplicate? of #38363

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: tz-data won't update on armv6 armv7
  2022-11-06 13:33 [ISSUE] tz-data won't update on armv6 armv7 beginner3456789
                   ` (4 preceding siblings ...)
  2022-11-12 21:39 ` paper42
@ 2022-11-14  0:48 ` beginner3456789
  2022-11-25 12:39 ` dataCobra
                   ` (21 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: beginner3456789 @ 2022-11-14  0:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 783 bytes --]

New comment by beginner3456789 on void-packages repository

https://github.com/void-linux/void-packages/issues/40357#issuecomment-1312893870

Comment:
Yes, this does seem to be a duplicate of #38363. The comment where sgn commented Jul 31, 2022 about East Saskatchewan seem about the same. I ran a search for tz-data issues and failed to see these previous issues.

I rarely update my Raspberry Pis so probably failed to install the update when those East Saskatchewan entries were being removed. They were still there when the most recent update threw an ERROR for failing to remove a non-empty directory and halted. I probably could have just deleted the East Saskatchewan entries and the update would have worked?

So this issue could be joined with #38363 for convenience.


^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: tz-data won't update on armv6 armv7
  2022-11-06 13:33 [ISSUE] tz-data won't update on armv6 armv7 beginner3456789
                   ` (5 preceding siblings ...)
  2022-11-14  0:48 ` beginner3456789
@ 2022-11-25 12:39 ` dataCobra
  2022-11-27 14:22 ` beginner3456789
                   ` (20 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: dataCobra @ 2022-11-25 12:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 295 bytes --]

New comment by dataCobra on void-packages repository

https://github.com/void-linux/void-packages/issues/40357#issuecomment-1327425497

Comment:
Hey @beginner3456789, can you confirm that the problem is fixed?

If so, please close the issue, otherwise close this issue and open #38363 please.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: tz-data won't update on armv6 armv7
  2022-11-06 13:33 [ISSUE] tz-data won't update on armv6 armv7 beginner3456789
                   ` (6 preceding siblings ...)
  2022-11-25 12:39 ` dataCobra
@ 2022-11-27 14:22 ` beginner3456789
  2022-11-27 14:26 ` beginner3456789
                   ` (19 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: beginner3456789 @ 2022-11-27 14:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 399 bytes --]

New comment by beginner3456789 on void-packages repository

https://github.com/void-linux/void-packages/issues/40357#issuecomment-1328257703

Comment:
The issue is not fixed yet as the packages are still the same as when the problem first happened. I feel a package blocking updates is a serious issue. However, this seems to be a duplicate of #38363 so can be closed. The issue is not yet fixed.


^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: tz-data won't update on armv6 armv7
  2022-11-06 13:33 [ISSUE] tz-data won't update on armv6 armv7 beginner3456789
                   ` (7 preceding siblings ...)
  2022-11-27 14:22 ` beginner3456789
@ 2022-11-27 14:26 ` beginner3456789
  2022-11-27 14:31 ` beginner3456789
                   ` (18 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: beginner3456789 @ 2022-11-27 14:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 171 bytes --]

New comment by beginner3456789 on void-packages repository

https://github.com/void-linux/void-packages/issues/40357#issuecomment-1328258391

Comment:
Duplicate of #38363

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: tz-data won't update on armv6 armv7
  2022-11-06 13:33 [ISSUE] tz-data won't update on armv6 armv7 beginner3456789
                   ` (8 preceding siblings ...)
  2022-11-27 14:26 ` beginner3456789
@ 2022-11-27 14:31 ` beginner3456789
  2022-11-27 14:41 ` beginner3456789
                   ` (17 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: beginner3456789 @ 2022-11-27 14:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 248 bytes --]

New comment by beginner3456789 on void-packages repository

https://github.com/void-linux/void-packages/issues/40357#issuecomment-1328258391

Comment:
Duplicate of #38363

Tried to "close as not planned" this issue except github still says open!

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: tz-data won't update on armv6 armv7
  2022-11-06 13:33 [ISSUE] tz-data won't update on armv6 armv7 beginner3456789
                   ` (9 preceding siblings ...)
  2022-11-27 14:31 ` beginner3456789
@ 2022-11-27 14:41 ` beginner3456789
  2022-11-27 14:45 ` beginner3456789
                   ` (16 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: beginner3456789 @ 2022-11-27 14:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 248 bytes --]

New comment by beginner3456789 on void-packages repository

https://github.com/void-linux/void-packages/issues/40357#issuecomment-1328258391

Comment:
Duplicate of #38363

Tried to "close as not planned" this issue except github still says open!

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: tz-data won't update on armv6 armv7
  2022-11-06 13:33 [ISSUE] tz-data won't update on armv6 armv7 beginner3456789
                   ` (10 preceding siblings ...)
  2022-11-27 14:41 ` beginner3456789
@ 2022-11-27 14:45 ` beginner3456789
  2022-11-27 14:57 ` beginner3456789
                   ` (15 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: beginner3456789 @ 2022-11-27 14:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 489 bytes --]

New comment by beginner3456789 on void-packages repository

https://github.com/void-linux/void-packages/issues/40357#issuecomment-1328257703

Comment:
The issue is not fixed yet as the tzdata-2022f_c package has not been changed from when the problem first happened. I feel a package blocking updates is a serious issue. This issue is similar to #38363 except that references the package tzdata-2022a_2 so that is different. The #38363 has been closed while this issue is not yet fixed.


^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: tz-data won't update on armv6 armv7
  2022-11-06 13:33 [ISSUE] tz-data won't update on armv6 armv7 beginner3456789
                   ` (11 preceding siblings ...)
  2022-11-27 14:45 ` beginner3456789
@ 2022-11-27 14:57 ` beginner3456789
  2022-12-03  0:59 ` beginner3456789
                   ` (14 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: beginner3456789 @ 2022-11-27 14:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1405 bytes --]

New comment by beginner3456789 on void-packages repository

https://github.com/void-linux/void-packages/issues/40357#issuecomment-1328257703

Comment:
The issue is not fixed yet as the tzdata-2022f_2 package has not been changed from when the problem first happened and continues to refuse to upgrade normally. I feel a package blocking updates is a serious issue. I can work around the problem except there might be others who could not besides the problem being a nuisance.

This issue is similar to #38363 except that references the package tzdata-2022a_2 so that is different. The #38363 has been closed while this issue is not yet fixed:

-bash-5.1# xbps-query -s tzdata
[*] tzdata-2021c_1 Time zone and daylight-saving time data
-bash-5.1# xbps-install tzdata

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# date
Sun Nov 27 06:49:59 AM PST 2022
-bash-5.1# 


^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: tz-data won't update on armv6 armv7
  2022-11-06 13:33 [ISSUE] tz-data won't update on armv6 armv7 beginner3456789
                   ` (12 preceding siblings ...)
  2022-11-27 14:57 ` beginner3456789
@ 2022-12-03  0:59 ` beginner3456789
  2022-12-03  1:10 ` beginner3456789
                   ` (13 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: beginner3456789 @ 2022-12-03  0:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 963 bytes --]

New comment by beginner3456789 on void-packages repository

https://github.com/void-linux/void-packages/issues/40357#issuecomment-1335994232

Comment:
Still the same problem with the newer tzdata:

-bash-5.1# xbps-install tzdata

Name   Action    Version           New version            Download size
tzdata update    2021c_1           2022g_1                225KB 

Size to download:              226KB
Size required on disk:        1162KB
Space available on disk:        56GB

Do you want to continue? [Y/n]  

[*] Downloading packages
tzdata-2022g_1.armv7l.xbps.sig: 512B [avg rate: 6494KB/s]
tzdata-2022g_1.armv7l.xbps: 225KB [avg rate: 51MB/s]
tzdata-2022g_1: verifying RSA signature...

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


^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: tz-data won't update on armv6 armv7
  2022-11-06 13:33 [ISSUE] tz-data won't update on armv6 armv7 beginner3456789
                   ` (13 preceding siblings ...)
  2022-12-03  0:59 ` beginner3456789
@ 2022-12-03  1:10 ` beginner3456789
  2022-12-03  2:40 ` sgn
                   ` (12 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: beginner3456789 @ 2022-12-03  1:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2356 bytes --]

New comment by beginner3456789 on void-packages repository

https://github.com/void-linux/void-packages/issues/40357#issuecomment-1335994232

Comment:
Still the same problem with the newer tzdata:

-bash-5.1# xbps-install tzdata

Name   Action    Version           New version            Download size
tzdata update    2021c_1           2022g_1                225KB 

Size to download:              226KB
Size required on disk:        1162KB
Space available on disk:        56GB

Do you want to continue? [Y/n]  

[*] Downloading packages
tzdata-2022g_1.armv7l.xbps.sig: 512B [avg rate: 6494KB/s]
tzdata-2022g_1.armv7l.xbps: 225KB [avg rate: 51MB/s]
tzdata-2022g_1: verifying RSA signature...

[*] Collecting package files
tzdata-2022g_1: collecting files...
tzdata-2021c_1: collecting files...
ERROR: tzdata-2022g_1: directory `./usr/share/zoneinfo/posix/Canada' can not be deleted.
Transaction failed! see above for errors.
-bash-5.1# 
-bash-5.1# ls -al /usr/share/zoneinfo/posix/Canada
total 34
drwxr-xr-x  2 root root 3488 Dec 22  2020 .
drwxr-xr-x 18 root root 3488 Nov  7  2021 ..
-rw-r--r--  2 root root 3424 Oct  3  2021 Atlantic
-rw-r--r--  2 root root 2868 Oct  3  2021 Central
-rw-r--r--  1 root root  994 May  3  2018 East-Saskatchewan
-rw-r--r--  4 root root 3494 Oct  3  2021 Eastern
-rw-r--r--  2 root root 2332 Oct  3  2021 Mountain
-rw-r--r--  2 root root 3655 Oct  3  2021 Newfoundland
-rw-r--r--  2 root root 2892 Oct  3  2021 Pacific
-rw-r--r--  2 root root  980 Oct  3  2021 Saskatchewan
-rw-r--r--  2 root root 1614 Oct  3  2021 Yukon
-bash-5.1# 
-bash-5.1# ls -al /usr/share/zoneinfo/right/Canada
total 41
drwxr-xr-x  2 root root 3488 Nov  7  2021 .
drwxr-xr-x 18 root root 3488 Nov  7  2021 ..
-rw-r--r--  2 root root 3964 Oct  3  2021 Atlantic
-rw-r--r--  2 root root 3408 Oct  3  2021 Central
-rw-r--r--  1 root root 1534 May  3  2018 East-Saskatchewan
-rw-r--r--  4 root root 4034 Oct  3  2021 Eastern
-rw-r--r--  2 root root 2872 Oct  3  2021 Mountain
-rw-r--r--  2 root root 4195 Oct  3  2021 Newfoundland
-rw-r--r--  2 root root 3432 Oct  3  2021 Pacific
-rw-r--r--  2 root root 1520 Oct  3  2021 Saskatchewan
-rw-r--r--  2 root root 2154 Oct  3  2021 Yukon
-bash-5.1# uname -a
Linux rp3void.lan 5.15.72_1 #1 SMP Sun Oct 16 14:46:40 UTC 2022 armv7l GNU/Linux
-bash-5.1# 


^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: tz-data won't update on armv6 armv7
  2022-11-06 13:33 [ISSUE] tz-data won't update on armv6 armv7 beginner3456789
                   ` (14 preceding siblings ...)
  2022-12-03  1:10 ` beginner3456789
@ 2022-12-03  2:40 ` sgn
  2022-12-03 19:32 ` beginner3456789
                   ` (11 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: sgn @ 2022-12-03  2:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 224 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/40357#issuecomment-1336019677

Comment:
Please remove `/usr/share/zoneinfo/posix/` and `/usr/share/zoneinfo/right` manually.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: tz-data won't update on armv6 armv7
  2022-11-06 13:33 [ISSUE] tz-data won't update on armv6 armv7 beginner3456789
                   ` (15 preceding siblings ...)
  2022-12-03  2:40 ` sgn
@ 2022-12-03 19:32 ` beginner3456789
  2022-12-03 19:51 ` Duncaen
                   ` (10 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: beginner3456789 @ 2022-12-03 19:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 591 bytes --]

New comment by beginner3456789 on void-packages repository

https://github.com/void-linux/void-packages/issues/40357#issuecomment-1336243732

Comment:
Yes, that would fix my computer except the Void tzdata package would still be broken.

Someplace along the way the Void tzdata package appears to have lost track of the East-Saskatchewan files so the directory is not empty when the tzdata is getting ready to change to a symbolic link causing the error. I doubt I am the only one with this problem so a quick fix on my computer just leaves the same problem for everybody else to solve.


^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: tz-data won't update on armv6 armv7
  2022-11-06 13:33 [ISSUE] tz-data won't update on armv6 armv7 beginner3456789
                   ` (16 preceding siblings ...)
  2022-12-03 19:32 ` beginner3456789
@ 2022-12-03 19:51 ` Duncaen
  2022-12-04 14:14 ` beginner3456789
                   ` (9 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: Duncaen @ 2022-12-03 19:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 300 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/40357#issuecomment-1336246667

Comment:
There is nothing we can do about that, there are untracked files in the directory for some unknown reason, xbps does not delete untracked files (user data).

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: tz-data won't update on armv6 armv7
  2022-11-06 13:33 [ISSUE] tz-data won't update on armv6 armv7 beginner3456789
                   ` (17 preceding siblings ...)
  2022-12-03 19:51 ` Duncaen
@ 2022-12-04 14:14 ` beginner3456789
  2022-12-04 14:29 ` Duncaen
                   ` (8 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: beginner3456789 @ 2022-12-04 14:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 890 bytes --]

New comment by beginner3456789 on void-packages repository

https://github.com/void-linux/void-packages/issues/40357#issuecomment-1336422630

Comment:
Does anything look wrong with this tzdata INSTALL file pre(remove) action? I haven't looked at these before so don't see why this doesn't work. Maybe just removing the East-Saskatchewan entries would be better during pre-remove and then the regular package update would complete the planned changes.

case "${ACTION}" in
pre)
        # Due to some reasons, some old timezone was kept
        # The latest one would be Canada/East-Saskatchewan in 2017c
        # Don't force remove on everyone since it will spit error on update
        if [ -f usr/share/zoneinfo/right/Canada/East-Saskatchewan ]; then
                rm -rf usr/share/zoneinfo/posix
                rm -rf usr/share/zoneinfo/right
        fi
        ;;
esac


^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: tz-data won't update on armv6 armv7
  2022-11-06 13:33 [ISSUE] tz-data won't update on armv6 armv7 beginner3456789
                   ` (18 preceding siblings ...)
  2022-12-04 14:14 ` beginner3456789
@ 2022-12-04 14:29 ` Duncaen
  2022-12-04 14:30 ` Duncaen
                   ` (7 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: Duncaen @ 2022-12-04 14:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 499 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/40357#issuecomment-1336426906

Comment:
The scripts don't run at the stage where your update aborts, this is the file conflict/obsolete files detection where its still safe to abort the update since nothing is actually changed.
When the scripts run they change the system, they can't run safely at that stage because then aborting the update/installation might have changed things unexpectedly.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: tz-data won't update on armv6 armv7
  2022-11-06 13:33 [ISSUE] tz-data won't update on armv6 armv7 beginner3456789
                   ` (19 preceding siblings ...)
  2022-12-04 14:29 ` Duncaen
@ 2022-12-04 14:30 ` Duncaen
  2022-12-04 14:31 ` Duncaen
                   ` (6 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: Duncaen @ 2022-12-04 14:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 693 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/40357#issuecomment-1336426906

Comment:
The scripts don't run at the stage where your update aborts, this is the file conflict/obsolete files detection where its still safe to abort the update since nothing is actually changed (or deleted in this case, xbps in this case just counts files it tracks and sees that there is one file too much and aborts since it won't be able to delete that file without deleting userdata).
When the scripts run they change the system, they can't run safely at that stage because then aborting the update/installation might have changed things unexpectedly.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: tz-data won't update on armv6 armv7
  2022-11-06 13:33 [ISSUE] tz-data won't update on armv6 armv7 beginner3456789
                   ` (20 preceding siblings ...)
  2022-12-04 14:30 ` Duncaen
@ 2022-12-04 14:31 ` Duncaen
  2022-12-04 14:32 ` Duncaen
                   ` (5 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: Duncaen @ 2022-12-04 14:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 693 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/40357#issuecomment-1336426906

Comment:
The scripts don't run at the stage where your update aborts, this is the file conflict/obsolete files detection where its still safe to abort the update since nothing is actually changed (or deleted in this case, xbps in this case just counts files it tracks and sees that there is one file too many and aborts since it won't be able to delete that file without deleting userdata).
When the scripts run they change the system, they can't run safely at that stage because then aborting the update/installation might have changed things unexpectedly.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: tz-data won't update on armv6 armv7
  2022-11-06 13:33 [ISSUE] tz-data won't update on armv6 armv7 beginner3456789
                   ` (21 preceding siblings ...)
  2022-12-04 14:31 ` Duncaen
@ 2022-12-04 14:32 ` Duncaen
  2022-12-04 14:33 ` Duncaen
                   ` (4 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: Duncaen @ 2022-12-04 14:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 683 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/40357#issuecomment-1336426906

Comment:
The scripts don't run at the stage where your update aborts, this is the file conflict/obsolete files detection where its still safe to abort the update since nothing is actually changed (or deleted in this case, xbps in this case just counts files it tracks and sees that there is one file too many and aborts since it won't be able to delete that file without deleting userdata).

When the scripts run they change the system, so can't really run safely before this stage without changing the system when an actual conflict is detected.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: tz-data won't update on armv6 armv7
  2022-11-06 13:33 [ISSUE] tz-data won't update on armv6 armv7 beginner3456789
                   ` (22 preceding siblings ...)
  2022-12-04 14:32 ` Duncaen
@ 2022-12-04 14:33 ` Duncaen
  2022-12-04 14:34 ` Duncaen
                   ` (3 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: Duncaen @ 2022-12-04 14:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 763 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/40357#issuecomment-1336426906

Comment:
The scripts don't run at the stage where your update aborts, this is the file conflict/obsolete files detection where its still safe to abort the update since nothing is actually changed (or deleted in this case, xbps in this case just counts files it tracks and deletes in that directory that is supposed to be replaced with a symlink and sees that there are too many files and then aborts since it won't be able to delete that file without deleting userdata).

When the scripts run they change the system, so can't really run safely before this stage without changing the system when an actual conflict is detected.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: tz-data won't update on armv6 armv7
  2022-11-06 13:33 [ISSUE] tz-data won't update on armv6 armv7 beginner3456789
                   ` (23 preceding siblings ...)
  2022-12-04 14:33 ` Duncaen
@ 2022-12-04 14:34 ` Duncaen
  2022-12-04 15:21 ` beginner3456789
                   ` (2 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: Duncaen @ 2022-12-04 14:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 815 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/40357#issuecomment-1336426906

Comment:
The scripts don't run at the stage where your update aborts, this is the file conflict/obsolete files detection where its still safe to abort the update since nothing is actually changed (or deleted in this case, xbps in this case just counts files it tracks and deletes in that directory that is supposed to be replaced with a symlink and sees that there are too many files and then aborts since it won't be able to delete that file without deleting userdata).

When the scripts run they change the system, so can't really run safely before this stage without changing the system when an actual conflict is detected and the update is aborted after running the scripts.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: tz-data won't update on armv6 armv7
  2022-11-06 13:33 [ISSUE] tz-data won't update on armv6 armv7 beginner3456789
                   ` (24 preceding siblings ...)
  2022-12-04 14:34 ` Duncaen
@ 2022-12-04 15:21 ` beginner3456789
  2022-12-04 16:41 ` beginner3456789
  2023-09-16 23:41 ` beginner3456789
  27 siblings, 0 replies; 29+ messages in thread
From: beginner3456789 @ 2022-12-04 15:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 841 bytes --]

New comment by beginner3456789 on void-packages repository

https://github.com/void-linux/void-packages/issues/40357#issuecomment-1336438040

Comment:
Thanks for the explanation Duncaen. So I have been looking into the files.plist info since that is probably where the update is halted. I found an old xbps file from my saved /var/cache/xbps backup:

    tzdata-2017c_1.noarch.xbps

This doesn't have the East-Saskatchewan entries at all and they are not listed in the files.plist. Maybe that is where the tracking was dropped. I haven't yet found an older tzdata xbps except might have one on an older machine that hasn't been started for a couple of years.

I wonder if the East-Saskatchewan could be added to the files.plist and then removed in the script? Otherwise this looks like it might be one of those "won't fix" problems.


^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: tz-data won't update on armv6 armv7
  2022-11-06 13:33 [ISSUE] tz-data won't update on armv6 armv7 beginner3456789
                   ` (25 preceding siblings ...)
  2022-12-04 15:21 ` beginner3456789
@ 2022-12-04 16:41 ` beginner3456789
  2023-09-16 23:41 ` beginner3456789
  27 siblings, 0 replies; 29+ messages in thread
From: beginner3456789 @ 2022-12-04 16:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1052 bytes --]

New comment by beginner3456789 on void-packages repository

https://github.com/void-linux/void-packages/issues/40357#issuecomment-1336438040

Comment:
Thanks for the explanation Duncaen. So I have been looking into the files.plist info since that is probably where the update is halted. I found an old xbps file from my saved /var/cache/xbps backup:

    tzdata-2017c_1.noarch.xbps

This doesn't have the East-Saskatchewan entries at all and they are not listed in the files.plist. Maybe that is where the tracking was dropped. I haven't yet found an older tzdata xbps except might have one on an older machine that hasn't been started for a couple of years.

I wonder if the East-Saskatchewan could be added to the files.plist and then removed in the script? Otherwise this looks like it might be one of those "won't fix" problems.

EDIT: This is strange. I found the tzdata-2018e_1.noarch.xbps dated 3 May 2018 and there is no entry anywhere for East-Saskatchewan yet my raspberry pi still has the East-Saskatchewan files dated 3 May 2018.


^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: tz-data won't update on armv6 armv7
  2022-11-06 13:33 [ISSUE] tz-data won't update on armv6 armv7 beginner3456789
                   ` (26 preceding siblings ...)
  2022-12-04 16:41 ` beginner3456789
@ 2023-09-16 23:41 ` beginner3456789
  27 siblings, 0 replies; 29+ messages in thread
From: beginner3456789 @ 2023-09-16 23:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1552 bytes --]

New comment by beginner3456789 on void-packages repository

https://github.com/void-linux/void-packages/issues/40357#issuecomment-1722342011

Comment:
I found a lot of old xbps files showing where the East-Saskatchewan entry was dropped:

tzdata-2016e_1.noarch.xbps
./usr/share/zoneinfo/Canada/East-Saskatchewan

tzdata-2016f_2.noarch.xbps
./usr/share/zoneinfo/Canada/East-Saskatchewan

tzdata-2016g_1.noarch.xbps
./usr/share/zoneinfo/Canada/East-Saskatchewan

tzdata-2016g_2.noarch.xbps
./usr/share/zoneinfo/Canada/East-Saskatchewan

tzdata-2016h_1.noarch.xbps
./usr/share/zoneinfo/Canada/East-Saskatchewan

tzdata-2016i_1.noarch.xbps
./usr/share/zoneinfo/Canada/East-Saskatchewan

tzdata-2016j_1.noarch.xbps
./usr/share/zoneinfo/Canada/East-Saskatchewan

tzdata-2017a_1.noarch.xbps
./usr/share/zoneinfo/Canada/East-Saskatchewan

tzdata-2017b_1.noarch.xbps
./usr/share/zoneinfo/Canada/East-Saskatchewan

tzdata-2017c_1.noarch.xbps
tar: ./usr/share/zoneinfo/Canada/East-Saskatchewan: Not found in archive

tzdata-2018c_1.noarch.xbps
tar: ./usr/share/zoneinfo/Canada/East-Saskatchewan: Not found in archive

tzdata-2018d_1.noarch.xbps
tar: ./usr/share/zoneinfo/Canada/East-Saskatchewan: Not found in archive

tzdata-2018e_1.noarch.xbps
tar: ./usr/share/zoneinfo/Canada/East-Saskatchewan: Not found in archive

I used this script:

    #!/bin/sh
    for archive in tzdata-*.xbps
     do
     echo "$archive"
     tar --list ./usr/share/zoneinfo/Canada/East-Saskatchewan -f "$archive"
     echo
    done


^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2023-09-16 23:41 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-06 13:33 [ISSUE] tz-data won't update on armv6 armv7 beginner3456789
2022-11-06 14:23 ` beginner3456789
2022-11-06 22:16 ` Duncaen
2022-11-07  1:54 ` beginner3456789
2022-11-10 11:02 ` superiums
2022-11-12 21:39 ` paper42
2022-11-14  0:48 ` beginner3456789
2022-11-25 12:39 ` dataCobra
2022-11-27 14:22 ` beginner3456789
2022-11-27 14:26 ` beginner3456789
2022-11-27 14:31 ` beginner3456789
2022-11-27 14:41 ` beginner3456789
2022-11-27 14:45 ` beginner3456789
2022-11-27 14:57 ` beginner3456789
2022-12-03  0:59 ` beginner3456789
2022-12-03  1:10 ` beginner3456789
2022-12-03  2:40 ` sgn
2022-12-03 19:32 ` beginner3456789
2022-12-03 19:51 ` Duncaen
2022-12-04 14:14 ` beginner3456789
2022-12-04 14:29 ` Duncaen
2022-12-04 14:30 ` Duncaen
2022-12-04 14:31 ` Duncaen
2022-12-04 14:32 ` Duncaen
2022-12-04 14:33 ` Duncaen
2022-12-04 14:34 ` Duncaen
2022-12-04 15:21 ` beginner3456789
2022-12-04 16:41 ` beginner3456789
2023-09-16 23:41 ` beginner3456789

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).