Bug#518490: python-formencode: Does not clean up .pyc files

2009-03-06 Thread Sam Morris
Package: python-formencode
Version: 1.2.1-2
Severity: serious

Preparing to replace python-formencode 1.0.1-1 (using 
.../python-formencode_1.2.1-2_all.deb) ...
Unpacking replacement python-formencode ...
dpkg: warning - unable to delete old directory 
`/usr/lib/python2.5/site-packages/formencode/i18n': Directory not empty
dpkg: warning - unable to delete old directory 
`/usr/lib/python2.5/site-packages/formencode/util': Directory not empty
dpkg: warning - unable to delete old directory 
`/usr/lib/python2.5/site-packages/formencode': Directory not empty
dpkg: warning - unable to delete old directory 
`/usr/lib/python2.4/site-packages/formencode/i18n': Directory not empty
dpkg: warning - unable to delete old directory 
`/usr/lib/python2.4/site-packages/formencode/util': Directory not empty
dpkg: warning - unable to delete old directory 
`/usr/lib/python2.4/site-packages/formencode': Directory not empty

$ find /usr/lib/python2.5/site-packages/formencode -ls
2312844 drwxr-xr-x   5 root root 4096 Mar  6 15:19 
/usr/lib/python2.5/site-packages/formencode
2321378 -rw-r--r--   1 root root 4767 Mar  6 15:19 
/usr/lib/python2.5/site-packages/formencode/foreach.pyc
230675   32 -rw-r--r--   1 root root29635 Mar  6 15:19 
/usr/lib/python2.5/site-packages/formencode/national.pyc
2306560 lrwxrwxrwx   1 root root   53 Mar  6 15:19 
/usr/lib/python2.5/site-packages/formencode/doctest_xml_compare.py -> 
/usr/share/pyshared/formencode/doctest_xml_compare.py
2321528 -rw-r--r--   1 root root 5005 Mar  6 15:19 
/usr/lib/python2.5/site-packages/formencode/variabledecode.pyc
2321384 -rw-r--r--   1 root root 1109 Apr 25  2008 
/usr/lib/python2.5/site-packages/formencode/formgen.pyc
232151  104 -rw-r--r--   1 root root   102202 Mar  6 15:19 
/usr/lib/python2.5/site-packages/formencode/validators.pyc
2306744 -rw-r--r--   1 root root 3413 Mar  6 15:19 
/usr/lib/python2.5/site-packages/formencode/htmlrename.pyc
2306680 lrwxrwxrwx   1 root root   40 Mar  6 15:19 
/usr/lib/python2.5/site-packages/formencode/schema.py -> 
/usr/share/pyshared/formencode/schema.py
2306644 drwxr-xr-x   2 root root 4096 Mar  6 15:19 
/usr/lib/python2.5/site-packages/formencode/javascript
2306650 lrwxrwxrwx   1 root root   53 Mar  6 15:19 
/usr/lib/python2.5/site-packages/formencode/javascript/ordering.js -> 
/usr/share/pyshared/formencode/javascript/ordering.js
232139   20 -rw-r--r--   1 root root18305 Mar  6 15:19 
/usr/lib/python2.5/site-packages/formencode/htmlfill.pyc
2321364 -rw-r--r--   1 root root  487 Mar  6 15:19 
/usr/lib/python2.5/site-packages/formencode/fieldstorage.pyc
2306530 lrwxrwxrwx   1 root root   42 Mar  6 15:19 
/usr/lib/python2.5/site-packages/formencode/compound.py -> 
/usr/share/pyshared/formencode/compound.py
2306520 lrwxrwxrwx   1 root root   37 Mar  6 15:19 
/usr/lib/python2.5/site-packages/formencode/api.py -> 
/usr/share/pyshared/formencode/api.py
2313114 drwxr-xr-x   2 root root 4096 Mar  6 15:18 
/usr/lib/python2.5/site-packages/formencode/i18n
2321438 -rw-r--r--   1 root root 4695 Apr 25  2008 
/usr/lib/python2.5/site-packages/formencode/i18n/msgfmt.pyc
2306670 lrwxrwxrwx   1 root root   49 Mar  6 15:19 
/usr/lib/python2.5/site-packages/formencode/rewritingparser.py -> 
/usr/share/pyshared/formencode/rewritingparser.py
2313054 drwxr-xr-x   2 root root 4096 Mar  6 15:19 
/usr/lib/python2.5/site-packages/formencode/util
232149   88 -rw-r--r--   1 root root83652 Mar  6 15:19 
/usr/lib/python2.5/site-packages/formencode/util/doctest24.pyc
2306690 lrwxrwxrwx   1 root root   47 Mar  6 15:19 
/usr/lib/python2.5/site-packages/formencode/util/__init__.py -> 
/usr/share/pyshared/formencode/util/__init__.py
2321504 -rw-r--r--   1 root root 1869 Mar  6 15:19 
/usr/lib/python2.5/site-packages/formencode/util/threadinglocal.pyc
2306700 lrwxrwxrwx   1 root root   48 Mar  6 15:19 
/usr/lib/python2.5/site-packages/formencode/util/doctest24.py -> 
/usr/share/pyshared/formencode/util/doctest24.py
2306710 lrwxrwxrwx   1 root root   53 Mar  6 15:19 
/usr/lib/python2.5/site-packages/formencode/util/threadinglocal.py -> 
/usr/share/pyshared/formencode/util/threadinglocal.py
2321484 -rw-r--r--   1 root root  147 Mar  6 15:19 
/usr/lib/python2.5/site-packages/formencode/util/__init__.pyc
2306510 lrwxrwxrwx   1 root root   42 Mar  6 15:19 
/usr/lib/python2.5/site-packages/formencode/__init__.py -> 
/usr/share/pyshared/formencode/__init__.py
232147   12 -rw-r--r--   1 root root 8955 Apr 25  2008 
/usr/lib/python2.5/site-packages/formencode/sqlschema.pyc
2321464 -rw-r--r--   1 root root 2910 Apr 25  2008 
/usr/lib/python2.5/site-packag

