MInt 19: python3 upgrade messed up. Update manager blocked.
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Re: MInt 19: python3 upgrade messed up. Update manager blocked.
fernando@L755-Mint ~ $ sudo /usr/bin/apt update
Atingido:1 http://archive.canonical.com/ubuntu bionic InRelease
Obter:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [83,2 kB]
Ign:3 https://mirrors.up.pt/linuxmint-packages tara InRelease
Atingido:4 https://mirrors.up.pt/linuxmint-packages tara Release
Atingido:6 http://archive.ubuntumirror.dei.uc.pt/ubuntu bionic InRelease
Obter:7 http://archive.ubuntumirror.dei.uc.pt/ubuntu bionic-updates InRelease [88,7 kB]
Obter:8 http://archive.ubuntumirror.dei.uc.pt/ubuntu bionic-backports InRelease [74,6 kB]
Obtidos 247 kB em 1s (244 kB/s)
A ler as listas de pacotes... Pronto
A construir árvore de dependências
A ler a informação de estado... Pronto
11 packages can be upgraded. Run 'apt list --upgradable' to see them.
Re: MInt 19: python3 upgrade messed up. Update manager blocked.
A lot less errors now...
A instalar python3 (3.6.5-3ubuntu1) ...
running python rtupdate hooks for python3.6...
[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/printsettings_base.py'
[Errno 2] No such file or directory: '/usr/share/hplip/ui5/setupdialog_base5.py'
error running python rtupdate hook hplip-data
dpkg: erro ao processar o pacote python3 (--configure):
installed python3 package post-installation script subprocess returned error exit status 4
Foram encontrados erros enquanto processava:
python3
E: Sub-process /usr/bin/dpkg returned an error code (1)
Falhou a instalação de um pacote. A tentar recuperar:
A instalar python3 (3.6.5-3ubuntu1) ...
running python rtupdate hooks for python3.6...
[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/printsettings_base.py'
[Errno 2] No such file or directory: '/usr/share/hplip/ui5/setupdialog_base5.py'
error running python rtupdate hook hplip-data
dpkg: erro ao processar o pacote python3 (--configure):
installed python3 package post-installation script subprocess returned error exit status 4
dpkg: problemas com dependências impedem a configuração de python3-dev:
python3-dev depende de python3 (= 3.6.5-3ubuntu1); no entanto:
O pacote python3 ainda não está configurado.
dpkg: erro ao processar o pacote python3-dev (--configure):
problemas com dependências - a deixar por configurar
Foram encontrados erros enquanto processava:
python3
python3-dev
A instalar python3 (3.6.5-3ubuntu1) ...
running python rtupdate hooks for python3.6...
[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/printsettings_base.py'
[Errno 2] No such file or directory: '/usr/share/hplip/ui5/setupdialog_base5.py'
error running python rtupdate hook hplip-data
dpkg: erro ao processar o pacote python3 (--configure):
installed python3 package post-installation script subprocess returned error exit status 4
Foram encontrados erros enquanto processava:
python3
E: Sub-process /usr/bin/dpkg returned an error code (1)
Falhou a instalação de um pacote. A tentar recuperar:
A instalar python3 (3.6.5-3ubuntu1) ...
running python rtupdate hooks for python3.6...
[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/printsettings_base.py'
[Errno 2] No such file or directory: '/usr/share/hplip/ui5/setupdialog_base5.py'
error running python rtupdate hook hplip-data
dpkg: erro ao processar o pacote python3 (--configure):
installed python3 package post-installation script subprocess returned error exit status 4
dpkg: problemas com dependências impedem a configuração de python3-dev:
python3-dev depende de python3 (= 3.6.5-3ubuntu1); no entanto:
O pacote python3 ainda não está configurado.
dpkg: erro ao processar o pacote python3-dev (--configure):
problemas com dependências - a deixar por configurar
Foram encontrados erros enquanto processava:
python3
python3-dev
Re: MInt 19: python3 upgrade messed up. Update manager blocked.
Same problem here.
I think that the problem is that I installed hplip trying to install my printer with a script I got from the official HP site. The script installed hplip-3.18.6 in my Downloads folder and the ui5 folder is there.
I think that the problem is that I installed hplip trying to install my printer with a script I got from the official HP site. The script installed hplip-3.18.6 in my Downloads folder and the ui5 folder is there.
- smurphos
- Level 18
- Posts: 8501
- Joined: Fri Sep 05, 2014 12:18 am
- Location: Irish Brit in Portugal
- Contact:
Re: MInt 19: python3 upgrade messed up. Update manager blocked.
Getting there, but not quite
Try installing from the cached downloads.
Tries to fix configuration issues.
if that doesn't work I've attached a zip file with the 3 missing files from /usr/share/hplip/ui5 - you could try putting them in the folder - you'll need to have root and see if
Are both of your machines upgrades from 18.3? I've just checked an 18.3 installation and the folder is called ui4 there. I wonder if the underlying bug is with HPLIP and the upgrade from 18.3 to 19?
Try installing from the cached downloads.
sudo dpkg -i /var/cache/apt/archives/*.deb
Tries to fix configuration issues.
sudo dpkg --configure -a
if that doesn't work I've attached a zip file with the 3 missing files from /usr/share/hplip/ui5 - you could try putting them in the folder - you'll need to have root and see if
sudo /usr/bin/apt update
finishes the installation.Are both of your machines upgrades from 18.3? I've just checked an 18.3 installation and the folder is called ui4 there. I wonder if the underlying bug is with HPLIP and the upgrade from 18.3 to 19?
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
Re: MInt 19: python3 upgrade messed up. Update manager blocked.
I'm late to the thread and I didn't really read after the above but didn't see it mentioned, sorry if it was:
apt is a python3 script. It's a wrapper for the actual binaries. So if python3 is broken you don't get to use that. You must use apt-get instead:
sudo apt-get install --reinstall python3
Re: MInt 19: python3 upgrade messed up. Update manager blocked.
yes, this is an upgrade from Mint 18.3
I had to reinstall hplip after the upgrade in order to print.
If it wasn't this update for python3, Mint 19 was running perfect.
I had to reinstall hplip after the upgrade in order to print.
If it wasn't this update for python3, Mint 19 was running perfect.
- smurphos
- Level 18
- Posts: 8501
- Joined: Fri Sep 05, 2014 12:18 am
- Location: Irish Brit in Portugal
- Contact:
Re: MInt 19: python3 upgrade messed up. Update manager blocked.
Your input is welcome gm10 - I'm clutching at straws . That did cross my mind, but it does seem python is still OK, just dpkg is stuck on the failed update of python3.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
Re: MInt 19: python3 upgrade messed up. Update manager blocked.
Almost there... one error left
A instalar python3 (3.6.5-3ubuntu1) ...
running python rtupdate hooks for python3.6...
[Errno 2] No such file or directory: '/usr/share/hplip/ui5/setupdialog_base5.py'
error running python rtupdate hook hplip-data
dpkg: erro ao processar o pacote python3 (--configure):
installed python3 package post-installation script subprocess returned error exit status 4
Foram encontrados erros enquanto processava:
python3
E: Sub-process /usr/bin/dpkg returned an error code (1)
A instalar python3 (3.6.5-3ubuntu1) ...
running python rtupdate hooks for python3.6...
[Errno 2] No such file or directory: '/usr/share/hplip/ui5/setupdialog_base5.py'
error running python rtupdate hook hplip-data
dpkg: erro ao processar o pacote python3 (--configure):
installed python3 package post-installation script subprocess returned error exit status 4
Foram encontrados erros enquanto processava:
python3
E: Sub-process /usr/bin/dpkg returned an error code (1)
Re: MInt 19: python3 upgrade messed up. Update manager blocked.
Well, have him try apt-get, anyway. Also to remove that hplib thing. It can be removed for sure since I don't have it on my system.
Anyway, I don't really want to get involved further. The above is the reason why I never do distro upgrades.
Re: MInt 19: python3 upgrade messed up. Update manager blocked.
gm10:
Yes, better a clean install than a upgrade
Yes, better a clean install than a upgrade
- smurphos
- Level 18
- Posts: 8501
- Joined: Fri Sep 05, 2014 12:18 am
- Location: Irish Brit in Portugal
- Contact:
Re: MInt 19: python3 upgrade messed up. Update manager blocked.
Here is that file if you need it...
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
Re: MInt 19: python3 upgrade messed up. Update manager blocked.
Meanwhile i managed to do
sudo dpkg -i /var/cache/apt/archives/*.deb
Am I doing a downgrade ?
sudo dpkg -i /var/cache/apt/archives/*.deb
Am I doing a downgrade ?
- smurphos
- Level 18
- Posts: 8501
- Joined: Fri Sep 05, 2014 12:18 am
- Location: Irish Brit in Portugal
- Contact:
Re: MInt 19: python3 upgrade messed up. Update manager blocked.
Nope, it's just installing from the cache of debs already downloaded by the update manager.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
Re: MInt 19: python3 upgrade messed up. Update manager blocked.
same problem here with fresh install. I have ui4 folder not ui5 on hplip directory.
EDIT
I have create a ui5 folder inside /usr/share/hplip and i copy the files from ui4 inside. everything runs smoothly now, and updates work again.
EDIT
I have create a ui5 folder inside /usr/share/hplip and i copy the files from ui4 inside. everything runs smoothly now, and updates work again.
- smurphos
- Level 18
- Posts: 8501
- Joined: Fri Sep 05, 2014 12:18 am
- Location: Irish Brit in Portugal
- Contact:
Re: MInt 19: python3 upgrade messed up. Update manager blocked.
Fresh install of 19? It's very weird.
On all my fresh installs ui5 folder is present and correct. I've tried purging hplip-data and reinstalling from the repo it to see if there is some fault in the package but it reinstalled with the ui5 folder present and correct.
The only system with a ui4 folder is on 18.3 still.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
Re: MInt 19: python3 upgrade messed up. Update manager blocked.
Fresh install of 19 (mate) yes but i had installed hplip from hp's site. During the installation, hplip had remove the build-in driver before re-installed, maybe then the problem created.
Re: MInt 19: python3 upgrade messed up. Update manager blocked.
self-made problem. Don't lead with "fresh install" but "I installed binaries found on the Internet and it broke my system". We wouldn't have been surprised then.
- smurphos
- Level 18
- Posts: 8501
- Joined: Fri Sep 05, 2014 12:18 am
- Location: Irish Brit in Portugal
- Contact:
Re: MInt 19: python3 upgrade messed up. Update manager blocked.
The installer script direct from HP gives this warning in red before asking if you want to proceed. Clearly a bad idea to ignore it.
error: linuxmint-19 version is not supported, so all dependencies may not be installed. However trying to install using linuxmint-18.3 version packages.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
Re: MInt 19: python3 upgrade messed up. Update manager blocked.
Hi, I did this on 2 of my machines - and got the same problem, solved by removing the downloaded hplip install and installed hplip-gui and hpijs-ppds through synaptic package manager as i needed the scanner plugin for my MFP to be able to scan
rg
Christian