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
Touch seeded packages, which is subscribed to python3-defaults in
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
Status in python3-defaults package in Ubuntu:
Incomplete
Bug description:
I also get dpkg error and it does not get corrected I got error in
that also . I am not able to install any library or app anything
please correct it faster
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: python3 3.6.7-1~18.04
ProcVersionSignature: Ubuntu 4.15.0-36.39-generic 4.15.18
Uname: Linux 4.15.0-36-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.5
AptOrdering: NULL: ConfigurePending
Architecture: amd64
Date: Thu Mar 14 12:21:33 2019
DpkgHistoryLog:
Start-Date: 2019-03-14 12:21:14
Commandline: apt-get install build-essential
Requested-By: pooja-gaikwad (1000)
ErrorMessage: installed python3 package post-installation script subprocess
returned error exit status 4
InstallationDate: Installed on 2018-03-16 (362 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64
(20160420.1)
Python3Details: /usr/bin/python3.6, Python 3.6.7, python3-minimal,
3.6.7-1~18.04
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal,
2.7.15~rc1-1
RelatedPackageVersions:
dpkg 1.19.0.5ubuntu2.1
apt 1.6.6ubuntu0.1
SourcePackage: python3-defaults
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
UpgradeStatus: Upgraded to bionic on 2018-08-02 (223 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1820011/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp