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


Groups > linux.debian.maint.python > #11528

Re: Removing python2 packages

From Neil Williams <codehelp@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Removing python2 packages
Date 2019-07-24 20:10 +0200
Message-ID <yntSa-5o1-1@gated-at.bofh.it> (permalink)
References <yn4h3-5Wr-9@gated-at.bofh.it> <yn75g-7Kf-15@gated-at.bofh.it> <yns01-48A-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Wed, 24 Jul 2019 12:08:54 -0400 (EDT)
Scott Talbert <swt@techie.net> wrote:

> On Tue, 23 Jul 2019, Ondrej Novy wrote:
> 
> > út 23. 7. 2019 v 11:40 odesílatel Scott Talbert <swt@techie.net>
> > napsal: When removing leaf python2 packages for bullseye, is there
> >       anything
> > 
> > 
> > __modules__ package :)
> >  
> >       special that needs to be done, other than removing the
> > building of the
> >       python2 subpackage?
> >
> >       For example, obsoleting of the old package or anything along
> >       those lines?
> > 
> > 
> > * check reverse-depends and "reverse-depends -b"
> > * remove from d/control
> > * remove from d/tests
> > * remove from d/rules
> > * check/remove d/python-* files
> > * test
> > * upload  
> 
> Thanks.  The reason I asked about 'obsoleting' is because I wondered
> about what will happen on the upgrade case.  Say, I remove python-foo
> from bullseye.  When a user running buster with python-foo installed
> upgrades to bullseye, what will happen?  Will apt try to remove
> python-foo?

Not unless something actually Breaks: or Conflicts: or the user runs
autoremove.

If a leaf package bar changes from Depends: python-foo to python3-foo,
then python-foo will remain installed. There are lots of packages in
Stretch that are not in Buster. Upgrading leaves them in place unless
there is something which actively Conflicts: or Breaks: them. That's
why autoremove is so useful after dist-upgrade.

> 
> Scott


-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Removing python2 packages Scott Talbert <swt@techie.net> - 2019-07-23 16:50 +0200
  Re: Removing python2 packages Neil Williams <codehelp@debian.org> - 2019-07-23 19:50 +0200
  Re: Removing python2 packages Ondrej Novy <novy@ondrej.org> - 2019-07-23 19:50 +0200
    Re: Removing python2 packages Scott Talbert <swt@techie.net> - 2019-07-24 18:10 +0200
      Re: Removing python2 packages Neil Williams <codehelp@debian.org> - 2019-07-24 20:10 +0200
        Re: Removing python2 packages Scott Talbert <swt@techie.net> - 2019-07-24 20:50 +0200
        Re: Removing python2 packages Scott Talbert <swt@techie.net> - 2019-07-26 15:50 +0200
      Re: Removing python2 packages Scott Kitterman <debian@kitterman.com> - 2019-07-24 23:40 +0200
    Re: Removing python2 packages Scott Talbert <swt@techie.net> - 2019-07-30 15:50 +0200
      Re: Removing python2 packages Scott Talbert <swt@techie.net> - 2019-07-30 23:50 +0200
        Re: Removing python2 packages Samuel Thibault <sthibault@debian.org> - 2019-07-31 03:10 +0200
        Re: Removing python2 packages Samuel Thibault <sthibault@debian.org> - 2019-07-31 03:10 +0200
          Re: Removing python2 packages Samuel Thibault <sthibault@debian.org> - 2019-07-31 03:30 +0200
  Re: Removing python2 packages Jonathan Carter <jcc@debian.org> - 2019-07-23 21:30 +0200

csiph-web