Stuck trying to install newer HPLIP

Questions about applications and software
Forum rules
Before you post please read how to get help
mediclaser
Level 4
Level 4
Posts: 362
Joined: Tue Mar 20, 2018 2:28 pm

Stuck trying to install newer HPLIP

Post by mediclaser » Thu Feb 14, 2019 6:40 pm

Have anybody here able to install a newer HPLIP on LMDE3? I'm currently stuck at finding a way to install a missing dependency:
warning: Missing REQUIRED dependency: libcrypto (libcrypto - OpenSSL cryptographic library)
warning: This installer cannot install 'libcrypto' for your distro/OS and/or version.

error: Installation cannot continue without this dependency. Please manually install this dependency and re-run this installer.

I can't find information on how to install this one. I already tried the Synaptics Package Manager and the apt command in the terminal.
If you're looking for a greener Linux pasture, you won't find any that is greener than Linux Mint. ;)

redlined

Re: Stuck trying to install newer HPLIP

Post by redlined » Thu Feb 14, 2019 7:08 pm

hi mediclaser!

I use apt-cache search to pull this list up:

Code: Select all

apt-cache search libcrypto
libssl-dev - Secure Sockets Layer toolkit - development files
libssl-doc - Secure Sockets Layer toolkit - development documentation
libssl1.0-dev - Secure Sockets Layer toolkit - development files
libssl1.0.0 - Secure Sockets Layer toolkit - shared libraries
libssl1.1 - Secure Sockets Layer toolkit - shared libraries
libcrypto++-dev - General purpose cryptographic library - C++ development
libcrypto++-doc - General purpose cryptographic library - documentation
libcrypto++-utils - General purpose cryptographic library - utilities and data files
libcrypto++6 - General purpose cryptographic library - shared library
libcrypto++6-dbg - General purpose cryptographic library - debug symbols
libcrypto-equality-clojure - Clojure library protecting against timing attacks
libcrypto-random-clojure - secure random generator for Clojure
libcryptokit-ocaml - cryptographic algorithm library for OCaml - runtime
libcryptokit-ocaml-dev - cryptographic algorithm library for OCaml - development
r-cran-openssl - GNU R toolkit for encryption, signatures and certificates based on OpenSSL
after which ran apt search libcrypto and learned I have libcrypto++6 installed locally (and no issue with hplip) but I am on LM19.1 Cinnamon, not sure if this will help with LMDE3. Try apt-cache and apt search and see if anything jumps out at you as easy install. Not sure why SPM nor apt couldn't/wouldn't install the dependency for you, that is real weird (to me)

mediclaser
Level 4
Level 4
Posts: 362
Joined: Tue Mar 20, 2018 2:28 pm

Re: Stuck trying to install newer HPLIP

Post by mediclaser » Thu Feb 14, 2019 7:38 pm

I still get the same error messages after installing all related 'libcrypto' items found by the search.

Code: Select all

libcryptokit-ocaml - cryptographic algorithm library for OCaml - runtime
libcryptokit-ocaml-dev - cryptographic algorithm library for OCaml - development
libcrypto++-dev - General purpose cryptographic library - C++ development
libcrypto++-doc - General purpose cryptographic library - documentation
libcrypto++-utils - General purpose cryptographic library - utilities and data files
libcrypto++6 - General purpose cryptographic library - shared library
libcrypto++6-dbg - General purpose cryptographic library - debug symbols
libssl-dev - Secure Sockets Layer toolkit - development files
libssl-doc - Secure Sockets Layer toolkit - development documentation
libssl1.1 - Secure Sockets Layer toolkit - shared libraries
libssl1.0-dev - Secure Sockets Layer toolkit - development files
libssl1.0.2 - Secure Sockets Layer toolkit - shared libraries
r-cran-openssl - GNU R toolkit for encryption, signatures and certificates based on OpenSSL
Any more ideas I could try?
If you're looking for a greener Linux pasture, you won't find any that is greener than Linux Mint. ;)

redlined

Re: Stuck trying to install newer HPLIP

Post by redlined » Thu Feb 14, 2019 8:10 pm

oh my, I did not mean to imply install them all :cry: (I only had libcrypto++6 package show up as installed, which apt search shows, apt-cache search gives better descriptions though)

and I really am out of my league concerning LMDE, I just don't know about the distro. This is what I have of hplip installed:

Code: Select all

