Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.devel > #100352

Re: Planning for libidn shared library version transition

From Simon McVittie <smcv@debian.org>
Newsgroups linux.debian.devel
Subject Re: Planning for libidn shared library version transition
Date 2021-05-27 12:20 +0200
Message-ID <Cjlho-6Ah-5@gated-at.bofh.it> (permalink)
References (2 earlier) <CiOYa-3Il-5@gated-at.bofh.it> <Cj46R-4zu-1@gated-at.bofh.it> <Cj5mh-5sG-5@gated-at.bofh.it> <Cjach-8i6-1@gated-at.bofh.it> <CjhQt-4qm-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 27 May 2021 at 08:30:11 +0200, Simon Josefsson wrote:
> I do think it would be a wortwhile release
> goal, at some point, to fix tooling so that dummy packages are no longer
> necessary for package transitions.

Transitional packages have the huge advantage that they already work
(and the reason they work is a side-effect of how ordinary non-transition
upgrades work, so it isn't going to go away). Making them unnecessary
seems likely to be more code (therefore more bugs), so it would have to
be counterbalanced with a real advantage. If we are replacing a "real"
package with a transitional package, then by definition that package
name is no longer in use, so having the transitional package "occupy"
the name is harmless.

The one non-cosmetic reason I can think of why transitional packages
are potentially bad is that they aren't removed automatically, so systems
that have been upgraded many times can end up with a lot of transitional
packages; not needing transitional packages would make
https://www.debian.org/releases/stable/amd64/release-notes/ch-upgrading.en.html#obsolete
somewhat less necessary (although still necessary, to deal with packages
that were removed with no direct replacement). That doesn't seem hugely
compelling to me?

If you want to pursue this, the right way to do it would be to send a
bug report to apt. I'm not sure how feasible it is to make superseded
packages identifiable and make apt assign a more favourable "score"
to removing them, but apt maintainers would know. One possible route
would be an equivalent of rpm's Obsoletes field.

If it's feasible to solve this, then I suspect the only packages that
would need code changes would be apt and cupt (and maybe aptitude).
Packages undergoing transitions would likely also need metadata to tell
apt which older packages they supersede.

Bear in mind that if apt is changed to not need transitional packages
(somehow) in stable release n, packages cannot take advantage of that
change until the n+1 cycle.

    smcv

Back to linux.debian.devel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Planning for libidn shared library version transition Simon Josefsson <simon@josefsson.org> - 2021-05-24 20:20 +0200
  Re: Planning for libidn shared library version transition Timo Röhling <timo@gaussglocke.de> - 2021-05-24 20:50 +0200
    Re: Planning for libidn shared library version transition Simon Josefsson <simon@josefsson.org> - 2021-05-24 21:00 +0200
  Re: Planning for libidn shared library version transition Andreas Metzler <ametzler@bebt.de> - 2021-05-25 19:50 +0200
    Re: Planning for libidn shared library version transition Simon Josefsson <simon@josefsson.org> - 2021-05-26 00:20 +0200
      Re: Planning for libidn shared library version transition Simon McVittie <smcv@debian.org> - 2021-05-26 11:50 +0200
    Re: Planning for libidn shared library version transition Guillem Jover <guillem@debian.org> - 2021-05-26 01:50 +0200
      Re: Planning for libidn shared library version transition Andreas Metzler <ametzler@bebt.de> - 2021-05-26 18:00 +0200
        Re: Planning for libidn shared library version transition Simon Josefsson <simon@josefsson.org> - 2021-05-26 19:20 +0200
          Re: Planning for libidn shared library version transition Simon McVittie <smcv@debian.org> - 2021-05-27 00:30 +0200
            Re: Planning for libidn shared library version transition Simon Josefsson <simon@josefsson.org> - 2021-05-27 08:40 +0200
              Re: Planning for libidn shared library version transition Simon McVittie <smcv@debian.org> - 2021-05-27 12:20 +0200
                Re: Planning for libidn shared library version transition Marvin Renich <mrvn@renich.org> - 2021-05-27 16:20 +0200
                Re: Planning for libidn shared library version transition Andrey Rahmatullin <wrar@debian.org> - 2021-05-27 16:40 +0200
                Re: Planning for libidn shared library version transition Marvin Renich <mrvn@renich.org> - 2021-05-27 19:50 +0200
                Re: Planning for libidn shared library version transition Marvin Renich <mrvn@renich.org> - 2021-05-27 19:50 +0200
                Re: Planning for libidn shared library version transition David Kalnischkies <david@kalnischkies.de> - 2021-05-27 17:00 +0200
                Re: Planning for libidn shared library version transition Simon McVittie <smcv@debian.org> - 2021-05-28 18:20 +0200
                Re: Planning for libidn shared library version transition David Kalnischkies <david@kalnischkies.de> - 2021-06-01 17:20 +0200
              Re: Planning for libidn shared library version transition Russ Allbery <rra@debian.org> - 2021-05-27 20:20 +0200
                Re: Planning for libidn shared library version transition Holger Levsen <holger@layer-acht.org> - 2021-05-27 20:30 +0200
            automated pkg set installation and upgrade tests (was Re: Planning  for libidn shared library version transition) Holger Levsen <holger@layer-acht.org> - 2021-05-27 16:50 +0200
    Re: Planning for libidn shared library version transition Simon Josefsson <simon@josefsson.org> - 2021-07-27 11:10 +0200
      Re: Planning for libidn shared library version transition Andreas Metzler <ametzler@bebt.de> - 2021-07-28 10:20 +0200

csiph-web