[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1080318: marked as done (postinst fails if /etc/locatime exists)



Your message dated Tue, 03 Dec 2024 11:38:41 +0100
with message-id <b6450158b1bba1b341688af4c1fef91372abae17.camel@debian.org>
and subject line Re: postinst fails if /etc/locatime exists
has caused the Debian Bug report #1080318,
regarding postinst fails if /etc/locatime exists
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1080318: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1080318
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: tzdata
Version: 2024a-4

At the upgrade from Bookworm to Trixie the postinst for tzdata
failed:

Setting up tzdata (2024a-4) ...
dpkg: error processing package tzdata (--configure):
 installed tzdata package post-installation script subprocess returned error exit status 10


/etc/localtime was

# ls -al /etc/localtime 
lrwxrwxrwx 1 root root 23 Jul  7 10:09 /etc/localtime -> /usr/share/zoneinfo/CET

Restarting the upgrade did not help. After manually removing
the symlink the upgrade succeeded.


Regards
Harri

--- End Message ---
--- Begin Message ---
Version: 2024b-3

On Mon, 02 Sep 2024 09:53:08 +0200 Harald Dunkel
<harald.dunkel@aixigo.com> wrote:
> Package: tzdata
> Version: 2024a-4
> 
> At the upgrade from Bookworm to Trixie the postinst for tzdata
> failed:
> 
> Setting up tzdata (2024a-4) ...
> dpkg: error processing package tzdata (--configure):
>  installed tzdata package post-installation script subprocess returned
error exit status 10
> 
> 
> /etc/localtime was
> 
> # ls -al /etc/localtime 
> lrwxrwxrwx 1 root root 23 Jul  7 10:09 /etc/localtime ->
/usr/share/zoneinfo/CET
> 
> Restarting the upgrade did not help. After manually removing
> the symlink the upgrade succeeded.

CET was not in the list that you could select as timezone when running
dpkg-reconfigure. This works since 2024b-3 which updates the CET
timezone on reconfigure:

```
$ ln -sf /usr/share/zoneinfo/CET /etc/localtime
$ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure tzdata

Current default time zone: 'Europe/Brussels'
Local time is now:      Tue Dec  3 11:35:04 CET 2024.
Universal Time is now:  Tue Dec  3 10:35:04 UTC 2024.
```

-- 
Benjamin Drung
Debian & Ubuntu Developer

--- End Message ---

Reply to: