On 04/08/2015 04:15 PM, Piotr Ożarowski wrote:
[Piotr Ożarowski, 2015-04-08]
py3clean -p python3-magic
can you change this line to:
python3.4 py3clean -p python3-magic
err, sorry:
python3.4 /usr/bin/py3clean -p python3-magic
---
...
(Reading database ... 254683 files and directories currently installed.)
Preparing to unpack .../tzdata-java_2015b-1_all.deb ...
Unpacking tzdata-java (2015b-1) over (2015a-1) ...
Preparing to unpack .../debconf_1.5.56_all.deb ...
import import: Unable to open XServer ().
import import: Unable to open XServer ().
import import: Unable to open XServer ().
from: can't read /var/mail/glob
from: can't read /var/mail/os
from: can't read /var/mail/os.path
/usr/bin/py3clean: 31: /usr/bin/py3clean: Syntax error: word unexpected
(expecting ")")
...
/usr/bin/py3compile: 33: /usr/bin/py3compile: Syntax error: word
unexpected (expecting ")")
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/debconf_1.5.56_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
---
the contents of /var/lib/dpkg/info/python3-magic.prerm remained
untouched after the error.
additional info:
--- line 30-31 of py3clean
from os.path import dirname, basename, exists, join, splitext
sys.path.insert(1, '/usr/share/python3/')
--- end of line 30-31
--- line 32-33 of py3compile
from subprocess import PIPE, Popen
sys.path.insert(1, '/usr/share/python3/')
--- end line 32-33 of py3compile
I do not understand python, but these seems strange to me ;)
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]