Bug#1032966: tzdata-legacy: file conflict with tzdata 2022g-7

2023-03-17 Thread Benjamin Drung
Hi Sven,

On Tue, 2023-03-14 at 22:30 +0100, Sven Joachim wrote:
> Package: tzdata-legacy
> Version: 2022g-7exp1
> Severity: serious
> 
> There was an error installing your package:
> 
> ,
> > Unpacking tzdata-legacy (2022g-7exp1) ...
> > dpkg: error processing archive 
> > /var/cache/apt/archives/tzdata-legacy_2022g-7exp1_all.deb (--unpack):
> >  trying to overwrite '/usr/share/zoneinfo/right/Africa/Abidjan', which is 
> > also in package tzdata 2022g-7
> > Errors were encountered while processing:
> >  /var/cache/apt/archives/tzdata-legacy_2022g-7exp1_all.deb
> `
> 
> After upgrading tzdata version 2022g-7exp1 the install succeeded, so the
> Breaks/Replaces on tzdata needs to be bumped.  Unfortunately this
> problem will constantly reoccur with updates to tzdata in Bookworm.
> 
> It seems to me that tzdata-legacy should actually have unversioned
> Replaces+Breaks (or Replaces+Conflicts) on tzdata-bookworm, and tzdata
> should stop providing tzdata-bookworm in uploads not targeted at Bookworm.

Thanks for the report. That is an excellent idea and will also solve
this problem for Ubuntu which ships newer upstream releases in their
stable releases.

-- 
Benjamin Drung
Debian & Ubuntu Developer



Bug#1032966: tzdata-legacy: file conflict with tzdata 2022g-7

2023-03-14 Thread Sven Joachim
Package: tzdata-legacy
Version: 2022g-7exp1
Severity: serious

There was an error installing your package:

,
| Unpacking tzdata-legacy (2022g-7exp1) ...
| dpkg: error processing archive 
/var/cache/apt/archives/tzdata-legacy_2022g-7exp1_all.deb (--unpack):
|  trying to overwrite '/usr/share/zoneinfo/right/Africa/Abidjan', which is 
also in package tzdata 2022g-7
| Errors were encountered while processing:
|  /var/cache/apt/archives/tzdata-legacy_2022g-7exp1_all.deb
`

After upgrading tzdata version 2022g-7exp1 the install succeeded, so the
Breaks/Replaces on tzdata needs to be bumped.  Unfortunately this
problem will constantly reoccur with updates to tzdata in Bookworm.

It seems to me that tzdata-legacy should actually have unversioned
Replaces+Breaks (or Replaces+Conflicts) on tzdata-bookworm, and tzdata
should stop providing tzdata-bookworm in uploads not targeted at Bookworm.


-- System Information:
Debian Release: 12.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386