I tested this with a local package build and local repo in a mantic container,
doing an `apt --dry-run dist-upgrade` without/with that repo (w/ noble apt 
sources list),
and manually download/run noble's release upgrader without/with that repo.

The behavior is the same (ie, no regressions) as expected;
libglib2.0-0 is removed in favor of libglib2.0-0t64 in all cases.

Test 1)

Just Noble:

        $ apt-cache show libglib2.0-bin | grep Version:
        Version: 2.80.0-6ubuntu1
        Version: 2.78.0-2

        $ sudo apt --dry-run dist-upgrade 2>&1 | awk '{ print NR ": " $0 }' | 
fgrep libglib2.0
        17:   libevent-core-2.1-7 libext2fs2 libgdbm-compat4 libgdbm6 
libglib2.0-0
        30:   libgdbm6t64 libglib2.0-0t64 libgnutls30t64 libgpgme11t64
        79:   libglib2.0-bin libglib2.0-data libgmp10 libgomp1 libgpg-error-l10n
        154: Remv libelf1 [0.189-4] [libglib2.0-bin:amd64 libbpf1:amd64 
iproute2:amd64 ]
        156: Inst libglib2.0-bin [2.78.0-2] (2.80.0-6ubuntu1 Ubuntu:24.04/noble 
[amd64]) []
        378: Remv libglib2.0-0 [2.78.0-2] [libappstream4:amd64 
open-vm-tools:amd64 libc-dev-bin:amd64 libc-bin:amd64 libc6-dev:amd64 
libnetplan0:amd64 ]
        379: Inst libglib2.0-0t64 (2.80.0-6ubuntu1 Ubuntu:24.04/noble [amd64]) 
[open-vm-tools:amd64 libc-dev-bin:amd64 libc-bin:amd64 libc6-dev:amd64 ]
        611: Inst libglib2.0-data [2.78.0-2] (2.80.0-6ubuntu1 
Ubuntu:24.04/noble [all])
        927: Conf libglib2.0-bin (2.80.0-6ubuntu1 Ubuntu:24.04/noble [amd64])
        1070: Conf libglib2.0-0t64 (2.80.0-6ubuntu1 Ubuntu:24.04/noble [amd64])
        1201: Conf libglib2.0-data (2.80.0-6ubuntu1 Ubuntu:24.04/noble [all])

Noble and local build/repo:

        $ apt-cache show libglib2.0-bin | grep Version:
        Version: 2.80.0-6ubuntu3
        Version: 2.80.0-6ubuntu1
        Version: 2.78.0-2

        $ sudo apt --dry-run dist-upgrade 2>&1 | awk '{ print NR ": " $0 }' | 
fgrep libglib2.0
        17:   libevent-core-2.1-7 libext2fs2 libgdbm-compat4 libgdbm6 
libglib2.0-0
        30:   libgdbm6t64 libglib2.0-0t64 libgnutls30t64 libgpgme11t64
        79:   libglib2.0-bin libglib2.0-data libgmp10 libgomp1 libgpg-error-l10n
        154: Remv libelf1 [0.189-4] [libglib2.0-bin:amd64 libbpf1:amd64 
iproute2:amd64 ]
        156: Inst libglib2.0-bin [2.78.0-2] (2.80.0-6ubuntu3 localhost [amd64]) 
[]
        378: Remv libglib2.0-0 [2.78.0-2] [libappstream4:amd64 
open-vm-tools:amd64 libc-dev-bin:amd64 libc-bin:amd64 libc6-dev:amd64 
libnetplan0:amd64 ]
        379: Inst libglib2.0-0t64 (2.80.0-6ubuntu3 localhost [amd64]) 
[open-vm-tools:amd64 libc-dev-bin:amd64 libc-bin:amd64 libc6-dev:amd64 ]
        611: Inst libglib2.0-data [2.78.0-2] (2.80.0-6ubuntu3 localhost [all])
        927: Conf libglib2.0-bin (2.80.0-6ubuntu3 localhost [amd64])
        1070: Conf libglib2.0-0t64 (2.80.0-6ubuntu3 localhost [amd64])
        1201: Conf libglib2.0-data (2.80.0-6ubuntu3 localhost [all])


Test 2)

Just Noble:

        $ dpkg -l | fgrep libglib2.0
        rc  libglib2.0-0:amd64              2.78.0-2                            
    amd64        GLib library of C routines
        ii  libglib2.0-0t64:amd64           2.80.0-6ubuntu1                     
    amd64        GLib library of C routines
        ii  libglib2.0-bin                  2.80.0-6ubuntu1                     
    amd64        Programs for the GLib library
        ii  libglib2.0-data                 2.80.0-6ubuntu1                     
    all          Common files for GLib library

        $ dpkg -l | grep thunderbird
        ii  thunderbird                     2:1snap1-0ubuntu3                   
    amd64        Transitional package - thunderbird -> thunderbird snap

        $ snap list thunderbird
        Name         Version     Rev  Tracking       Publisher   Notes
        thunderbird  115.10.1-1  470  latest/stable  canonical✓  -

Noble and local build/repo:

        $ dpkg -l | fgrep libglib2.0
        rc  libglib2.0-0:amd64              2.78.0-2                            
    amd64        GLib library of C routines
        ii  libglib2.0-0t64:amd64           2.80.0-6ubuntu3                     
    amd64        GLib library of C routines
        ii  libglib2.0-bin                  2.80.0-6ubuntu3                     
    amd64        Programs for the GLib library
        ii  libglib2.0-data                 2.80.0-6ubuntu3                     
    all          Common files for GLib library

        $ dpkg -l | grep thunderbird
        ii  thunderbird                     2:1snap1-0ubuntu3                   
    amd64        Transitional package - thunderbird -> thunderbird snap

        $ snap list thunderbird
        Name         Version     Rev  Tracking       Publisher   Notes
        thunderbird  115.10.1-1  470  latest/stable  canonical✓  -

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to glib2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/2063221

Title:
  Drop libglib2.0-0 transitional package

Status in glib2.0 package in Ubuntu:
  In Progress
Status in glib2.0 source package in Noble:
  In Progress

Bug description:
  Impact
  ------
  apt can struggle with ordering when handling the massive Y2028 time_t 
transition when upgrading to Ubuntu 24.04 LTS.

  It was identified that dropping the libglib2.0-0 transitional package
  can help apt do things in the correct order.

  Test Case
  ---------
  Is libglib2.0-0 built?

  Other Info
  ----------
  This is related to LP: #2061918 for the thunderbird deb to snap upgrade

  There are likely several other Launchpad bugs that can be resolved by
  this update and some other workarounds in other packages, like in the
  transitional thunderbird package.

  https://salsa.debian.org/gnome-team/glib/-/merge_requests/34

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glib2.0/+bug/2063221/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to