> [root@sh2 /home/smooker]# cat /var/lib/dpkg/info/python3-magic.prerm
> #!/bin/sh
> set -e
> 
> # Automatically added by dhpython:
> if which py3clean >/dev/null 2>&1; then
>     py3clean -p python3-magic

can you change this line to:

      python3.4 py3clean -p python3-magic

and try to upgrade again?

> >it looks like py3clean is invoked using non-python interpreter

what starts up when you invoke python3 command?
Do you see something like:

    Python 3.4.2 (default, Oct  8 2014, 10:45:20) 
    [GCC 4.9.1] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> 

and what if you invoke /bin/sh?


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to