anyuser@anywhere:~$ apt search hplip
i   hplip                                                                       - HP Linux Printing and Imaging System (HPLIP)                                         
p   hplip:i386                                                                  - HP Linux Printing and Imaging System (HPLIP)                                         
i   hplip-data                                                                  - HP Linux Printing and Imaging - data files                                           
i   hplip-doc                                                                   - HP Linux Printing and Imaging - documentation                                        
v   hplip-doc:i386                                                              -                                                                                      
i   hplip-gui                                                                   - HP Linux Printing and Imaging - GUI utilities (Qt-based)                             
v   hplip-ppds                                                                  -                                                             
i = installed, maybe worth try install hplip-gui and see if it rolls the rest in as dependencies (I added hplip-doc manually, otherwise ran install hplip-gui during my recent OS reinstall to give me the above list installed)

edit to add: I also don't see libcrypto listed in depends :?

Code: Select all

anyuser@anywhere:~$ apt show hplip
Package: hplip
Version: 3.17.10+repack0-5
Priority: optional
Section: utils
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1,601 kB
Depends: adduser, cups, hplip-data (= 3.17.10+repack0-5), libhpmud0 (= 3.17.10+repack0-5), libsane-hpaio (= 3.17.10+repack0-5), lsb-base, printer-driver-hpcups (= 3.17.10+repack0-5), python3-dbus, python3-gi, python3-pexpect, python3-pil, python3-reportlab, wget, python3 (<< 3.7), xz-utils, python3 (>= 3.6~), libc6 (>= 2.14), libcups2 (>= 1.6.0), libdbus-1-3 (>= 1.9.14), libsane1 (>= 1.0.24)
Recommends: avahi-daemon, policykit-1, printer-driver-postscript-hp, sane-utils
Suggests: hplip-doc, hplip-gui, python3-notify2, system-config-printer
Homepage: https://developers.hp.com/hp-linux-imaging-and-printing
Task: ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop-share, lubuntu-gtk-desktop, lubuntu-desktop, lubuntu-qt-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop
Supported: 5y
Download-Size: 1,035 kB
APT-Manual-Installed: yes
APT-Sources: http://repos.forethought.net/ubuntu bionic/main amd64 Packages
Description: HP Linux Printing and Imaging System (HPLIP)
 The HP Linux Printing and Imaging System provides full support for
 printing on most HP SFP (single function peripheral) inkjets and many
 LaserJets, and for scanning, sending faxes and for photo-card access on
 most HP MFP (multi-function peripheral) printers.
 .
 HPLIP is composed of:
  * System services to handle communications with the printers
  * HP CUPS backend driver (hp:) with bi-directional communication with
    HP printers (provides printer status feedback to CUPS and enhanced
    HPIJS functionality such as 4-side full-bleed printing support)
  * HP CUPS backend driver for sending faxes (hpfax:)
  * hpcups CUPS Raster driver to turn rasterized input from the CUPS
    filter chain into the printer's native format (PCL, LIDIL, ...).
    (hpcups is shipped in a separate package)
  * HPIJS Ghostscript IJS driver to rasterize output from PostScript(tm)
    files or from any other input format supported by Ghostscript, and
    also for PostScript(tm) to fax conversion support
    (HPIJS is shipped in a separate package)
  * Command line utilities to perform printer maintenance, such as
    ink-level monitoring or pen cleaning and calibration
  * GUI and command line utility to download data from the photo card
    interfaces in MFP devices
  * GUI and command line utilities to interface with the fax functions
  * A GUI toolbox to access all these functions in a friendly way
  * HPAIO SANE backend (hpaio) for flatbed and Automatic Document Feeder
    (ADF) scanning using MFP devices
 .
 USB, JetDirect (network) and parallel-port devices are supported.
I will slowly back away now, this is above my paygrade way outside my left&right limits :oops:

mediclaser
Level 4
Level 4
Posts: 362
Joined: Tue Mar 20, 2018 2:28 pm

Re: Stuck trying to install newer HPLIP

Post by mediclaser » Thu Feb 14, 2019 8:51 pm

No, you're good. I understood I was not supposed to install everything there. I just happened to end up installing everything after initially installing the pertinent packages and nothing changed in the error messages. Anyways, I appreciate your effort trying to help.

Looks like I will have to temporarily leave LMDE. :(
I will use it again once the HPLIP in its repo gets updated to at least 3.17.xx version number.
If you're looking for a greener Linux pasture, you won't find any that is greener than Linux Mint. ;)

redlined

Re: Stuck trying to install newer HPLIP

Post by redlined » Thu Feb 14, 2019 9:03 pm

hard to leave a distro for a single package, but I understand the position you are in.

Have you ever compiled and built from source? if not, it's fairly straightforward and simple to do as long as source includes build environment dependency infos, which they normally do. I could take a look around and help with the process if you want to give it a try :?:

Pjotr's page on HP printers was a big help when I had issues with my printer, -gui pretty much solved it, cups was flaking out on me for some reason :/
https://easylinuxtipsproject.blogspot.c ... nters.html
https://developers.hp.com/hp-linux-imaging-and-printing

edit to add, I don't see mention of LMDE support in release notes going back quite a ways.. they seem pretty good at documenting specific OS supports.
This is their d/l page:
https://developers.hp.com/hp-linux-imag ... g/gethplip

and their launchpad, which brings it a bit closer to home:
https://launchpad.net/hplip
(ps. launchpad may be a good place to report the missing dependency issue)

User avatar
smurphos
Level 12
Level 12
Posts: 4113
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: Stuck trying to install newer HPLIP

Post by smurphos » Fri Feb 15, 2019 3:02 am

Which HPLIP installer did you download from https://developers.hp.com/hp-linux-imag ... g/gethplip

I've got a hunch that for LMDE you probably need the Debian installer rather than the Linux Mint installer.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.

mediclaser
Level 4
Level 4
Posts: 362
Joined: Tue Mar 20, 2018 2:28 pm

Re: Stuck trying to install newer HPLIP

Post by mediclaser » Fri Feb 15, 2019 8:06 pm

redlined wrote:
Thu Feb 14, 2019 9:03 pm
hard to leave a distro for a single package, but I understand the position you are in.
I have already given up a lot of software functionalities by switching from Windows to Linux. I won't give up important hardware functionalities using LMDE when my second-choice (Ubuntu-based Linux Mint) distro can readily do the job.
redlined wrote:
Thu Feb 14, 2019 9:03 pm

Have you ever compiled and built from source? if not, it's fairly straightforward and simple to do as long as source includes build environment dependency infos, which they normally do. I could take a look around and help with the process if you want to give it a try :?:
I have not successfully compiled sources I did not write, and (at the same time) created in programming languages and tools I do not use. But I'll be willing to try and learn how to do it.
If you're looking for a greener Linux pasture, you won't find any that is greener than Linux Mint. ;)

mediclaser
Level 4
Level 4
Posts: 362
Joined: Tue Mar 20, 2018 2:28 pm

Re: Stuck trying to install newer HPLIP

Post by mediclaser » Fri Feb 15, 2019 8:17 pm

smurphos wrote:
Fri Feb 15, 2019 3:02 am
Which HPLIP installer did you download from https://developers.hp.com/hp-linux-imag ... g/gethplip

I've got a hunch that for LMDE you probably need the Debian installer rather than the Linux Mint installer.
That is where I get my HPLIP installer from. I have also tried downloading both Debian and Linux Mint versions, but they are exactly the same (as revealed when I did a checksum on the downloaded files). I have also tried choosing different Debian versions during install (LMDE3 is based on Debian 9.3).
If you're looking for a greener Linux pasture, you won't find any that is greener than Linux Mint. ;)

redlined

Re: Stuck trying to install newer HPLIP

Post by redlined » Fri Feb 15, 2019 8:37 pm

