I downloaded the HPLIP installation file "hplip-3.20.6.run" for Ubuntu from the official HP site and attempted to run it on Kubuntu 20.04.
It was unable to satisfy a python dependency.
I saw a post from Christian Haunert
with a solution to the problem, although it was for a different version of Kubuntu. He says, "You just need to update "the symbolic link" of python inside /usr/bin/"
and gives instructions:
In above example if you see the output of python --version you will get python2.7 Now update the python symlink using below command-
This was his fix. It worked for me and I was subsequently able to install HPLIP without a hitch.
Does someone understand what exactly this code does, and is it safe to run it on my system?
It was unable to satisfy a python dependency.
I saw a post from Christian Haunert
Question #691141 “Getting error installing a dependency while tr...” : Questions : HPLIP
I'm falling the install steps https://developers.hp.com/hp-linux-imaging-and-printing/install/install/index for installing the HP driver for Kubuntu 20.10. Everything goes well - I pick Ubuntu as the distribution since it's the closest to what I have. It seems to fail at step 8 which is about...
answers.launchpad.net
and gives instructions:
Code:
root@xxxxx:/usr/bin# ls -lrth python*
lrwxrwxrwx 1 root root 9 Apr 16 2018 python -> python2.7
-rwxr-xr-x 1 root root 3.6M Nov 12 2018 python2.7
-rwxr-xr-x 2 root root 4.4M May 7 14:58 python3.6
In above example if you see the output of python --version you will get python2.7 Now update the python symlink using below command-
Code:
root@irshad:/usr/bin# unlink python
root@irshad:/usr/bin# ln -s /usr/bin/python3.6 python
root@irshad:/usr/bin# python --version
Python 3.6.8
This was his fix. It worked for me and I was subsequently able to install HPLIP without a hitch.
Does someone understand what exactly this code does, and is it safe to run it on my system?