package tzdata 2022g-0ubuntu0.22.04.1 failed to install/upgrade: installed tzdata package post-installation script subprocess returned error exit status 2

Bug #2003793 reported by S. Chandra Shekar
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debconf (Ubuntu)
New
Undecided
Unassigned

Bug Description

```
Setting up tzdata (2022g-0ubuntu0.22.04.1) ...
Can't locate Debconf/Db.pm in @INC (you may need to install the Debconf::Db module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.34.0 /usr/local/share/perl/5.34.0 /usr/lib/x86_64-linux-gnu/perl5/5.34 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.34 /usr/share/perl/5.34 /usr/local/lib/site_perl) at /usr/share/debconf/frontend line 6.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 6.
dpkg: error processing package tzdata (--configure):
 installed tzdata package post-installation script subprocess returned error exit status 2
```

>lsb_release -rd
Description: Ubuntu 22.04.1 LTS
Release: 22.04

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: tzdata 2022g-0ubuntu0.22.04.1
ProcVersionSignature: Ubuntu 5.15.0-56.62-generic 5.15.64
Uname: Linux 5.15.0-56-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.3
AptOrdering:
 ruby3.0:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Tue Jan 24 10:31:53 2023
ErrorMessage: installed tzdata package post-installation script subprocess returned error exit status 2
InstallationDate: Installed on 2022-06-07 (231 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
PackageArchitecture: all
Python3Details: /usr/bin/python3.10, Python 3.10.6, python3-minimal, 3.10.6-1~22.04
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.1
 apt 2.4.8
SourcePackage: tzdata
Title: package tzdata 2022g-0ubuntu0.22.04.1 failed to install/upgrade: installed tzdata package post-installation script subprocess returned error exit status 2
UpgradeStatus: Upgraded to jammy on 2022-08-16 (161 days ago)

Revision history for this message
S. Chandra Shekar (chandrasherkar) wrote :
affects: ubuntu → tzdata (Ubuntu)
tags: removed: need-duplicate-check
Benjamin Drung (bdrung)
description: updated
Revision history for this message
Benjamin Drung (bdrung) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

This is an issue with debconf, but I cannot explain it. debconf 1.5.79ubuntu1 ships /usr/share/perl5/Debconf/Db.pm. So Perl should find Debconf/Db.pm in its search path /usr/share/perl5.

affects: tzdata (Ubuntu) → debconf (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.