dang... I was really hoping smurphos nailed it (I hadn't even considered LMDE is Debian, not Ubuntu base)... I still don't really comprehend this beautiful mashup I call Linux Mint :lol:

About compile/build I have had hit and miss with, really just an exercise for me as I am coding clueless and have no reason to build until something I want isn't easily available with repo (and ppa;) offers. and I treat xenopeek's newbie forum pinned post on build essentials and checkinstall (instead of build install) as gospel and it has worked flawlessly every time (for me, so far, evilgrin)

If you're interested in this route, before drop LMDE, then for sure, I'm game on getting notes together and build dependency install list sorted asap.
Another tutorial which I haven't tried yet, How to recompile package from source may actually be better suited for this task, since hplip is a bit ingrained with system and cups (as i understand it), but think if purge hplip then do the build/checkinstall all will be good.

I'm going to jumpstart from this response and start looking for build instructions for hplip (if they even exist :roll:

redlined

Re: Stuck trying to install newer HPLIP

Post by redlined » Fri Feb 15, 2019 8:58 pm

my brains hurt already :lol:

probably good to know, what is LMDE base... inxi -Fxz should sort where to start gathering dependencies (eg. Debian or Ubuntu notes, assuming they are different :oops:

where I am:
https://developers.hp.com/hp-linux-imag ... index.html

torn between many potential lovers: Debian, Linux Mint, Ubuntu, or Other/manual :cry:

mediclaser
Level 4
Level 4
Posts: 362
Joined: Tue Mar 20, 2018 2:28 pm

Re: Stuck trying to install newer HPLIP

Post by mediclaser » Fri Feb 15, 2019 9:11 pm

Thanks again for your willingness to help. That link leads to where I ended up when I was trying to find a way to use the TAR version of the installer. The guide was for a very old version of Debian, so I stopped to avoid potentially messing up my system. But when somebody is willing to take the blame if something goes wrong (just kidding), I may take the road where ever it goes. :wink:
If you're looking for a greener Linux pasture, you won't find any that is greener than Linux Mint. ;)

mediclaser
Level 4
Level 4
Posts: 362
Joined: Tue Mar 20, 2018 2:28 pm

Re: Stuck trying to install newer HPLIP

Post by mediclaser » Fri Feb 15, 2019 9:19 pm

Sorry, I forgot you asked for this:

Code: Select all

$ inxi -Fxz
System:    Host: lmde3 Kernel: 4.9.0-8-amd64 x86_64 (64 bit gcc: 6.3.0)
           Desktop: Cinnamon 4.0.9 (Gtk 2.24.31) Distro: LMDE 3 (cindy)
Machine:   Device: desktop Mobo: Gigabyte model: G41M-ES2L v: x.x BIOS: Award v: F9 date: 06/21/2010
CPU:       Quad core Intel Core2 Quad Q9400 (-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 ssse3 vmx) bmips: 21330
           clock speeds: max: 2667 MHz 1: 2000 MHz 2: 2667 MHz 3: 2000 MHz 4: 2000 MHz
Graphics:  Card: Intel 4 Series Integrated Graphics Controller bus-ID: 00:02.0
           Display Server: X.Org 1.19.2 drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1600x900@60.00hz
           GLX Renderer: Mesa DRI Intel G41 GLX Version: 2.1 Mesa 13.0.6 Direct Rendering: Yes
Audio:     Card Intel NM10/ICH7 Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.9.0-8-amd64
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: de00 bus-ID: 02:00.0
           IF: enp2s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 1000.2GB (9.5% used)
           ID-1: /dev/sda model: WDC_WD10EZEX size: 1000.2GB
Partition: ID-1: / size: 39G used: 9.8G (27%) fs: ext4 dev: /dev/sda7
           ID-2: swap-1 size: 4.29GB used: 0.00GB (0%) fs: swap dev: /dev/sda10
Sensors:   System Temperatures: cpu: 39.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 188 Uptime: 13 min Memory: 1273.6/3920.6MB
           Init: systemd runlevel: 5 Gcc sys: 6.3.0 Client: Shell (bash 4.4.121) inxi: 2.3.5 
...and the Debian version:

Code: Select all

$ cat /etc/debian_version
9.3
If you're looking for a greener Linux pasture, you won't find any that is greener than Linux Mint. ;)

ajgringo619
Level 6
Level 6
Posts: 1391
Joined: Thu Mar 01, 2018 8:36 pm
Location: San Diego, California

Re: Stuck trying to install newer HPLIP

Post by ajgringo619 » Fri Feb 15, 2019 11:47 pm

I was able to get it to build; the library you need to manually install is libssl-dev. Every other dependency, extra program, and library seems to be installed as needed; not sure why libssl-dev fails during the automatic installation.

FYI: don't uninstall any of the older hplip packages - let the installer take care of that.
Mint 19.2 XFCE
kernel 4.15.0-64-generic
AMD FX-8350 Eight-Core w/16 GB RAM
Nvidia GeForce 960 w/2GB RAM (435.21)
Image

redlined

Re: Stuck trying to install newer HPLIP

Post by redlined » Sat Feb 16, 2019 11:35 am

mediclaser wrote:
Fri Feb 15, 2019 9:19 pm
Sorry, I forgot you asked for this:

Code: Select all

$ inxi -Fxz
System:    Host: lmde3 Kernel: 4.9.0-8-amd64 x86_64 (64 bit gcc: 6.3.0)
           Desktop: Cinnamon 4.0.9 (Gtk 2.24.31) Distro: LMDE 3 (cindy)
