MInt 19: python3 upgrade messed up. Update manager blocked.

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read how to get help
soxs
Level 1
Level 1
Posts: 9
Joined: Sat Apr 22, 2017 3:13 am

Re: MInt 19: python3 upgrade messed up. Update manager blocked.

Post by soxs » Fri Jul 13, 2018 2:35 am

I was using this method for years with no problem. You know, old habits die hard.

Gunnar_h
Level 1
Level 1
Posts: 1
Joined: Fri Jul 13, 2018 3:21 am

Re: MInt 19: python3 upgrade messed up. Update manager blocked.

Post by Gunnar_h » Fri Jul 13, 2018 3:25 am

The folder /usr/share/hplip has a folder named ui4, but a folder named ui5 is needed.

Do this: Run Linux Mint 19 from the USB or DVD.

Locate the folder /usr/share/hplip/ui5.

Copy ui5 into the main system (open as administrator /usr/share/hplip)

Shut down. Run Linux Mint 19 as usual.

From the terminal do a "sudo apt-get upgrade", and python3.6 will be upgraded.

After that the update manager will be able to install the hanging updates.

User avatar
Terryphi
Level 3
Level 3
Posts: 145
Joined: Mon Jun 06, 2011 6:30 am
Location: West Wales. UK

Re: MInt 19: python3 upgrade messed up. Update manager blocked.

Post by Terryphi » Fri Jul 13, 2018 3:30 am

Is the conclusion that the problem described in this thread is a special case caused by user action and it is safe for most users to accept the python3 upgrade in LM 19?
Version: LM 19 64bit Mate

gm10
Level 12
Level 12
Posts: 4160
Joined: Thu Jun 21, 2018 5:11 pm

Re: MInt 19: python3 upgrade messed up. Update manager blocked.

Post by gm10 » Fri Jul 13, 2018 3:42 am

Terryphi wrote:
Fri Jul 13, 2018 3:30 am
Is the conclusion that the problem described in this thread is a special case caused by user action and it is safe for most users to accept the python3 upgrade in LM 19?
Sort of. If you never messed with the hp drivers then this particular problem will never affect you.

My conclusion would be, however, that it's always better to do a clean install. The upgrade script is pretty good but it cannot foresee all the possible modifications you have done to your system.

User avatar
pfd27
Level 2
Level 2
Posts: 88
Joined: Sun Feb 15, 2015 11:13 am

Re: MInt 19: python3 upgrade messed up. Update manager blocked.

Post by pfd27 » Fri Jul 13, 2018 9:54 am

How did you remove the downloaded hplip? I have tried and tried and keep getting the same error

User avatar
smurphos
Level 8
Level 8
Posts: 2040
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher...

Re: MInt 19: python3 upgrade messed up. Update manager blocked.

Post by smurphos » Fri Jul 13, 2018 10:02 am

pfd27 wrote:
Fri Jul 13, 2018 9:54 am
How did you remove the downloaded hplip? I have tried and tried and keep getting the same error
Check the contents of this folder /usr/share/hplip and see if you have ui4 or a ui5 subfolder.

If it's ui4 follow Gunnar_b's summary a few posts up - that is probably the safest/quickest way of getting the updates sorted out.

I'm not sure what the process is to remove the HP version of HPLIP, but you could try apt purge hplip* followed by apt install hplip-data hplip-gui after the rest of the updates have cleared.

User avatar
pfd27
Level 2
Level 2
Posts: 88
Joined: Sun Feb 15, 2015 11:13 am

Re: MInt 19: python3 upgrade messed up. Update manager blocked.

Post by pfd27 » Fri Jul 13, 2018 10:58 am

Worked perfect. :D

bluesky509
Level 1
Level 1
Posts: 18
Joined: Fri Jun 05, 2015 11:32 am

Re: MInt 19: python3 upgrade messed up. Update manager blocked.

Post by bluesky509 » Fri Jul 13, 2018 7:09 pm

sudo dpkg -i /var/cache/apt/archives/*.deb
sudo dpkg --configure -a
...
apt purge hplip*
apt install hplip-data hplip-gui

Above commands fixed it for me. thanks!
linux newbie

phcs
Level 1
Level 1
Posts: 1
Joined: Sat Jul 14, 2018 5:51 am

Re: MInt 19: python3 upgrade messed up. Update manager blocked.

Post by phcs » Sat Jul 14, 2018 6:20 am

There seems to be a great deal of users out there that are having problems with Python 3 , Mint 19, HPLIP, ui5 directory is not available.
Everyone knows there is an issue.
This is my fix.. New install and not an upgrade from 18.3.
It may not work for everyone, but it worked for me on two new systems.
On a new install when it is finished, run the prerequisites on startup. Important
When finished, run your sudo apt-get update and upgrade from the terminal.
Go to https://developers.hp.com/hp-linux-imaging-and-printing and download the hplip file.
Your download file run: sh hplip-3.18.6.run
You will have python file that cannot install. Ignore.
No errors.
This was my 3rd install on 19 and it worked.
P.S. Been doing Linux for the past 20 years..
I hope this helps.

User avatar
smurphos
Level 8
Level 8
Posts: 2040
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher...

Re: MInt 19: python3 upgrade messed up. Update manager blocked.

Post by smurphos » Sat Jul 14, 2018 7:05 am

phcs wrote:
Sat Jul 14, 2018 6:20 am
Go to https://developers.hp.com/hp-linux-imaging-and-printing and download the hplip file.
Your download file run: sh hplip-3.18.6.run
You will have python file that cannot install. Ignore.
No errors.
This was my 3rd install on 19 and it worked.
P.S. Been doing Linux for the past 20 years..
I hope this helps.
No. The 3.18.6 installer is explicitly not compatible with Mint 19 and using it on Mint 19 is IMHO dangerous. There is nothing wrong with the repo version of HPLIP and HPLIP-GUI unless you have a very recent model HP printer

appye
Level 1
Level 1
Posts: 24
Joined: Mon Sep 12, 2011 12:22 pm

Re: MInt 19: python3 upgrade messed up. Update manager blocked.

Post by appye » Sun Jul 22, 2018 7:39 pm

smurphos wrote:
Sat Jul 14, 2018 7:05 am
No. The 3.18.6 installer is explicitly not compatible with Mint 19 and using it on Mint 19 is IMHO dangerous. There is nothing wrong with the repo version of HPLIP and HPLIP-GUI unless you have a very recent model HP printer
Heh ... I am sure it is dangerous. I have little choice because the user I am supporting went out and bought a a LaserJet Pro M28w without knowing to check linux compatibility ... I am running through it now (via teamviewer no less, she lives 300 miles from me!) and it is taking FOREVER! Most dist-upgrades have taken less time than this... Maybe something to do with the mint19 incompatibility. I hope it will still boot after this...(!)

Post Reply

Return to “Other topics”