Hello,
I got the same Python3 upgrade error.

Prior that, I had installed the very latest hplip-3.18.6 from a .run file.
I did also install the hplip-3.18.6-plugin.run file.

Reason for this is another bug in the hplip package.
Please see: https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/1714659

The default hplip does not work in Ubuntu 18.04 with the GNOME-desktop
environment.
For example the "simple-scan" application did not start becuse of the
systray error in hplip.

I tried to alleviate this (systray + app exit) error by installing the
hplip from source.
It did not help, but I finally managed to disable the hplip`s use of
systray.

Ref:
https://sourceforge.net/projects/hplip/files/hplip/

http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/

Greetings
  osmo (moma) antero


Steve Langasek <steve.langa...@canonical.com> escreveu no dia segunda,
16/07/2018 à(s) 22:00:

> > I remove the file HPLIP from usr/share/ (sudo rm -r /usr/share/hplip)
> > and re-install (sh hplip-3.18.6.run)
>
> /usr/share/hplip is a directory that is managed by the hplip-data
> package in Ubuntu.  If you have installed an upstream version of hplip
> from source on top of the package, we cannot guarantee this will work;
> and this probably entirely explains the upgrade failure of python3.
>
> Why have you installed hplip from source on top of Ubuntu?  Is there
> some howto on the Internet that suggests this is a reasonable thing to
> do?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1779237
>
> Title:
>   package python3 3.6.5-3ubuntu1 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:
>   Only Ubuntu Update
>
>   ProblemType: Package
>   DistroRelease: Ubuntu 18.04
>   Package: python3 3.6.5-3ubuntu1
>   ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17
>   Uname: Linux 4.15.0-22-generic x86_64
>   ApportVersion: 2.20.9-0ubuntu7.2
>   Architecture: amd64
>   Date: Thu Jun 28 22:51:28 2018
>   ErrorMessage: installed python3 package post-installation script
> subprocess returned error exit status 4
>   InstallationDate: Installed on 2018-04-13 (76 days ago)
>   InstallationMedia: Ubuntu 16.04.4 LTS "Xenial Xerus" - Release amd64
> (20180228)
>   Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal,
> 3.6.5-3ubuntu1
>   PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal,
> 2.7.15~rc1-1
>   RelatedPackageVersions:
>    dpkg 1.19.0.5ubuntu2
>    apt  1.6.2
>   SourcePackage: python3-defaults
>   Title: package python3 3.6.5-3ubuntu1 failed to install/upgrade:
> installed python3 package post-installation script subprocess returned
> error exit status 4
>   UpgradeStatus: Upgraded to bionic on 2018-05-03 (56 days ago)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1779237/+subscriptions
>


-- 
Sent from my PC, laptop or phone with Ubuntu-Linux.

-- 
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/1779237

Title:
  package python3 3.6.5-3ubuntu1 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:
  Only Ubuntu Update

  ProblemType: Package
  DistroRelease: Ubuntu 18.04
  Package: python3 3.6.5-3ubuntu1
  ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17
  Uname: Linux 4.15.0-22-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  Date: Thu Jun 28 22:51:28 2018
  ErrorMessage: installed python3 package post-installation script subprocess 
returned error exit status 4
  InstallationDate: Installed on 2018-04-13 (76 days ago)
  InstallationMedia: Ubuntu 16.04.4 LTS "Xenial Xerus" - Release amd64 
(20180228)
  Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 
3.6.5-3ubuntu1
  PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 
2.7.15~rc1-1
  RelatedPackageVersions:
   dpkg 1.19.0.5ubuntu2
   apt  1.6.2
  SourcePackage: python3-defaults
  Title: package python3 3.6.5-3ubuntu1 failed to install/upgrade: installed 
python3 package post-installation script subprocess returned error exit status 4
  UpgradeStatus: Upgraded to bionic on 2018-05-03 (56 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1779237/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to