touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #68679
[Bug 1427275] Re: clean cloud images of python2
I ran this on a fresh cloud instance.
$ cat /etc/cloud/build.info
build_name: server
serial: 20150403.2
$ py2pkgs=$(dpkg -l | grep python | grep -v python3 | awk '{print $2}')
$ for p in $py2pkgs; do
out=$(sudo apt-get remove --dry-run $p 2>&1); pkgs=$(echo "$out" | awk '$1 == "Remv" && $2 != p { print $2 }' p="$p");
echo ${p%:*}: $pkgs; done
The things I'm confused about are:
python-idna:
python-pam:
python-serial:
I suspect these are recommends pulling those in.
** Attachment added: "list of packages and what depend on them"
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/1427275/+attachment/4369405/+files/out
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to vim in Ubuntu.
https://bugs.launchpad.net/bugs/1427275
Title:
clean cloud images of python2
Status in cloud-utils package in Ubuntu:
Confirmed
Status in landscape-client package in Ubuntu:
Confirmed
Status in vim package in Ubuntu:
Confirmed
Status in cloud-utils source package in Vivid:
Confirmed
Status in landscape-client source package in Vivid:
Confirmed
Status in vim source package in Vivid:
Confirmed
Bug description:
cloud-init is now running in python3 in the cloud images in vivid.
We'd like to remove the remaining few python2 packages.
P
From a 20150228 image, that looks like:
$ sudo apt-get remove python
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
cloud-guest-utils cloud-init landscape-client landscape-common python
python-apt python-characteristic python-chardet python-configobj
python-debian python-gdbm python-idna python-openssl python-pam
python-pkg-resources python-pyasn1 python-pyasn1-modules python-pycurl
python-serial python-service-identity python-six python-twisted-bin
python-twisted-core python-twisted-web python-zope.interface
update-notifier-common
0 upgraded, 0 newly installed, 26 to remove and 17 not upgraded.
After this operation, 18.1 MB disk space will be freed.
Do you want to continue? [Y/n]
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: landscape-client 14.12-0ubuntu1
ProcVersionSignature: User Name 3.18.0-13.14-generic 3.18.5
Uname: Linux 3.18.0-13-generic x86_64
ApportVersion: 2.16.1-0ubuntu2
Architecture: amd64
Date: Mon Mar 2 15:56:05 2015
Ec2AMI: ami-000001cc
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m1.small
Ec2Kernel: aki-00000002
Ec2Ramdisk: ari-00000002
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: landscape-client
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-utils/+bug/1427275/+subscriptions