Bug#518490: python-formencode: Does not clean up .pyc files

2009-03-09 Thread Piotr Ożarowski
tags 518490 +unreproducible
thanks

please try to call:
# pycentral pkgremove python-formencode

and then reinstall python-formencode. If it will not work (let me know about
it), try to install 1.0.1-1 again, remove it and then install 1.2.1-2
(or 1.2.2-1)

(python-central isn't (wasn't? see 479852) removing .pyc files during
upgrades and I removed the "DH_PYCENTRAL=nomove" in 1.1-1, that's
probably a reason)


pgpZeL2SO8q0w.pgp
Description: PGP signature


Bug#518490: python-formencode: Does not clean up .pyc files

2009-03-09 Thread Sam Morris
On Mon, 2009-03-09 at 23:52 +0100, Piotr Ożarowski wrote:
> tags 518490 +unreproducible
> thanks
> 
> please try to call:
> # pycentral pkgremove python-formencode

This left behind these files:

$ find /usr/lib/python2.5/site-packages/formencode/ -ls
224640784 drwxr-xr-x   3 root root 4096 Mar  9 23:46 
/usr/lib/python2.5/site-packages/formencode/
224647784 drwxr-xr-x   2 root root 4096 Mar  7 11:23 
/usr/lib/python2.5/site-packages/formencode/i18n
176292638 -rw-r--r--   1 root root 4695 Apr  7  2008 
/usr/lib/python2.5/site-packages/formencode/i18n/msgfmt.pyc
102237574 -rw-r--r--   1 root root 2910 Apr  7  2008 
/usr/lib/python2.5/site-packages/formencode/sqlformgen.pyc
10223747   40 -rw-r--r--   1 root root38276 Apr  7  2008 
/usr/lib/python2.5/site-packages/formencode/fields.pyc
102237534 -rw-r--r--   1 root root 3489 Apr  7  2008 
/usr/lib/python2.5/site-packages/formencode/htmlform.pyc
10223758   12 -rw-r--r--   1 root root 8955 Apr  7  2008 
/usr/lib/python2.5/site-packages/formencode/sqlschema.pyc
102237504 -rw-r--r--   1 root root 1109 Apr  7  2008 
/usr/lib/python2.5/site-packages/formencode/formgen.pyc

I guess these are the files that pycentral did not clean up, and which
caused the dpkg warnings in my original bug report.

> and then reinstall python-formencode.

Ok, the other files are back, but the files above remain.

> If it will not work (let me know about
> it), try to install 1.0.1-1 again, remove it and then install 1.2.1-2
> (or 1.2.2-1)

After installing 1.0.1-1, the above files are no longer orphaned; that
is, each one now has a .py file alongside it. Yay!

Now I'll upgrade again:

Preparing to replace python-formencode 1.0.1-1 (using 
.../python-formencode_1.2.1-2_all.deb) ...
Unpacking replacement python-formencode ...
dpkg: warning - unable to delete old directory 
`/usr/lib/python2.5/site-packages/formencode/i18n': Directory not empty
dpkg: warning - unable to delete old directory 
`/usr/lib/python2.5/site-packages/formencode/util': Directory not empty
dpkg: warning - unable to delete old directory 
`/usr/lib/python2.5/site-packages/formencode': Directory not empty
dpkg: warning - unable to delete old directory 
`/usr/lib/python2.4/site-packages/formencode/i18n': Directory not empty
dpkg: warning - unable to delete old directory 
`/usr/lib/python2.4/site-packages/formencode/util': Directory not empty
dpkg: warning - unable to delete old directory 
`/usr/lib/python2.4/site-packages/formencode': Directory not empty
Setting up python-formencode (1.2.1-2) ...

So it appears I can at least reproduce the bug. Let me know if you want
any more info. :)

-- 
Sam Morris
https://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078


signature.asc
Description: This is a digitally signed message part


Bug#518490: python-formencode: Does not clean up .pyc files

2009-03-10 Thread Piotr Ożarowski
[Sam Morris, 2009-03-10]
> > If it will not work (let me know about
> > it), try to install 1.0.1-1 again, remove it and then install 1.2.1-2
> > (or 1.2.2-1)
> 
> After installing 1.0.1-1, the above files are no longer orphaned; that
> is, each one now has a .py file alongside it. Yay!

please try the same with 1.2.2-1




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



Processed: Re: Bug#518490: python-formencode: Does not clean up .pyc files

2009-03-09 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 518490 +unreproducible
Bug#518490: python-formencode: Does not clean up .pyc files
There were no tags set.
Tags added: unreproducible

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


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



Processed: Re: Bug#518490: python-formencode: Does not clean up .pyc files

2009-03-09 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 518490 -unreproducible
Bug#518490: python-formencode: Does not clean up .pyc files
Tags were: unreproducible
Tags removed: unreproducible

> notfound 518490 1.0.1-1
Bug#518490: python-formencode: Does not clean up .pyc files
Bug no longer marked as found in version 1.0.1-1.

> found 518490 1.1-1
Bug#518490: python-formencode: Does not clean up .pyc files
Bug marked as found in version 1.1-1.

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


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