just as I suspected! :oops: (i think inxi -Fxxxz is what I hoped for though, looking for "Base: " :lol:
mediclaser wrote:...and the Debian version:

Code: Select all

$ cat /etc/debian_version
9.3
yah (and thanks for that added info, was what I looked for with poor inxi cmd) the Debian notes were ancient sounding- but looks like ajgringo619 found the key and certainly worth try install libssl-dev before continue towards compile/build though :?:

I recently grab some Debian live session ISOs and their big main 3 disk install for 9.70. Have since decided I want to combine my "rolling release" OS experience to be with Kali. want/need to get back to learning system and network security anyway, and pentest my home network into shape- gain better understanding and appreciation for the all of it, as well dip my toes into Debian. Seriously considered LMDE3 would be my approach, but too close to home with LM and as I felt similar urge to try LM KDE version, but lost faith seeing it dumped for the v19 release line. Don't want to find self w/LMDE in a similar abandoned boat :(

redlined

Re: Stuck trying to install newer HPLIP

Post by redlined » Sat Feb 16, 2019 11:50 am

btw, ajgringo619, this cracks me up
[Mint 19.1 XFCE, AMD FX-8350 Eight-Core w/16 GB RAM, 4.18.0-15-generic, AMD Radeon R9 290 w/4GB RAM
that is some massive cool hardware! 8) (and for xfce :?: :shock: dont be miserly :mrgreen:

(hoping mediclaser don't mind the slight diversion, but did you build it? if so, what mobo, ps, cooling,? eight core cpu sounds monster, couldn't imagine it without at least 64GB system ram though :lol:

ajgringo619
Level 6
Level 6
Posts: 1391
Joined: Thu Mar 01, 2018 8:36 pm
Location: San Diego, California

Re: Stuck trying to install newer HPLIP

Post by ajgringo619 » Sat Feb 16, 2019 11:59 am

It may seem monstrous, but everything in it (except the GPU) is at least 4 years old - Seagate HDD (from 2014), a Gigabyte GA-990FXA-UD3 (last BIOS update 2015). I initially ran Cinnamon, but I ran into problems on nearly every major update of Nvidia/kernel/Cinnamon. This actually happened to me on 5 different distros; XFCE was the savior.

This system was inherited from my late brother. He was a serious gamer, I'm still in Hell level on Diablo II. :lol:
Mint 19.2 XFCE
kernel 4.15.0-64-generic
AMD FX-8350 Eight-Core w/16 GB RAM
Nvidia GeForce 960 w/2GB RAM (435.21)
Image

redlined

Re: Stuck trying to install newer HPLIP

Post by redlined » Sat Feb 16, 2019 12:24 pm

ajgringo619 wrote:
Sat Feb 16, 2019 11:59 am
It may seem monstrous, but everything in it (except the GPU) is at least 4 years old
admittedly I haven't really looked at cpu's in years, but do imagine an 8core to be bleeding edge four years back. Thanks for that explain, nice rig to inherit, especially to settle into a distro that appreciates it. I've yet to install xfce, but need to for my tuffbook, it's just a fun laptop to play on and cinnamon taxes it near to death, although Mate ran fine, if not lackluster.

(ps, milady had a chuckle shoulder reading hell level on Diablo II (one of her old faves). me? I'm too gaming challenged to get past level 12 in Dungeon Crawl (tiles, Stone soup edition) :lol:

mediclaser
Level 4
Level 4
Posts: 362
Joined: Tue Mar 20, 2018 2:28 pm

Re: Stuck trying to install newer HPLIP

Post by mediclaser » Mon Feb 18, 2019 2:52 pm

Thinking my LMDE was getting bloated as I have installed a lot of packages, I decided to start again from a cleaner slate. The first thing I installed was libssl-dev. After that I had to go through installing a lot of missing dependencies again (libusb, libtool, libnetsnmp-devel, pyqt4-dbus, etc.) and now stuck at pyqt5. It took me several tries each before getting the actual missing dependencies, because the ones that cleared the error messages were not named the same way in the Synaptic Package Manager.

In the process of finding the correct stuffs, I have already installed more than 80% of unwanted packages. I ended up with a bloated OS again. Extensive googling did not help in finding the solution. I think 4 days of wasted time is enough. I no longer want to continue trying to make a newer HPLIP version to work in LMDE3.

I appreciate you guys for your time and effort trying to help me sort this out.

For the sake of those who may find themselves in this same situation, Just use the Ubuntu-based Linux Mint distros or MX-18 (if you don't want Ubuntu base), to have a hassle-free HPLIP installation.
If you're looking for a greener Linux pasture, you won't find any that is greener than Linux Mint. ;)

TrepArrice
Level 1
Level 1
Posts: 2
Joined: Sun Jun 09, 2019 11:11 pm

Stuck trying to install newer HPLIP

Post by TrepArrice » Mon Jun 10, 2019 10:43 pm

Still after 2 weeks of trying I cant get the software to install. Resetting the comp. to factory specs not an option.
ikeep getting the feature transfer error which says it cant find an X64 file but does not give the name of the file it cant find.

Any ideas anyone??

Post Reply

Return to “Software & Applications”