On Thu, May 09, 2019 at 11:45:05AM +0900, Norbert Preining 
<norb...@preining.info> wrote:
> > to create those files, running calibre as root suffices which is hardly
> > impossible, and is exactly what has happened in this case.
> 
> Well, that is something that is not to be expected. And I guess that a
> lot of other python programs will have similar problems when you run
> something as root.

Then they would need to be fixed when they are packaged for debian - as
far as I can see, the debian python policy effectively require such a
fix and other python programs packaged for debian seem to implement it
- i.e. creating these files at install time and removing them before
uninstalling.

Again, the problem in this bug report almost certainly stem from calibre
not removing the .pyc files - the .py files were duly removed by dpkg,
butsince python looks for .pyc files, this explains the leftovers.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schm...@schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\

Reply via email to