Announcement

Collapse
No announcement yet.

Discover Update Errors

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Discover Update Errors

    I have been having problems with Discover updating my system. Seems the problem revolves around Python3-apt update. Discover almost always fails to do the update because of the error created by the Python updater. I am running Kubuntu 18.04 and this problem has started this just recently.

    dpkg: error processing package python3-apt (--configure):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    python3
    python3-update-manager
    netplan.io
    ubuntu-release-upgrader-core
    ubuntu-release-upgrader-qt
    nplan
    unattended-upgrades
    python3-distupgrade
    update-manager-core
    python3-apt
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Any help curing this problem would be greatly appreciated.

    #2
    Open a konsole and type: sudo apt update && sudo apt full-upgrade
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Thanks Snowdog for the information. I ended up purging Python3 and reinstalling it along with Muon-Discover. I did try to do the distro upgrade but that failed also. Wasn't until I purged Python3 that I could do the disto upgrade to complete without error. I think something got corrupted with one of Pythons dependency's and creating the error. A note on this problem if you have to purge Pythin3 you will have to reinstall Muon-Discover along with FireFox if your are using it for your browser. Thanks again Snowdog for your suggestion, it was greatly appreciated.

      Comment


        #4
        Install muon and use it instead of Discover.
        "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
        – John F. Kennedy, February 26, 1962.

        Comment


          #5
          GreyGeek I have it installed but once discover fails the update the updates will not show up in Muon. Will try using it next time I get an update notice. By reinstalling Python3 it messed up my system and had to login from the terminal then startX. I had to do a restore using TimeShift to get things back to normal. I still have the same error trying to do a full upgrade. Back to the Python Error listed above.

          Comment


            #6
            Discover Update Errors

            Ignore Discover. Don’t use it. If necessary uninstall it.
            Use these two commands:
            sudo apt -f install
            dodo dpkg —configure -a
            Over and over several times to clean things up.
            You may have to rebuild your apt cache
            "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
            – John F. Kennedy, February 26, 1962.

            Comment


              #7
              Muon failed with same update problems. Tried your suggestions with failed also. Looks like a fresh install is going to be what is needed. Below is the results of attempted updates:


              Results from Muon:

              python3
              installed python3 package post-installation script subprocess returned error exit status 4

              python3-update-manager
              dependency problems - leaving unconfigured

              netplan.io
              dependency problems - leaving unconfigured

              ubuntu-release-upgrader-core
              dependency problems - leaving unconfigured

              ubuntu-release-upgrader-qt
              dependency problems - leaving unconfigured

              nplan
              dependency problems - leaving unconfigured

              unattended-upgrades
              dependency problems - leaving unconfigured

              python3-distupgrade
              dependency problems - leaving unconfigured

              ufw
              dependency problems - leaving triggers unprocessed

              Results from your suggestion:

              update-manager-core
              dependency problems - leaving unconfiguredReading package lists... Done
              Building dependency tree
              Reading state information... Done
              The following packages were automatically installed and are no longer required:
              linux-headers-4.15.0-23 linux-headers-4.15.0-23-generic linux-image-4.15.0-23-generic
              linux-modules-4.15.0-23-generic linux-modules-extra-4.15.0-23-generic
              Use 'sudo apt autoremove' to remove them.
              0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
              10 not fully installed or removed.
              After this operation, 0 B of additional disk space will be used.
              Setting up python3 (3.6.5-3ubuntu1) ...
              running python rtupdate hooks for python3.6...
              E: py3compile:183: cannot create directory /usr/share/hplip/ui5/__pycache__: FileNotFoundError(2, 'No such file or directory')
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/aboutdialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/aboutdialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/aligndialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/aligndialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/cleandialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/cleandialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/colorcaldialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/colorcaldialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/devicesetupdialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/devicesetupdialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/deviceuricombobox.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/devmgr5.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/devmgr5_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/devmgr_ext.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/fabgrouptable.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/fabnametable.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/fabwindow.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/fabwindow_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/faxsetupdialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/faxsetupdialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/filetable.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/firmwaredialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/firmwaredialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/infodialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/infodialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/linefeedcaldialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/linefeedcaldialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/loadpapergroupbox.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/makecopiesdialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/makecopiesdialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/mimetypesdialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/mimetypesdialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/nodevicesdialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/nodevicesdialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/plugindiagnose.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/plugindiagnose_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/plugindialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/plugindialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/pluginlicensedialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/pluginlicensedialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/pqdiagdialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/pqdiagdialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/printdialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/printdialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/printernamecombobox.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/printsettings_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/printsettingsdialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/printsettingsdialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/printsettingstoolbox.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/printtestpagedialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/printtestpagedialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/queuesconf.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/readonlyradiobutton.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/sendfaxdialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/sendfaxdialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/settingsdialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/settingsdialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/setupdialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/setupdialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/setupdialog_base5.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/systemtray.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/systrayframe.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/systrayframe_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/ui_utils.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/upgradedialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/upgradedialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/wifisetupdialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/wifisetupdialog_base.py'
              error running python rtupdate hook hplip-data
              dpkg: error processing package python3 (--configure):
              installed python3 package post-installation script subprocess returned error exit status 4
              dpkg: dependency problems prevent configuration of python3-update-manager:
              python3-update-manager depends on python3:any (>= 3.3.2-2~); however:
              Package python3 is not configured yet.

              dpkg: error processing package python3-update-manager (--configure):
              dependency problems - leaving unconfigured
              dpkg: dependency problems prevent configuration of netplan.io:
              netplan.io depends on python3; however:
              Package python3 is not configured yet.

              dpkg: error processing package netplan.io (--configure):
              dependency problems - leaving unconfigured
              dpkg: dependency problems prevent configuration of ubuntu-release-upgrader-core:
              ubuntu-release-upgrader-core depends on python3:any (>= 3.2~); however:
              Package python3 is not configured yet.

              dpkg: error processing package ubuntu-release-upgrader-core (--configure):
              dependency problems - leaving unconfigured
              dpkg: dependency problems prevent configuration of ubuntu-release-upgrader-qt:
              ubuntuNo apport report written because the error message indicates its a followup error from a previous failure.
              No apport report written because the error message indicates its a followup error from a previous failure.
              No apport report written because MaxReports is reached already
              No apport report written because MaxReports is reached already
              No apport report written because MaxReports is reached already
              No apport report written because MaxReports is reached already
              No apport report written because MaxReports is reached already
              No apport report written because MaxReports is reached already
              No apport report written because MaxReports is reached already
              No apport report written because MaxReports is reached already
              -release-upgrader-qt depends on ubuntu-release-upgrader-core (= 1:18.04.21); however:
              Package ubuntu-release-upgrader-core is not configured yet.

              dpkg: error processing package ubuntu-release-upgrader-qt (--configure):
              dependency problems - leaving unconfigured
              dpkg: dependency problems prevent configuration of nplan:
              nplan depends on netplan.io; however:
              Package netplan.io is not configured yet.

              dpkg: error processing package nplan (--configure):
              dependency problems - leaving unconfigured
              dpkg: dependency problems prevent configuration of unattended-upgrades:
              unattended-upgrades depends on python3; however:
              Package python3 is not configured yet.

              dpkg: error processing package unattended-upgrades (--configure):
              dependency problems - leaving unconfigured
              dpkg: dependency problems prevent configuration of python3-distupgrade:
              python3-distupgrade depends on python3:any (>= 3.3.2-2~); however:
              Package python3 is not configured yet.
              python3-distupgrade depends on python3-update-manager (>= 1:0.196.2~); however:
              Package python3-update-manager is not configured yet.

              dpkg: error processing package python3-distupgrade (--configure):
              dependency problems - leaving unconfigured
              dpkg: dependency problems prevent processing triggers for ufw:
              ufw depends on python3:any (>= 3.3.2-2~); however:
              Package python3 is not configured yet.

              dpkg: error processing package ufw (--configure):
              dependency problems - leaving triggers unprocessed
              dpkg: dependency problems prevent configuration of update-manager-core:
              update-manager-core depends on python3:any (>= 3.2~); however:
              Package python3 is not configured yet.
              update-manager-core depends on python3-update-manager (= 1:18.04.11.3); however:
              Package python3-update-manager is not configured yet.
              update-manager-core depends on ubuntu-release-upgrader-core (>= 1:18.04.9); however:
              Package ubuntu-release-upgrader-core is not configured yet.

              dpkg: error processing package update-manager-core (--configure):
              dependency problems - leaving unconfigured
              dpkg: dependency problems prevent configuration of python3-apt:
              python3-apt depends on python3 (<< 3.7); however:
              Package python3 is not configured yet.
              python3-apt depends on python3 (>= 3.6~); however:
              Package python3 is not configured yet.
              python3-apt depends on python3:any (>= 3.3.2-2~); however:
              Package python3 is not configured yet.

              dpkg: error processing package python3-apt (--configure):
              dependency problems - leaving unconfigured
              Errors were encountered while processing:
              python3
              python3-update-manager
              netplan.io
              ubuntu-release-upgrader-core
              ubuntu-release-upgrader-qt
              nplan
              unattended-upgrades
              python3-distupgrade
              ufw
              update-manager-core
              python3-apt
              E: Sub-process /usr/bin/dpkg returned an error code (1)
              cage@cage:~$ sudo dpkg --configure -a
              Setting up python3 (3.6.5-3ubuntu1) ...
              running python rtupdate hooks for python3.6...
              E: py3compile:183: cannot create directory /usr/share/hplip/ui5/__pycache__: FileNotFoundError(2, 'No such file or directory')
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/aboutdialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/aboutdialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/aligndialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/aligndialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/cleandialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/cleandialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/colorcaldialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/colorcaldialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/devicesetupdialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/devicesetupdialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/deviceuricombobox.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/devmgr5.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/devmgr5_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/devmgr_ext.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/fabgrouptable.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/fabnametable.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/fabwindow.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/fabwindow_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/faxsetupdialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/faxsetupdialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/filetable.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/firmwaredialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/firmwaredialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/infodialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/infodialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/linefeedcaldialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/linefeedcaldialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/loadpapergroupbox.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/makecopiesdialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/makecopiesdialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/mimetypesdialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/mimetypesdialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/nodevicesdialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/nodevicesdialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/plugindiagnose.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/plugindiagnose_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/plugindialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/plugindialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/pluginlicensedialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/pluginlicensedialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/pqdiagdialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/pqdiagdialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/printdialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/printdialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/printernamecombobox.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/printsettings_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/printsettingsdialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/printsettingsdialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/printsettingstoolbox.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/printtestpagedialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/printtestpagedialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/queuesconf.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/readonlyradiobutton.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/sendfaxdialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/sendfaxdialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/settingsdialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/settingsdialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/setupdialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/setupdialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/setupdialog_base5.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/systemtray.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/systrayframe.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/systrayframe_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/ui_utils.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/upgradedialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/upgradedialog_base.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/wifisetupdialog.py'
              [Errno 2] No such file or directory: '/usr/share/hplip/ui5/wifisetupdialog_base.py'
              error running python rtupdate hook hplip-data
              dpkg: error processing package python3 (--configure):
              installed python3 package post-installation script subprocess returned error exit status 4
              dpkg: dependency problems prevent configuration of python3-update-manager:
              python3-update-manager depends on python3:any (>= 3.3.2-2~); however:
              Package python3 is not configured yet.

              dpkg: error processing package python3-update-manager (--configure):
              dependency problems - leaving unconfigured
              dpkg: dependency problems prevent configuration of netplan.io:
              netplan.io depends on python3; however:
              Package python3 is not configured yet.

              dpkg: error processing package netplan.io (--configure):
              dependency problems - leaving unconfigured
              dpkg: dependency problems prevent configuration of ubuntu-release-upgrader-core:
              ubuntu-release-upgrader-core depends on python3:any (>= 3.2~); however:
              Package python3 is not configured yet.

              dpkg: error processing package ubuntu-release-upgrader-core (--configure):
              dependency problems - leaving unconfigured
              dpkg: dependency problems prevent configuration of ubuntu-release-upgrader-qt:
              ubuntu-release-upgrader-qt depends on ubuntu-release-upgrader-core (= 1:18.04.21); however:
              Package ubuntu-release-upgrader-core is not configured yet.

              dpkg: error processing package ubuntu-release-upgrader-qt (--configure):
              dependency problems - leaving unconfigured
              dpkg: dependency problems prevent configuration of nplan:
              nplan depends on netplan.io; however:
              Package netplan.io is not configured yet.

              dpkg: error processing package nplan (--configure):
              dependency problems - leaving unconfigured
              dpkg: dependency problems prevent configuration of unattended-upgrades:
              unattended-upgrades depends on python3; however:
              Package python3 is not configured yet.

              dpkg: error processing package unattended-upgrades (--configure):
              dependency problems - leaving unconfigured
              dpkg: dependency problems prevent configuration of python3-distupgrade:
              python3-distupgrade depends on python3:any (>= 3.3.2-2~); however:
              Package python3 is not configured yet.
              python3-distupgrade depends on python3-update-manager (>= 1:0.196.2~); however:
              Package python3-update-manager is not configured yet.

              dpkg: error processing package python3-distupgrade (--configure):
              dependency problems - leaving unconfigured
              dpkg: dependency problems prevent processing triggers for ufw:
              ufw depends on python3:any (>= 3.3.2-2~); however:
              Package python3 is not configured yet.

              dpkg: error processing package ufw (--configure):
              dependency problems - leaving triggers unprocessed
              dpkg: dependency problems prevent configuration of update-manager-core:
              update-manager-core depends on python3:any (>= 3.2~); however:
              Package python3 is not configured yet.
              update-manager-core depends on python3-update-manager (= 1:18.04.11.3); however:
              Package python3-update-manager is not configured yet.
              update-manager-core depends on ubuntu-release-upgrader-core (>= 1:18.04.9); however:
              Package ubuntu-release-upgrader-core is not configured yet.

              dpkg: error processing package update-manager-core (--configure):
              dependency problems - leaving unconfigured
              dpkg: dependency problems prevent configuration of python3-apt:
              python3-apt depends on python3 (<< 3.7); however:
              Package python3 is not configured yet.
              python3-apt depends on python3 (>= 3.6~); however:
              Package python3 is not configured yet.
              python3-apt depends on python3:any (>= 3.3.2-2~); however:
              Package python3 is not configured yet.

              dpkg: error processing package python3-apt (--configure):
              dependency problems - leaving unconfigured
              Errors were encountered while processing:
              python3
              python3-update-manager
              netplan.io
              ubuntu-release-upgrader-core
              ubuntu-release-upgrader-qt
              nplan
              unattended-upgrades
              python3-distupgrade
              ufw
              update-manager-core
              python3-apt

              python3-apt
              dependency problems - leaving unconfigured

              Comment


                #8
                A reinstall mya not be necessary

                This is the key part of the problem, not apt or muon or discover:


                Code:
                running python rtupdate hooks for python3.6...
                E: py3compile:183: cannot create directory /usr/share/[COLOR="#FF0000"]hplip[/COLOR]/ui5/__pycache__: FileNotFoundError(2, 'No such file or directory')
                [B][Errno 2] No such file or directory: '/usr/share/[COLOR="#FF0000"]hplip[/COLOR]/ui5/aboutdialog.py'
                [/B]
                **SNIPPITY SNIP SNIP
                
                [B][Errno 2] No such file or directory: '/usr/share/[COLOR="#FF0000"]hplip[/COLOR]/ui5/upgradedialog_base.py'[/B]
                [B][Errno 2] No such file or directory: '/usr/share/[COLOR="#FF0000"]hplip[/COLOR]/ui5/wifisetupdialog.py'
                [Errno 2] No such file or directory: '/usr/share/[COLOR="#FF0000"]hplip[/COLOR]/ui5/wifisetupdialog_base.py'
                error running python rtupdate hook hplip-data[/B]
                dpkg: error processing package python3 (--configure):
                installed python3 package post-installation script subprocess returned error exit status 4
                dpkg: dependency problems prevent configuration of python3-update-manager:
                python3-update-manager depends on python3:any (>= 3.3.2-2~); however:
                Package python3 is not configured yet.
                I will imagine you used the hplip installer from HP instead of the version in the repos, which seems to be causing conflicts. Or not. It is not clear to me if it is an issue with the Ubuntu package or the HP installer file

                Searching on the specific error, and not the outcome, I see a number of reports , here is one:

                https://forums.linuxmint.com/viewtop...?f=18&t=273104

                plus some bug reports
                https://bugs.launchpad.net/ubuntu/+s...p/+bug/1766020
                https://bugs.launchpad.net/ubuntu/+s...s/+bug/1779237


                And this may be the fix you need:
                hello

                after this answer

                I did like Dimitri wrote
                hello

                Hello
                sudo apt-get install --reinstall hplip hplip-data
                sudo apt-get install --reinstall python3

                solve my problem very good

                Thank you
                Paul

                >

                Thank Dimitri
                Last edited by claydoh; Jul 20, 2018, 06:32 PM.

                Comment


                  #9
                  Claydoh I tried that fix and seems all went well with no errors, so I think you were correct. Will find out for sure when the next update comes along and I will let you know if that solved the problem. I did install the HP driver with HP's installer but never had any problems until recently. How ever I do not have that problem on my laptop which does not have the HP driver installed. So I am pretty sure now that you were correct in your thinking. Thank you very much for the help.

                  Comment


                    #10
                    Great diagnostics, Claydoh!
                    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                    – John F. Kennedy, February 26, 1962.

                    Comment


                      #11
                      Claydoh that fixed the problem as my next update completed without a hitch. Thank you very much for the help.

                      Comment

                      Working...
                      X