Package: python3
Version: 3.2.3-5
Severity: important

py3clean removes *.pyc files that belong to other packages than requested:

# apt-get install -qq python3-pkg-resources python3-gnupg
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package python3-gnupg.
(Reading database ... 11713 files and directories currently installed.)
Unpacking python3-gnupg (from .../python3-gnupg_0.3.0-1_all.deb) ...
Selecting previously unselected package python3-pkg-resources.
Unpacking python3-pkg-resources (from 
.../python3-pkg-resources_0.6.24-1_all.deb) ...
Setting up python3-gnupg (0.3.0-1) ...
Setting up python3-pkg-resources (0.6.24-1) ...

# ls -l /usr/lib/python3/dist-packages/__pycache__/
total 156
-rw-r--r-- 1 root root  41019 Aug 17 15:57 gnupg.cpython-32.pyc
-rw-r--r-- 1 root root 112438 Aug 17 15:57 pkg_resources.cpython-32.pyc

# dpkg -P python3-pkg-resources
(Reading database ... 11722 files and directories currently installed.)
Removing python3-pkg-resources ...

# ls -l /usr/lib/python3/dist-packages/__pycache__/
ls: cannot access /usr/lib/python3/dist-packages/__pycache__/: No such file or 
directory


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.5-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python3 depends on:
ii  python3-minimal  3.2.3-5
ii  python3.2        3.2.3-3

--
Jakub Wilk


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to