← Back to team overview

touch-packages team mailing list archive

[Bug 1538198] [NEW] python in xenial cloud image

 

Public bug reported:

I'm not sure why, but python2 still has a presence inthe cloud image.
Perhaps something Recommends it ?
python other than 'libpython2.7' can be purged with no dependency pain.  vim pulls libpython in (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729924)

$ cat /etc/cloud/build.info 
build_name: server
serial: 20160125-134444

$ dpkg-query --show | grep python[^3]
dh-python	2.20151103ubuntu1
libpython-stdlib:amd64	2.7.11-1
libpython2.7:amd64	2.7.11-3
libpython2.7-minimal:amd64	2.7.11-3
libpython2.7-stdlib:amd64	2.7.11-3
python	2.7.11-1
python-apt-common	1.1.0~beta1build1
python-minimal	2.7.11-1
python2.7	2.7.11-3
python2.7-minimal	2.7.11-3

$ sudo apt-get --purge remove python python-minimal python2.7 python2.7-minimal libpython-stdlib
sudo: unable to resolve host xenial-20160126-155625
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  libpython-stdlib* python* python-minimal* python2.7* python2.7-minimal*
0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
After this operation, 4,791 kB disk space will be freed.
Do you want to continue? [Y/n] Y

P

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: python 2.7.11-1
ProcVersionSignature: User Name 4.3.0-7.18-generic 4.3.3
Uname: Linux 4.3.0-7-generic x86_64
ApportVersion: 2.19.3-0ubuntu3
Architecture: amd64
Date: Tue Jan 26 16:13:10 2016
Ec2AMI: ami-0000078b
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m1.small
Ec2Kernel: None
Ec2Ramdisk: None
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: python-defaults
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: python-defaults (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug ec2-images xenial

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

Title:
  python in xenial cloud image

Status in python-defaults package in Ubuntu:
  New

Bug description:
  I'm not sure why, but python2 still has a presence inthe cloud image.
  Perhaps something Recommends it ?
  python other than 'libpython2.7' can be purged with no dependency pain.  vim pulls libpython in (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729924)

  $ cat /etc/cloud/build.info 
  build_name: server
  serial: 20160125-134444

  $ dpkg-query --show | grep python[^3]
  dh-python	2.20151103ubuntu1
  libpython-stdlib:amd64	2.7.11-1
  libpython2.7:amd64	2.7.11-3
  libpython2.7-minimal:amd64	2.7.11-3
  libpython2.7-stdlib:amd64	2.7.11-3
  python	2.7.11-1
  python-apt-common	1.1.0~beta1build1
  python-minimal	2.7.11-1
  python2.7	2.7.11-3
  python2.7-minimal	2.7.11-3

  $ sudo apt-get --purge remove python python-minimal python2.7 python2.7-minimal libpython-stdlib
  sudo: unable to resolve host xenial-20160126-155625
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following packages will be REMOVED:
    libpython-stdlib* python* python-minimal* python2.7* python2.7-minimal*
  0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
  After this operation, 4,791 kB disk space will be freed.
  Do you want to continue? [Y/n] Y

  P

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: python 2.7.11-1
  ProcVersionSignature: User Name 4.3.0-7.18-generic 4.3.3
  Uname: Linux 4.3.0-7-generic x86_64
  ApportVersion: 2.19.3-0ubuntu3
  Architecture: amd64
  Date: Tue Jan 26 16:13:10 2016
  Ec2AMI: ami-0000078b
  Ec2AMIManifest: FIXME
  Ec2AvailabilityZone: nova
  Ec2InstanceType: m1.small
  Ec2Kernel: None
  Ec2Ramdisk: None
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: python-defaults
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/1538198/+subscriptions


Follow ups