Hello Aurelien,

On Mon, Dec 30, 2024 at 09:48:11PM +0100, Aurelien Jarno wrote:
> On 2024-12-30 21:32, Uwe Kleine-König wrote:
> > the problem described by Christoph happens for me, too.
> > 
> > On Thu, Dec 12, 2024 at 06:28:34PM +0100, Aurelien Jarno wrote:
> > > On 2024-12-12 00:19, Christoph Egger wrote:
> > > > Package: tzdata
> > > > Version: 2024a-0+deb12u1
> > > > Severity: important
> > > > 
> > > > Hi!
> > > > 
> > > > tzdata update fails here, installing 2024a from /var/cache/apt gets the 
> > > > system back to working. This is from inside a systemd-nspawn.
> > > > 
> > > > Thank you
> > > > 
> > > >   Chistoph
> > > > 
> > > > 
> > > > (Reading database ... 65470 files and directories currently installed.)
> > > > Preparing to unpack .../tzdata_2024b-0+deb11u1_all.deb ...
> > > > Unpacking tzdata (2024b-0+deb11u1) over (2024a-0+deb12u1) ...
> > > > dpkg: error processing archive 
> > > > /var/cache/apt/archives/tzdata_2024b-0+deb11u1_all.deb (--unpack):
> > > >  unable to open '/usr/share/zoneinfo/posix/Africa/Abidjan.dpkg-new': No 
> > > > such file or directory
> > > >   Errors were encountered while processing:
> > > >     /var/cache/apt/archives/tzdata_2024b-0+deb11u1_all.deb
> > > >       E: Sub-process /usr/bin/dpkg returned an error code (1)
> > > 
> > > Do I understand correctly that you try to downgrade tzdata from the
> > > bookworm version to the bullseye version? 
> > 
> > Well, yes and no. It tries to install the bullseye version over the one
> > from bookworm, but it's not a downgrade because 2024b-0+deb11u1 >
> > 2024a-0+deb12u1.
> > 
> > $ apt policy tzdata
> > tzdata:
> >   Installed: 2024a-0+deb12u1
> >   Candidate: 2024b-0+deb11u1
> >   Version table:
> >      2024b-0+deb11u1 500
> >         500 http://security.debian.org/debian-security 
> > bullseye-security/main armhf Packages
> >  *** 2024a-0+deb12u1 500
> >         500 https://deb.debian.org/debian bookworm/main armhf Packages
> >         100 /var/lib/dpkg/status
> >      2024a-0+deb11u1 500
> >         500 http://deb.debian.org/debian bullseye/main armhf Packages
> >      2021a-1+deb11u11 500
> >         500 http://deb.debian.org/debian bullseye-updates/main armhf 
> > Packages
> > 
> > OK, you could argue I should have deleted the bullseye sources from my
> > apt configuration or at least have given bookworm a higher pin. But you
> > could also argue that bullseye-security shouldn't have a higer version
> > than bookworm(-security) 
> 
> It seems that the issue is that your system is missing bookworm-updates.
> So this will be fixed with the next point release in a couple of weeks.

OK, I added bookworm-updates and proper pinning now. Upgrade
2024a-0+deb12u1 -> 2024b-0+deb12u1 succeeded \o/
 
> > or that the upgrade from 2024a-0+X to 2024b-0+X
> > should just work.
> 
> That would be difficult, the failure is due to the use of dir_to_symlink
> from dpkg-maintscript-helper.

I don't understand that one. I find dpkg-maintscript-helper neither in
tzdata's origin/bullseye branch nor in origin/bookworm. *shrug*

Best regards
Uwe

Attachment: signature.asc
Description: PGP signature

Reply via email to