Bug#1030742: tzdata: Can’t configure the package

2023-02-07 Thread Benjamin Drung
On Tue, 2023-02-07 at 11:13 +0100, Marc Haber wrote:
> Control: tags -1 
> thanks
> 
> On Tue, Feb 07, 2023 at 10:11:48AM +0100, Marc Haber wrote:
> > On Tue, Feb 07, 2023 at 06:28:32AM +0100, Nicolas Patrois wrote:
> > > tzdata can’t be configured:
> > >  installed tzdata package post-installation script subprocess returned 
> > > error
> > > exit status 10
> > > Thus, ntpsec can’t be upgraded (it depends on tzdata’s installation).
> > 
> > This also breaks setup of build chroots, test environments etc. I am not
> > sure whether severity important is high enough for this.
> 
> On my systems where things fail, /etc/localtime is a relative symlink
> pointing to ../usr/share/zoneinfo/Europe/Berlin. Manually replacing this
> with an absolute link allows the tzdata update to proceed. Sadly, this
> is not an option in a debspawn container (because that tool doesnt allow
> manual tinkering with the container).

Thanks. I can reproduce it now and added this test case to
debian/tests/debconf. Expect a fix soon.

-- 
Benjamin Drung
Debian & Ubuntu Developer



Bug#1030742: tzdata: Can’t configure the package

2023-02-07 Thread Benjamin Drung
Hi,

On Tue, 2023-02-07 at 06:28 +0100, Nicolas Patrois wrote:
> Package: tzdata
> Version: 2022g-3
> Severity: normal
> 
> Dear Maintainer,
> 
> tzdata can’t be configured:
>  installed tzdata package post-installation script subprocess returned error
> exit status 10
> Thus, ntpsec can’t be upgraded (it depends on tzdata’s installation).

I cannot reproduce your problem (using Europe/Paris derived from your
debconf information). Can you post the full output which follows
"Setting up tzdata (2022g-3) ..."? Do you have any special setup?

> -- System Information:
> Debian Release: bookworm/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: i386 (i686)
> 
> Kernel: Linux 5.16.0-6-686-pae (SMP w/3 CPU threads; PREEMPT)
> Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
> TAINT_UNSIGNED_MODULE
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
> LANGUAGE=fr_FR:fr:en_GB:en
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
> 
> 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/Australia:
>   tzdata/Zones/SystemV:
>   tzdata/Zones/Atlantic:
>   tzdata/Zones/Antarctica:
>   tzdata/Zones/Arctic:
>   tzdata/Zones/Indian:
>   tzdata/Zones/Pacific:
>   tzdata/Zones/Africa:
> * tzdata/Areas: Europe
>   tzdata/Zones/America:
> * tzdata/Zones/Europe: Paris
>   tzdata/Zones/Asia:
>   tzdata/Zones/US:
>   tzdata/Zones/Etc:
>   tzdata/Zones/Canada:

-- 
Benjamin Drung
Debian & Ubuntu Developer



Bug#1030742: tzdata: Can’t configure the package

2023-02-07 Thread Marc Haber
Control: tags -1 
thanks

On Tue, Feb 07, 2023 at 10:11:48AM +0100, Marc Haber wrote:
> On Tue, Feb 07, 2023 at 06:28:32AM +0100, Nicolas Patrois wrote:
> > tzdata can’t be configured:
> >  installed tzdata package post-installation script subprocess returned error
> > exit status 10
> > Thus, ntpsec can’t be upgraded (it depends on tzdata’s installation).
> 
> This also breaks setup of build chroots, test environments etc. I am not
> sure whether severity important is high enough for this.

On my systems where things fail, /etc/localtime is a relative symlink
pointing to ../usr/share/zoneinfo/Europe/Berlin. Manually replacing this
with an absolute link allows the tzdata update to proceed. Sadly, this
is not an option in a debspawn container (because that tool doesnt allow
manual tinkering with the container).

Greetings
Marc



Processed: Re: Bug#1030742: tzdata: Can’t configure the package

2023-02-07 Thread Debian Bug Tracking System
Processing control commands:

> severity -1 important
Bug #1030742 [tzdata] tzdata: Can’t configure the package
Ignoring request to change severity of Bug 1030742 to the same value.

-- 
1030742: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030742
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Processed: Re: Bug#1030742: tzdata: Can’t configure the package

2023-02-07 Thread Debian Bug Tracking System
Processing control commands:

> severity -1 important
Bug #1030742 [tzdata] tzdata: Can’t configure the package
Severity set to 'important' from 'normal'

-- 
1030742: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030742
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#1030742: tzdata: Can’t configure the package

2023-02-07 Thread Marc Haber
Control: severity -1 important
thanks

On Tue, Feb 07, 2023 at 06:28:32AM +0100, Nicolas Patrois wrote:
> tzdata can’t be configured:
>  installed tzdata package post-installation script subprocess returned error
> exit status 10
> Thus, ntpsec can’t be upgraded (it depends on tzdata’s installation).

This also breaks setup of build chroots, test environments etc. I am not
sure whether severity important is high enough for this.

Greetings
Marc



Bug#1030742: tzdata: Can’t configure the package

2023-02-06 Thread Nicolas Patrois
Package: tzdata
Version: 2022g-3
Severity: normal

Dear Maintainer,

tzdata can’t be configured:
 installed tzdata package post-installation script subprocess returned error
exit status 10
Thus, ntpsec can’t be upgraded (it depends on tzdata’s installation).

Yours,
n.


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 5.16.0-6-686-pae (SMP w/3 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR:fr:en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

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/Australia:
  tzdata/Zones/SystemV:
  tzdata/Zones/Atlantic:
  tzdata/Zones/Antarctica:
  tzdata/Zones/Arctic:
  tzdata/Zones/Indian:
  tzdata/Zones/Pacific:
  tzdata/Zones/Africa:
* tzdata/Areas: Europe
  tzdata/Zones/America:
* tzdata/Zones/Europe: Paris
  tzdata/Zones/Asia:
  tzdata/Zones/US:
  tzdata/Zones/Etc:
  tzdata/Zones/Canada: