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
        22464078    4 drwxr-xr-x   3 root     root         4096 Mar  9 23:46 
/usr/lib/python2.5/site-packages/formencode/
        22464778    4 drwxr-xr-x   2 root     root         4096 Mar  7 11:23 
/usr/lib/python2.5/site-packages/formencode/i18n
        17629263    8 -rw-r--r--   1 root     root         4695 Apr  7  2008 
/usr/lib/python2.5/site-packages/formencode/i18n/msgfmt.pyc
        10223757    4 -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     root        38276 Apr  7  2008 
/usr/lib/python2.5/site-packages/formencode/fields.pyc
        10223753    4 -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
        10223750    4 -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

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

Reply via email to