[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[LONG] python2.3-subversion leaves byte-compiled files after removal in /usr/lib/python2.3/site-packages/{lib,}svn/



Hello,


I have a problem with python2.3-subversion version 1.1.4-1. I tried to
install trac with this dependencies:

# apt-get install trac
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  db4.2-util libneon24 libsqlite0 libsvn0 python-clearsilver python-sqlite python2.3-clearsilver python2.3-sqlite python2.3-subversion subversion
Suggested packages:
  subversion-tools enscript python-docutils
Recommended packages:
  python-egenix-mxdatetime apache2 httpd
The following NEW packages will be installed:
  db4.2-util libneon24 libsqlite0 libsvn0 python-clearsilver python-sqlite python2.3-clearsilver python2.3-sqlite python2.3-subversion subversion trac
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/3186kB of archives.
After unpacking 9929kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Preconfiguring packages ...
Selecting previously deselected package libsqlite0.
(Reading database ... 74953 files and directories currently installed.)
Unpacking libsqlite0 (from .../libsqlite0_2.8.16-1_i386.deb) ...
Selecting previously deselected package db4.2-util.
Unpacking db4.2-util (from .../db4.2-util_4.2.52-18_i386.deb) ...
Selecting previously deselected package libneon24.
Unpacking libneon24 (from .../libneon24_0.24.7.dfsg-1_i386.deb) ...
Selecting previously deselected package libsvn0.
Unpacking libsvn0 (from .../libsvn0_1.1.4-1_i386.deb) ...
Selecting previously deselected package python2.3-clearsilver.
Unpacking python2.3-clearsilver (from .../python2.3-clearsilver_0.9.13-3_i386.deb) ...
Selecting previously deselected package python-clearsilver.
Unpacking python-clearsilver (from .../python-clearsilver_0.9.13-3_all.deb) ...
Selecting previously deselected package python2.3-sqlite.
Unpacking python2.3-sqlite (from .../python2.3-sqlite_1.0.1-2_i386.deb) ...
Selecting previously deselected package python-sqlite.
Unpacking python-sqlite (from .../python-sqlite_1.0.1-2_all.deb) ...
Selecting previously deselected package subversion.
Unpacking subversion (from .../subversion_1.1.4-1_i386.deb) ...
Selecting previously deselected package python2.3-subversion.
Unpacking python2.3-subversion (from .../python2.3-subversion_1.1.4-1_i386.deb) ...
Selecting previously deselected package trac.
Unpacking trac (from .../archives/trac_0.8.1-3_all.deb) ...
Setting up libsqlite0 (2.8.16-1) ...

Setting up db4.2-util (4.2.52-18) ...
Setting up libneon24 (0.24.7.dfsg-1) ...

Setting up libsvn0 (1.1.4-1) ...

Setting up python2.3-clearsilver (0.9.13-3) ...
Setting up python-clearsilver (0.9.13-3) ...
Setting up python2.3-sqlite (1.0.1-2) ...

Setting up python-sqlite (1.0.1-2) ...
Setting up subversion (1.1.4-1) ...

Setting up python2.3-subversion (1.1.4-1) ...
Setting up trac (0.8.1-3) ...

#

I later decided that I was not interested in it and I removed trac and
every dependencies:

# apt-get remove --purge db4.2-util libneon24 libsqlite0 libsvn0 python-clearsilver python-sqlite python2.3-clearsilver python2.3-sqlite python2.3-subversion subversion
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  db4.2-util* libneon24* libsqlite0* libsvn0* python-clearsilver* python-sqlite* python2.3-clearsilver* python2.3-sqlite* python2.3-subversion* subversion* trac*
0 upgraded, 0 newly installed, 11 to remove and 0 not upgraded.
Need to get 0B of archives.
After unpacking 9929kB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 75345 files and directories currently installed.)
Removing trac ...
Removing python2.3-subversion ...
dpkg - warning: while removing python2.3-subversion, directory `/usr/lib/python2.3/site-packages/svn' not empty so not removed.
dpkg - warning: while removing python2.3-subversion, directory `/usr/lib/python2.3/site-packages/libsvn' not empty so not removed.
Removing subversion ...
Purging configuration files for subversion ...
Removing db4.2-util ...
Removing libsvn0 ...
Purging configuration files for libsvn0 ...
Removing libneon24 ...
Purging configuration files for libneon24 ...
Removing python-sqlite ...
Removing python2.3-sqlite ...
Removing libsqlite0 ...
Purging configuration files for libsqlite0 ...
Removing python-clearsilver ...
Removing python2.3-clearsilver ...
#

However, there are still some files left:

$ ls -l /usr/lib/python2.3/site-packages/{lib,}svn/
/usr/lib/python2.3/site-packages/libsvn/:
total 416
-rw-r--r--  1 root root   131 May 11 17:47 __init__.pyc
-rw-r--r--  1 root root   131 May 11 17:47 __init__.pyo
-rw-r--r--  1 root root 16574 May 11 17:47 client.pyc
-rw-r--r--  1 root root 16574 May 11 17:47 client.pyo
-rw-r--r--  1 root root 79650 May 11 17:47 core.pyc
-rw-r--r--  1 root root 79650 May 11 17:47 core.pyo
-rw-r--r--  1 root root 15438 May 11 17:47 delta.pyc
-rw-r--r--  1 root root 15438 May 11 17:47 delta.pyo
-rw-r--r--  1 root root 12305 May 11 17:47 fs.pyc
-rw-r--r--  1 root root 12305 May 11 17:47 fs.pyo
-rw-r--r--  1 root root 15349 May 11 17:47 ra.pyc
-rw-r--r--  1 root root 15349 May 11 17:47 ra.pyo
-rw-r--r--  1 root root 19757 May 11 17:47 repos.pyc
-rw-r--r--  1 root root 19757 May 11 17:47 repos.pyo
-rw-r--r--  1 root root 29022 May 11 17:47 wc.pyc
-rw-r--r--  1 root root 29022 May 11 17:47 wc.pyo

/usr/lib/python2.3/site-packages/svn/:
total 88
-rw-r--r--  1 root root  128 May 11 17:47 __init__.pyc
-rw-r--r--  1 root root  128 May 11 17:47 __init__.pyo
-rw-r--r--  1 root root  162 May 11 17:47 client.pyc
-rw-r--r--  1 root root  162 May 11 17:47 client.pyo
-rw-r--r--  1 root root 2324 May 11 17:47 core.pyc
-rw-r--r--  1 root root 2324 May 11 17:47 core.pyo
-rw-r--r--  1 root root 3589 May 11 17:47 delta.pyc
-rw-r--r--  1 root root 3589 May 11 17:47 delta.pyo
-rw-r--r--  1 root root 5741 May 11 17:47 fs.pyc
-rw-r--r--  1 root root 5701 May 11 17:47 fs.pyo
-rw-r--r--  1 root root  154 May 11 17:47 ra.pyc
-rw-r--r--  1 root root  154 May 11 17:47 ra.pyo
-rw-r--r--  1 root root 6770 May 11 17:47 repos.pyc
-rw-r--r--  1 root root 6770 May 11 17:47 repos.pyo
-rw-r--r--  1 root root  151 May 11 17:47 util.pyc
-rw-r--r--  1 root root  151 May 11 17:47 util.pyo
-rw-r--r--  1 root root  154 May 11 17:47 wc.pyc
-rw-r--r--  1 root root  154 May 11 17:47 wc.pyo
$

IAIUI this is against Python Policy 2.5 Module Bytecompilation. Should I
file a bug report or have I missed something?


Fred

PS: please CC me as I am not subscribed to the list. Thanks.


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)

Versions of packages python2.3-subversion depends on:
ii  libapr0                     2.0.54-2     the Apache Portable Runtime
ii  libc6                       2.3.2.ds1-21 GNU C Library: Shared libraries an
ii  libsvn0                     1.1.4-1      shared libraries used by Subversio
ii  python2.3                   2.3.5-3      An interactive high-level object-o
ii  subversion                  1.1.4-1      advanced version control system (a

-- no debconf information



Reply to: