Hi. I was also affected by this bug and I managed to reproduce it.

> Why do you think that the file going missing is a python-minimal bug?

The missing file seems to be generated by the postinst script which
contains:

pycompile -p python-backports.ssl-match-hostname


But, there's also a .prerm script for this package that runs this:

pyclean -p python-backports-shutil-get-terminal-size


If you install (reinstall) those packages:

python-backports.ssl-match-hostname
python-backports-shutil-get-terminal-size

And remove either of them, you'll end up with

/usr/lib/python2.7/dist-packages/backports/__init__.py{c}

missing.


Maybe those scripts should check if those files belong to another
packages before running pyclean

There are other python-backports-* packages that probably suffer from
the same problem.


-- 
Jason Pleau

Reply via email to