On 04/07/2015 03:03 PM, Piotr Ożarowski wrote:
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 ")")
[...]
Kernel: Linux 3.15.7-customkernel (SMP w/8 CPU cores; PREEMPT)
you have custom kernel, did you customize other parts of your system as
well?
Nope. Nothing special.

------
[root@sh2 /home/smooker]# apt-get install python3-minimal
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  discover-data libdiscover2
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  python3-magic
The following NEW packages will be installed:
  python3-minimal
The following packages will be upgraded:
  python3-magic
1 upgraded, 1 newly installed, 0 to remove and 247 not upgraded.
4 not fully installed or removed.
Need to get 0 B/79.7 kB of archives.
After this operation, 98.3 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 255008 files and directories currently installed.)
Preparing to unpack .../python3-minimal_3.4.2-2_amd64.deb ...
Unpacking python3-minimal (3.4.2-2) ...
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
dpkg: trying script from the new package instead ...
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: error processing archive /var/cache/apt/archives/python3-magic_1%3a5.22+15-2_all.deb (--unpack):
 subprocess new pre-removal script returned error exit status 2
import import: Unable to open XServer ().
import import: Unable to open XServer ().
import import: Unable to open XServer ().
import import: Unable to open XServer ().
import import: Unable to open XServer ().
from: can't read /var/mail/os
from: can't read /var/mail/os.path
from: can't read /var/mail/subprocess
/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
Processing triggers for man-db (2.7.0.2-5) ...
Errors were encountered while processing:
 /var/cache/apt/archives/python3-magic_1%3a5.22+15-2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
------
Can you provide output of these commands:

$ ls -la /usr/bin/python3
$ md5sum /usr/bin/py3c{lean,ompile}
$ head -n 1 /usr/bin/py3c{lean,ompile}

?
Sure.
----
[root@sh2 /home/smooker]# ls -la /usr/bin/python3
lrwxrwxrwx 1 root root 9 Nov 30 22:48 /usr/bin/python3 -> python3.4
[root@sh2 /home/smooker]# ls -la /usr/bin/python3.4
-rwxr-xr-x 2 root root 4476488 Oct  8 14:45 /usr/bin/python3.4
[root@sh2 /home/smooker]#
----
[root@sh2 /home/smooker]# md5sum /usr/bin/py3c{lean,ompile}
263715200e22980b3a97425fec3da733  /usr/bin/py3clean
706f3d084282ace317e75fe86785f63f  /usr/bin/py3compile
----
[root@sh2 /home/smooker]# head -n 1 /usr/bin/py3c{lean,ompile}
==> /usr/bin/py3clean <==
#! /usr/bin/python3

==> /usr/bin/py3compile <==
#! /usr/bin/python3

Regards,
Smooker.


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

Reply via email to