Python2 removed during install

Bug #1721812 reported by Bryan Quigley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Python2 is removed during the install (but some things that seem to still depend on it our still installed).

ibus-sunpinyin seems to be the package holding it in the livecd itself - but that's removed if you don't pick a language it is related to (didn't confirm that it stays if you pick language X).

I expect if python2 is available on the liveCD it to the be available in the installed environment too.

Ideally, we could just drop python2 from the livecd though.

Note: libpython2.7 remains on the installed environment due to something here- gnome-control-center* gvfs-backends* libsmbclient* python-talloc* samba-libs* ubuntu-desktop*.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: ubiquity 17.10.8
ProcVersionSignature: Ubuntu 4.13.0-12.13-generic 4.13.3
Uname: Linux 4.13.0-12-generic x86_64
ApportVersion: 2.20.7-0ubuntu2
Architecture: amd64
CasperVersion: 1.384
CurrentDesktop: ubuntu:GNOME
Date: Fri Oct 6 12:00:04 2017
LiveMediaBuild: Ubuntu 17.10 "Artful Aardvark" - Beta amd64 (20171006)
ProcEnviron:
 LANG=en_US.UTF-8
 TERM=xterm-256color
 SHELL=/bin/bash
 XDG_RUNTIME_DIR=<set>
 PATH=(custom, no user)
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Bryan Quigley (bryanquigley) wrote :
description: updated
Jeremy Bícha (jbicha)
Changed in ubiquity (Ubuntu):
status: New → Invalid
Changed in ubiquity (Ubuntu):
importance: Undecided → Low
Revision history for this message
Jeremy Bícha (jbicha) wrote :

As discussed in #ubuntu-desktop, this is intentional. We have been trying to get python2 out of the default install for years.

Besides ibus-sunpinyin, cifs-utils also ends up pulling python-samba (and python2). None of those packages are needed for most people after install and so are removed at the end of the install process. But we do want them in the live environment for now.

If you find a package that doesn't work without python2 installed and doesn't depend on python2, please file a bug against that package. LP: #1721394 is an example of a bug like that.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.