Package: python-fuse
Version: 1:0.2-pre3-6
Severity: important

Hi,

python-fuse in the archive contains the following location as a *file*:

  /usr/share/pyshared/fuse_python-0.2_pre3.egg-info

However, rebuilding the package locally results in this location being a
*directory*. This breaks when installing the rebuilt package:

  % dpkg -i python-fuse_0.2-pre3-6_amd64.deb
  (Reading database ... 235922 files and directories currently installed.)
  Preparing to replace python-fuse 1:0.2-pre3-6 (using
  python-fuse_0.2-pre3-6_amd64.deb) ... Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1891, in <module> main() File
  "/usr/bin/pycentral", line 1885, in main rv = action.run(global_options)
    File "/usr/bin/pycentral", line 1349, in run
      pkg.prepare(used_runtimes, old_used_runtimes, old_pkg)
    File "/usr/bin/pycentral", line 998, in prepare
      os.makedirs(d2)
    File "/usr/lib/python2.5/os.py", line 171, in makedirs
      mkdir(name, mode)
  OSError: [Errno 17] File exists:
       '/usr/lib/python2.5/site-packages/fuse_python-0.2_pre3.egg-info'
  dpkg: error processing python-fuse_0.2-pre3-6_amd64.deb (--install):
      subprocess pre-installation script returned error exit status 1
  Errors were encountered while processing: python-fuse_0.2-pre3-6_amd64.deb
  % echo $?
  1

I believe this bug to be of RC severity but am not 100% sure - at the very
least, binNMUs and/or security uploads would generate unupgradable packages.

I tried removing the .egg-info folder in the clean target and setting
"DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed" in
debian/rules, but couldn't seem to turn the location "back" into a file.


Regards,

-- 
Chris Lamb, UK                                       [EMAIL PROTECTED]
                                                            GPG: 0x634F9A20

Attachment: signature.asc
Description: PGP signature

Reply via email to