Failed upgrade to 25.10

failed upgrade to lubuntu 25.10
This is the first error:

$ sudo apt --fix-broken install
Summary:                        
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
  131 not fully installed or removed.
  Space needed: 0 B / 201 GB available

Setting up tzdata (2025b-3ubuntu1) ...

Current default time zone: 'America/Toronto'
date: invalid date 'Fri Oct 31 20:27:32 UTC 2025'
dpkg: error processing package tzdata (--configure):
 installed tzdata package post-installation script subprocess returned error exit status 1
1 Like

Well - not

Something for sure is wonky.

As we have:

I suggest that you verify the system timers

timedatectl

And next as apt says:

run:

sudo apt update
sudo apt full-upgrade

report back if any errors.

-two steps forward-

I upgraded but got numerous errors. At the end the root error was related to tzdata. The error output is almost exactly like in the @bjlockie post:

$ sudo dpkg --configure tzdata
Setting up tzdata (2025b-3ubuntu1) ...

Current default time zone: 'America/Chicago'
date: invalid date 'Fri Oct 31 21:13:38 UTC 2025'
dpkg: error processing package tzdata (--configure):
 installed tzdata package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.13.1-1) ...
Errors were encountered while processing:
 tzdata

I checked and it looks like /etc/localtime correctly points to the relevant timezone file, /etc/timezone was removed.

Got all the same errors after full-upgrade. Small sample:

dpkg: error processing package ibus-table (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of python3-pil:amd64:
 python3-pil:amd64 depends on python3 (<< 3.14); however:
  Package python3 is not configured yet.
 python3-pil:amd64 depends on python3 (>= 3.13~); however:
  Package python3 is not configured yet.
 python3-pil:amd64 depends on python3:any; however:
  Package python3 is not configured yet.

dpkg: error processing package python3-pil:amd64 (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already

Tracing dependencies of any failed package I found a culprit: tzdata. The post-install script fails for unknown reasons and report “invalid date” for a perfectly valid UTC date.

As a step forward in troubleshooting –
what shows

lsb_release -a
apt policy tzdata

see here if we are dealing with an amd64v3 breakage.

-maybe yes; likely No-

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 25.10
Release:        25.10
Codename:       questing

$ apt policy tzdata
tzdata:
  Installed: 2025b-3ubuntu1
  Candidate: 2025b-3ubuntu1
  Version table:
 *** 2025b-3ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu questing/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu questing/main i386 Packages
        100 /var/lib/dpkg/status

$ sudo apt install --reinstall tzdata
Summary:                        
  Upgrading: 0, Installing: 0, Reinstalling: 1, Removing: 0, Not Upgrading: 0
  131 not fully installed or removed.
  Space needed: 0 B / 201 GB available

Error: Internal Error, No file name for tzdata:amd64

Humm –
^ confirms tzdata as the standard architecture, and the latest version.
Maybe it is time to submit a bug report and have the big boys look at the issue.

-a know it all I am not-

Here you go:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 25.10
Release:        25.10
Codename:       questing

$ apt policy tzdata
tzdata:
  Installed: 2025b-3ubuntu1
  Candidate: 2025b-3ubuntu1
  Version table:
 *** 2025b-3ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu questing/main amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu questing/main i386 Packages
        100 /var/lib/dpkg/status
Notice: Ignoring file 'windsurf.list.migrate' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
Notice: Ignoring file 'warpdotdev.list.migrate' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension

Your plot thickens.
It is good to examine the ^ sources file and see what is going on about “windsurf and warpdotdev” - what is there to be concerned with?

less /etc/apt/sources.list.d/ubuntu.sources

-sometimes I do wonder-

I filed a bug: Bug #2130468 “tzdata fails to be configured during upgrade to 25...” : Bugs : tzdata package : Ubuntu

1 Like

Here you go:

$ \cat /etc/apt/sources.list.d/ubuntu.sources
Types: deb
URIs: http://us.archive.ubuntu.com/ubuntu/
Suites: questing questing-updates questing-backports
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

Types: deb
URIs: http://security.ubuntu.com/ubuntu
Suites: questing-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

During the upgrade I noticed multiple complains about .migrate files. Apparently a lot of files with such extension were created for some reason. To migrate them to a different file format? I don’t recall seeing those files during previous upgrades. Now every time I run apt it shows those two files. In any case they are ignored, not read.

Windsurf and Warp are a code editor and a terminal applications respectively.

Good job - report looks good.
I look forward to what our developers relate.

-we do not panic; we proceed in a calm and orderly fashion-

On a quick look; these do not appear to be Ubuntu apps - 3rd party that do not offer support in 25.10 ? I have other commitments presently - I will return to this matter in a few hours.

Cheers

These are 3rd party user-level apps. They do not affect tzdata and not the subject of this topic. I hope one day I will be allowed to post a separate question about the related notices.

1 Like