Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1223674 > unrolled thread

Bug#1089744: tzdata: oldstable version fails to update

Started byChristoph Egger <christoph@debian.org>
First post2024-12-12 01:40 +0100
Last post2024-12-30 23:40 +0100
Articles 6 — 4 participants

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#1089744: tzdata: oldstable version fails to update Christoph Egger <christoph@debian.org> - 2024-12-12 01:40 +0100
    Bug#1089744: tzdata: oldstable version fails to update Aurelien Jarno <aurelien@aurel32.net> - 2024-12-12 18:40 +0100
      Bug#1089744: tzdata: oldstable version fails to update Uwe Kleine-König <u.kleine-koenig@baylibre.com> - 2024-12-30 21:40 +0100
        Bug#1089744: tzdata: oldstable version fails to update Aurelien Jarno <aurel32@debian.org> - 2024-12-30 22:00 +0100
          Bug#1089744: tzdata: oldstable version fails to update Uwe Kleine-König <u.kleine-koenig@baylibre.com> - 2024-12-30 23:20 +0100
            Bug#1089744: tzdata: oldstable version fails to update Aurelien Jarno <aurel32@debian.org> - 2024-12-30 23:40 +0100

#1223674 — Bug#1089744: tzdata: oldstable version fails to update

FromChristoph Egger <christoph@debian.org>
Date2024-12-12 01:40 +0100
SubjectBug#1089744: tzdata: oldstable version fails to update
Message-ID<JSFpg-geiC-3@gated-at.bofh.it>
Package: tzdata
Version: 2024a-0+deb12u1
Severity: important

Hi!

tzdata update fails here, installing 2024a from /var/cache/apt gets the system back to working. This is from inside a systemd-nspawn.

Thank you

  Chistoph


(Reading database ... 65470 files and directories currently installed.)
Preparing to unpack .../tzdata_2024b-0+deb11u1_all.deb ...
Unpacking tzdata (2024b-0+deb11u1) over (2024a-0+deb12u1) ...
dpkg: error processing archive /var/cache/apt/archives/tzdata_2024b-0+deb11u1_all.deb (--unpack):
 unable to open '/usr/share/zoneinfo/posix/Africa/Abidjan.dpkg-new': No such file or directory
  Errors were encountered while processing:
    /var/cache/apt/archives/tzdata_2024b-0+deb11u1_all.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)



-- System Information:
Debian Release: 12.8
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'stable')
Architecture: arm64 (aarch64)

Kernel: Linux 6.1.0-28-arm64 (SMP w/2 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages tzdata depends on:
ii  debconf [debconf-2.0]  1.5.82

tzdata recommends no packages.

tzdata suggests no packages.

-- debconf information:
* tzdata/Zones/Etc: UTC
  tzdata/Zones/Antarctica:
  tzdata/Zones/Europe: Stockholm
  tzdata/Zones/Atlantic:
  tzdata/Zones/Indian:
  tzdata/Zones/Australia:
  tzdata/Zones/Pacific:
  tzdata/Zones/US:
  tzdata/Zones/Asia:
* tzdata/Areas: Etc
  tzdata/Zones/Africa:
  tzdata/Zones/Arctic:
  tzdata/Zones/America:

[toc] | [next] | [standalone]


#1223759

FromAurelien Jarno <aurelien@aurel32.net>
Date2024-12-12 18:40 +0100
Message-ID<JSVkl-grJN-15@gated-at.bofh.it>
In reply to#1223674
Hi,

On 2024-12-12 00:19, Christoph Egger wrote:
> Package: tzdata
> Version: 2024a-0+deb12u1
> Severity: important
> 
> Hi!
> 
> tzdata update fails here, installing 2024a from /var/cache/apt gets the system back to working. This is from inside a systemd-nspawn.
> 
> Thank you
> 
>   Chistoph
> 
> 
> (Reading database ... 65470 files and directories currently installed.)
> Preparing to unpack .../tzdata_2024b-0+deb11u1_all.deb ...
> Unpacking tzdata (2024b-0+deb11u1) over (2024a-0+deb12u1) ...
> dpkg: error processing archive /var/cache/apt/archives/tzdata_2024b-0+deb11u1_all.deb (--unpack):
>  unable to open '/usr/share/zoneinfo/posix/Africa/Abidjan.dpkg-new': No such file or directory
>   Errors were encountered while processing:
>     /var/cache/apt/archives/tzdata_2024b-0+deb11u1_all.deb
>       E: Sub-process /usr/bin/dpkg returned an error code (1)

Do I understand correctly that you try to downgrade tzdata from the
bookworm version to the bullseye version? 

Or is it the log of the rollback you did, as it seems to be implied by
the version against which the bug has been reported?

Regards
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                     http://aurel32.net

[toc] | [prev] | [next] | [standalone]


#1226201

FromUwe Kleine-König <u.kleine-koenig@baylibre.com>
Date2024-12-30 21:40 +0100
Message-ID<JZuIp-458I-23@gated-at.bofh.it>
In reply to#1223759

[Multipart message — attachments visible in raw view] — view raw

Hello Aurelien,

the problem described by Christoph happens for me, too.

On Thu, Dec 12, 2024 at 06:28:34PM +0100, Aurelien Jarno wrote:
> On 2024-12-12 00:19, Christoph Egger wrote:
> > Package: tzdata
> > Version: 2024a-0+deb12u1
> > Severity: important
> > 
> > Hi!
> > 
> > tzdata update fails here, installing 2024a from /var/cache/apt gets the system back to working. This is from inside a systemd-nspawn.
> > 
> > Thank you
> > 
> >   Chistoph
> > 
> > 
> > (Reading database ... 65470 files and directories currently installed.)
> > Preparing to unpack .../tzdata_2024b-0+deb11u1_all.deb ...
> > Unpacking tzdata (2024b-0+deb11u1) over (2024a-0+deb12u1) ...
> > dpkg: error processing archive /var/cache/apt/archives/tzdata_2024b-0+deb11u1_all.deb (--unpack):
> >  unable to open '/usr/share/zoneinfo/posix/Africa/Abidjan.dpkg-new': No such file or directory
> >   Errors were encountered while processing:
> >     /var/cache/apt/archives/tzdata_2024b-0+deb11u1_all.deb
> >       E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> Do I understand correctly that you try to downgrade tzdata from the
> bookworm version to the bullseye version? 

Well, yes and no. It tries to install the bullseye version over the one
from bookworm, but it's not a downgrade because 2024b-0+deb11u1 >
2024a-0+deb12u1.

$ apt policy tzdata
tzdata:
  Installed: 2024a-0+deb12u1
  Candidate: 2024b-0+deb11u1
  Version table:
     2024b-0+deb11u1 500
        500 http://security.debian.org/debian-security bullseye-security/main armhf Packages
 *** 2024a-0+deb12u1 500
        500 https://deb.debian.org/debian bookworm/main armhf Packages
        100 /var/lib/dpkg/status
     2024a-0+deb11u1 500
        500 http://deb.debian.org/debian bullseye/main armhf Packages
     2021a-1+deb11u11 500
        500 http://deb.debian.org/debian bullseye-updates/main armhf Packages

OK, you could argue I should have deleted the bullseye sources from my
apt configuration or at least have given bookworm a higher pin. But you
could also argue that bullseye-security shouldn't have a higer version
than bookworm(-security) or that the upgrade from 2024a-0+X to 2024b-0+X
should just work.

Best regards
Uwe

[toc] | [prev] | [next] | [standalone]


#1226208

FromAurelien Jarno <aurel32@debian.org>
Date2024-12-30 22:00 +0100
Message-ID<JZv1L-45fW-15@gated-at.bofh.it>
In reply to#1226201

[Multipart message — attachments visible in raw view] — view raw

Hi,

On 2024-12-30 21:32, Uwe Kleine-König wrote:
> Hello Aurelien,
> 
> the problem described by Christoph happens for me, too.
> 
> On Thu, Dec 12, 2024 at 06:28:34PM +0100, Aurelien Jarno wrote:
> > On 2024-12-12 00:19, Christoph Egger wrote:
> > > Package: tzdata
> > > Version: 2024a-0+deb12u1
> > > Severity: important
> > > 
> > > Hi!
> > > 
> > > tzdata update fails here, installing 2024a from /var/cache/apt gets the system back to working. This is from inside a systemd-nspawn.
> > > 
> > > Thank you
> > > 
> > >   Chistoph
> > > 
> > > 
> > > (Reading database ... 65470 files and directories currently installed.)
> > > Preparing to unpack .../tzdata_2024b-0+deb11u1_all.deb ...
> > > Unpacking tzdata (2024b-0+deb11u1) over (2024a-0+deb12u1) ...
> > > dpkg: error processing archive /var/cache/apt/archives/tzdata_2024b-0+deb11u1_all.deb (--unpack):
> > >  unable to open '/usr/share/zoneinfo/posix/Africa/Abidjan.dpkg-new': No such file or directory
> > >   Errors were encountered while processing:
> > >     /var/cache/apt/archives/tzdata_2024b-0+deb11u1_all.deb
> > >       E: Sub-process /usr/bin/dpkg returned an error code (1)
> > 
> > Do I understand correctly that you try to downgrade tzdata from the
> > bookworm version to the bullseye version? 
> 
> Well, yes and no. It tries to install the bullseye version over the one
> from bookworm, but it's not a downgrade because 2024b-0+deb11u1 >
> 2024a-0+deb12u1.
> 
> $ apt policy tzdata
> tzdata:
>   Installed: 2024a-0+deb12u1
>   Candidate: 2024b-0+deb11u1
>   Version table:
>      2024b-0+deb11u1 500
>         500 http://security.debian.org/debian-security bullseye-security/main armhf Packages
>  *** 2024a-0+deb12u1 500
>         500 https://deb.debian.org/debian bookworm/main armhf Packages
>         100 /var/lib/dpkg/status
>      2024a-0+deb11u1 500
>         500 http://deb.debian.org/debian bullseye/main armhf Packages
>      2021a-1+deb11u11 500
>         500 http://deb.debian.org/debian bullseye-updates/main armhf Packages
> 
> OK, you could argue I should have deleted the bullseye sources from my
> apt configuration or at least have given bookworm a higher pin. But you
> could also argue that bullseye-security shouldn't have a higer version
> than bookworm(-security) 

It seems that the issue is that your system is missing bookworm-updates.
So this will be fixed with the next point release in a couple of weeks.

This is due to the way the LTS team is doing updates, ie they all go to
-security.

> or that the upgrade from 2024a-0+X to 2024b-0+X
> should just work.

That would be difficult, the failure is due to the use of dir_to_symlink
from dpkg-maintscript-helper.

Regards
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                     http://aurel32.net

[toc] | [prev] | [next] | [standalone]


#1226220

FromUwe Kleine-König <u.kleine-koenig@baylibre.com>
Date2024-12-30 23:20 +0100
Message-ID<JZwhb-49oJ-11@gated-at.bofh.it>
In reply to#1226208

[Multipart message — attachments visible in raw view] — view raw

Hello Aurelien,

On Mon, Dec 30, 2024 at 09:48:11PM +0100, Aurelien Jarno wrote:
> On 2024-12-30 21:32, Uwe Kleine-König wrote:
> > the problem described by Christoph happens for me, too.
> > 
> > On Thu, Dec 12, 2024 at 06:28:34PM +0100, Aurelien Jarno wrote:
> > > On 2024-12-12 00:19, Christoph Egger wrote:
> > > > Package: tzdata
> > > > Version: 2024a-0+deb12u1
> > > > Severity: important
> > > > 
> > > > Hi!
> > > > 
> > > > tzdata update fails here, installing 2024a from /var/cache/apt gets the system back to working. This is from inside a systemd-nspawn.
> > > > 
> > > > Thank you
> > > > 
> > > >   Chistoph
> > > > 
> > > > 
> > > > (Reading database ... 65470 files and directories currently installed.)
> > > > Preparing to unpack .../tzdata_2024b-0+deb11u1_all.deb ...
> > > > Unpacking tzdata (2024b-0+deb11u1) over (2024a-0+deb12u1) ...
> > > > dpkg: error processing archive /var/cache/apt/archives/tzdata_2024b-0+deb11u1_all.deb (--unpack):
> > > >  unable to open '/usr/share/zoneinfo/posix/Africa/Abidjan.dpkg-new': No such file or directory
> > > >   Errors were encountered while processing:
> > > >     /var/cache/apt/archives/tzdata_2024b-0+deb11u1_all.deb
> > > >       E: Sub-process /usr/bin/dpkg returned an error code (1)
> > > 
> > > Do I understand correctly that you try to downgrade tzdata from the
> > > bookworm version to the bullseye version? 
> > 
> > Well, yes and no. It tries to install the bullseye version over the one
> > from bookworm, but it's not a downgrade because 2024b-0+deb11u1 >
> > 2024a-0+deb12u1.
> > 
> > $ apt policy tzdata
> > tzdata:
> >   Installed: 2024a-0+deb12u1
> >   Candidate: 2024b-0+deb11u1
> >   Version table:
> >      2024b-0+deb11u1 500
> >         500 http://security.debian.org/debian-security bullseye-security/main armhf Packages
> >  *** 2024a-0+deb12u1 500
> >         500 https://deb.debian.org/debian bookworm/main armhf Packages
> >         100 /var/lib/dpkg/status
> >      2024a-0+deb11u1 500
> >         500 http://deb.debian.org/debian bullseye/main armhf Packages
> >      2021a-1+deb11u11 500
> >         500 http://deb.debian.org/debian bullseye-updates/main armhf Packages
> > 
> > OK, you could argue I should have deleted the bullseye sources from my
> > apt configuration or at least have given bookworm a higher pin. But you
> > could also argue that bullseye-security shouldn't have a higer version
> > than bookworm(-security) 
> 
> It seems that the issue is that your system is missing bookworm-updates.
> So this will be fixed with the next point release in a couple of weeks.

OK, I added bookworm-updates and proper pinning now. Upgrade
2024a-0+deb12u1 -> 2024b-0+deb12u1 succeeded \o/
 
> > or that the upgrade from 2024a-0+X to 2024b-0+X
> > should just work.
> 
> That would be difficult, the failure is due to the use of dir_to_symlink
> from dpkg-maintscript-helper.

I don't understand that one. I find dpkg-maintscript-helper neither in
tzdata's origin/bullseye branch nor in origin/bookworm. *shrug*

Best regards
Uwe

[toc] | [prev] | [next] | [standalone]


#1226225

FromAurelien Jarno <aurel32@debian.org>
Date2024-12-30 23:40 +0100
Message-ID<JZwAx-4bwC-3@gated-at.bofh.it>
In reply to#1226220

[Multipart message — attachments visible in raw view] — view raw

Hi,

On 2024-12-30 23:12, Uwe Kleine-König wrote:
> Hello Aurelien,
> 
> On Mon, Dec 30, 2024 at 09:48:11PM +0100, Aurelien Jarno wrote:
> > It seems that the issue is that your system is missing bookworm-updates.
> > So this will be fixed with the next point release in a couple of weeks.
> 
> OK, I added bookworm-updates and proper pinning now. Upgrade
> 2024a-0+deb12u1 -> 2024b-0+deb12u1 succeeded \o/

Great!

> > > or that the upgrade from 2024a-0+X to 2024b-0+X
> > > should just work.
> > 
> > That would be difficult, the failure is due to the use of dir_to_symlink
> > from dpkg-maintscript-helper.
> 
> I don't understand that one. I find dpkg-maintscript-helper neither in
> tzdata's origin/bullseye branch nor in origin/bookworm. *shrug*

Please see: https://salsa.debian.org/glibc-team/tzdata/-/blob/bookworm/debian/tzdata.maintscript?ref_type=heads

Regards
Aurelien


-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                     http://aurel32.net

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web