[Miroslav Tzonkov, 2015-04-08]
> Preparing to unpack .../python3-magic_1%3a5.22+15-2_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 ")")
> dpkg: warning: subprocess old pre-removal script returned error exit status
> 2

so the problem is most probably in old python3-magic package (not in
1:5.22+15-2 - I checked that). Did you try to install backported version
of this package at some point?
Can you show me /var/lib/dpkg/info/python3-magic.prerm file?

it looks like py3clean is invoked using non-python interpreter


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

Reply via email to