Thanks for filing this bug in Ubuntu.
This is the error:
Setting up python3 (3.6.7-1~18.04) ...
running python rtupdate hooks for python3.6...
File
"/usr/share/blender/2.80/scripts/addons/io_convert_image_to_mesh_img/mesh/dtm.py",
line 133
num_labels = self.label.get(text='LABEL_RECORDS', 1)
^
SyntaxError: positional argument follows keyword argument
That dtm.py file you have should have come from the blender-data.
Problem is, the blender-data package in Ubuntu 18.04 is at version 2.79,
and you somehow have one for 2.80. There is no such thing in any Ubuntu
release yet, not even ubuntu disco.
In Bionic, installing blender-data 2.79, which is what was shipped with it,
works just fine:
ubuntu@bionic-blender:~$ sudo apt install blender-data
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libfreetype6
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
blender-data
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 12.2 MB of archives.
After this operation, 86.9 MB of additional disk space will be used.
Get:1 http://br.archive.ubuntu.com/ubuntu bionic/universe amd64 blender-data
all 2.79.b+dfsg0-1 [12.2 MB]
Fetched 12.2 MB in 4s (3273 kB/s)
Selecting previously unselected package blender-data.
(Reading database ... 28595 files and directories currently installed.)
Preparing to unpack .../blender-data_2.79.b+dfsg0-1_all.deb ...
Unpacking blender-data (2.79.b+dfsg0-1) ...
Setting up blender-data (2.79.b+dfsg0-1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Installing build-essential also works.
Please show the output of the following:
apt-cache policy blender-data
** Changed in: python3-defaults (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1820011
Title:
package python3 3.6.7-1~18.04 failed to install/upgrade: installed
python3 package post-installation script subprocess returned error
exit status 4
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1820011/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs