Permissions

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Slowpoke47
Level 4
Level 4
Posts: 304
Joined: Sun Aug 07, 2016 12:41 pm

Re: Permissions

Post by Slowpoke47 »

pbear wrote:
Sat Dec 14, 2019 12:07 pm
Slowpoke: I told you what you should do. You think you know better, so insist on doing it your way. Your machine, your choice. But I'm not obliged to figure out how to make your way work. In any event, the problem here isn't permissions, so that aspect of the problem has been resolved. Good luck.

Flemur: Yes, it's available in repo and that version supports his printer. He couldn't get it to work, so decided the more current version is the answer and can't be talked out of it. As for mixing apples and oranges for installation method, if you want to explain, be my guest. Others have tried.
pbear- I thought I was doing just what you advised- I'm in no position to try on my own. My first effort was the command exactly as you cited, and, as noted, the installation went ok until the plugin problem. I only described that effort, no s/shots. Once that left me without the plugin, I tried what I thought were your instructions, apparently I didn't understand your advice.

The reason to not use the repo version is that it's not supported with an appropriate plugin, needed to enable scanning. I'd be happy with any version that enables scanning. As you can see, I'm over my head with this.
Slowpoke47
Level 4
Level 4
Posts: 304
Joined: Sun Aug 07, 2016 12:41 pm

Re: Permissions

Post by Slowpoke47 »

Flemur wrote:
Sat Dec 14, 2019 12:01 pm
Here are my efforts to do that:
Plugin install attempts.png
You can copy/paste text in the forum, it's a lot nicer than a picture of text.

I get the same thing because hplip-3.19.12-plugin.run is not a 'package':

Code: Select all

$ sudo apt-get install hplip-3.19.12-plugin.run
...
E: Unable to locate package hplip-3.19.12-plugin.run
To run that, in the same directory try

Code: Select all

./hplip-3.19.12-plugin.run
(I think I saw above that you don't use sudo to start it, but it asks for password after it starts...)
You need the ./ in front of it because normally the OS doesn't look in the current directory ( called "." ) for a program to run unless it's in your $PATH

Code: Select all

echo $PATH
which by default it isn't.

Edit: from the command-line errors in your pic it looks like you're not in the directory with the hplip file, or else the 'sh' command would give a different error:

Code: Select all

ls -l hp*
Without reading the whole thread, though, are you sure can't use the hplip sotware in the repos?
[/quote]

My apologies for being ignorant of the workings here- re copy/paste. Other forums I have used work differently, if there is a tutorial here in language I can understand, I'll read it.

The sudo command to install fails due to the error message that sudo should not be used to install the file. I did open the Terminal in the Downloads folder, so I wouldn't have to enter the path to the file, not too comfortable trying to do that due to lack of knowledge. Earlier in this thread there were two suggestions about what text to enter in that Terminal- with and without the ./ prefix. Sorry, but the rest of your terminology I am not versed enough in Mint to understand.

To you and pbear- I am truly trying to follow your guidance, but having difficulty. Coming from Windows, the learning curve is proving most difficult. But thanks for trying to help me.

Edit- the repo version of this file has no companion plugin to enable scanning- too old.
User avatar
majpooper
Level 6
Level 6
Posts: 1418
Joined: Thu May 09, 2013 1:56 pm
Location: North Carolina, USA

Re: Permissions

Post by majpooper »

Slowpoke,

This is getting messy, but I do understand coming from Windows linux can seem really confusing.
Here is a very simple approach

Code: Select all

http://ubuntuhandbook.org/index.php/2019/12/hplip-3-19-12-new-printers-support/
It's OK that this is directions for Ubuntu - Mint is based on Ubuntu. Also I tested it on my LM 19.2 and it was too easy - it works.

Start from scratch and follow the direction exactly - i.e. cut and paste the commands given in the steps into the terminal. Forget sudo etc. - just follow the prompts - One of the prompts (there are several) will ask you for your password - just enter it - another may ask you if want to uninstall an existing version of hplip (at this point I have no idea what is installed or not) just enter that you want to uninstall whatever hplip is currently existing and continue with the installation of 3.19.12. And if no hplip is currently installed so much the better you won't see the uninstall prompt.

And as far as two users go - just go to setting on the menu then to Users and Groups (it's a GUI easy to use) Add the second user giving them Administrator privileges and a password also click on Groups and make sure sudo is ticked - Done
User avatar
Flemur
Level 19
Level 19
Posts: 9169
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Permissions

Post by Flemur »

Slowpoke47 wrote:
Sat Dec 14, 2019 12:42 pm
My apologies for being ignorant of the workings here- re copy/paste. Other forums I have used work differently, if there is a tutorial here in language I can understand, I'll read it.
It's the same as everywhere else: Drag mouse to hi-light text, rt-click->copy; rt-click->paste. That works in terminals also (click to see it better):
copy.jpg
I did open the Terminal in the Downloads folder, so I wouldn't have to enter the path to the file, not too comfortable trying to do that due to lack of knowledge.
$HOME/Downloads is generally NOT in your $PATH and it would act like any other directory which isn't in your $PATH, namely you'd still have to enter the file-path or put ./ in front of the program name.

Code: Select all

echo $PATH
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Slowpoke47
Level 4
Level 4
Posts: 304
Joined: Sun Aug 07, 2016 12:41 pm

Re: Permissions

Post by Slowpoke47 »

majpooper wrote:
Sat Dec 14, 2019 2:23 pm
Slowpoke,

This is getting messy, but I do understand coming from Windows linux can seem really confusing.
Here is a very simple approach

Code: Select all

http://ubuntuhandbook.org/index.php/2019/12/hplip-3-19-12-new-printers-support/
It's OK that this is directions for Ubuntu - Mint is based on Ubuntu. Also I tested it on my LM 19.2 and it was too easy - it works.

Start from scratch and follow the direction exactly - i.e. cut and paste the commands given in the steps into the terminal. Forget sudo etc. - just follow the prompts - One of the prompts (there are several) will ask you for your password - just enter it - another may ask you if want to uninstall an existing version of hplip (at this point I have no idea what is installed or not) just enter that you want to uninstall whatever hplip is currently existing and continue with the installation of 3.19.12. And if no hplip is currently installed so much the better you won't see the uninstall prompt.

And as far as two users go - just go to setting on the menu then to Users and Groups (it's a GUI easy to use) Add the second user giving them Administrator privileges and a password also click on Groups and make sure sudo is ticked - Done
Thank you for responding. At this point I don't know if I'm afoot or on horseback, and I have apparently made an enemy of pbear due to my floundering. I now know that the initial Administrator account is all we need, having read the posts above explaining the user types.

I 'll certainly try the method you advise, but two questions first-

1. Should I download the drivers and plugin?

2. And then, should I open the Terminal in the Downloads folder?

EDIT: There is no problem getting the printer drivers installed- but each time, the plugin that enables scanning cannot be installed.
User avatar
majpooper
Level 6
Level 6
Posts: 1418
Joined: Thu May 09, 2013 1:56 pm
Location: North Carolina, USA

Re: Permissions

Post by majpooper »

Slowpoke47 wrote:
Sat Dec 14, 2019 2:37 pm

I 'll certainly try the method you advise, but two questions first-

1. Should I download the drivers and plugin?

2. And then, should I open the Terminal in the Downloads folder?
Pbear is a really good guy and very knowledgable - I think it was all a big misunderstanding - so don't worry about it.

1.) No
2.) No

Here is how I did it - don't over think it.
majpooper@1150z:~$ chmod +x ~/Downloads/hplip-3.19.12.run
majpooper@1150z:~$ ./Downloads/hplip-3.19.12.run
Creating directory hplip-3.19.12
Verifying archive integrity... All good.
Uncompressing HPLIP 3.19.12 Self Extracting Archive.............................................................................................................................................

HP Linux Imaging and Printing System (ver. 3.19.12)
HPLIP Installer ver. 5.1

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Installer log saved in: hplip-install_Sat-14-Dec-2019_13:55:21.log

\
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.


INSTALLATION MODE
-----------------
Automatic mode will install the full HPLIP solution with the most common options.
Custom mode allows you to choose installation options to fit specific requirements.
Note: too easy
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
Slowpoke47
Level 4
Level 4
Posts: 304
Joined: Sun Aug 07, 2016 12:41 pm

Re: Permissions

Post by Slowpoke47 »

Thanks. Did you see my edit?
User avatar
majpooper
Level 6
Level 6
Posts: 1418
Joined: Thu May 09, 2013 1:56 pm
Location: North Carolina, USA

Re: Permissions

Post by majpooper »

BTW,
What exact model HP printer/scanner do you have and from where are you getting the "scanner" plugin?

Getting hplip 3.19.12 is one thing - knowing if your particular HP printer is supported is something different. That said HP printers are pretty much known to work with linux so . . . .
Slowpoke47
Level 4
Level 4
Posts: 304
Joined: Sun Aug 07, 2016 12:41 pm

Re: Permissions

Post by Slowpoke47 »

majpooper wrote:
Sat Dec 14, 2019 3:11 pm
BTW,
What exact model HP printer/scanner do you have and from where are you getting the "scanner" plugin?

Getting hplip 3.19.12 is one thing - knowing if your particular HP printer is supported is something different. That said HP printers are pretty much known to work with linux so . . . .
This beast is supported, the first thing I checked. It's HP LaserJet M1522nf, an all-in-one. However, it's also on the HP list as requiring a plugin to enable scanning, and that's the stumbling block. I have tried letting the system find the files using apt-get install (I think I did that right) and also by downloading the printer file from HP and the plugin from here: https://developers.hp.com/hp-linux-imag ... ng/plugins. Also tried the downloads from sourceforge. Either way, the printer install is, as you say, not so hard, but the plugin install fails every time.
Slowpoke47
Level 4
Level 4
Posts: 304
Joined: Sun Aug 07, 2016 12:41 pm

Re: Permissions

Post by Slowpoke47 »

Still working on this- hplip-3.19.12 (current version) installed. Print function enabled. Again downloaded companion plugins- two entries in list. One is .run, 11.5MB shell script. Other is Open PGP signature, 198 bytes. Attempted to install .run plugin automatically via Terminal and manually using downloaded file. Each time, there are conflicting messages- installation successful and binary file needed, see messages in s/shots. But scan not available.
Binary plugin needed.png
Screenshot at 2019-12-14 16-45-38.png
User avatar
majpooper
Level 6
Level 6
Posts: 1418
Joined: Thu May 09, 2013 1:56 pm
Location: North Carolina, USA

Re: Permissions

Post by majpooper »

Hummmm . . . . . this is very strange indeed.

Yeah and the way we are using terms is also make the problem/solution hard to understand/fix.
So let's clarify a few terms - the "plugin" is the driver - I am not aware of separate drivers for the printer function and scanner function on the same device . . . could be I guess but not that I have run into and I only have used HP printers/scanners on linux for the last 5 or 6 years. However I do not doubt that a driver may work for the printer function and not the scanner function requiring a different driver. hplip is the souce I am familiar with from which to obtain the required driver i.e.plugin. Anyway this is my understanding as this has been how setting up HP printers have typically worked for me.
I have tried letting the system find the files using apt-get install (I think I did that right)

I do not understand what you are trying to convey . . . what is the exact command

Code: Select all

sudo apt-get install ? ? ? ? ? 
what exactly were you trying to install with that command. At any rate to install hplip you don't need to do it with the apt-get install command.
also by downloading the printer file from HP and the plugin from here: https://developers.hp.com/hp-linux-imag ... ng/plugins.
That's fine - that is the package we want - the latest hplip - download it and leave it in the Downloads folder - you've done that so good - done.
Either way, the printer install is, as you say, not so hard, but the plugin install fails every time.
This confuses me a bit as the printer install is the plugin install - what I think you may mean is you get hplip installed only to find the printer function works but not the scanner function but I am not clear as to what you are doing that you think you are doing something separate from installing the printer and then installing the "plugin" in my experience it just not work that way. In the end you need a version of hplip that fully supports your printer.

So all that said here is what I am wondering; if there is not some sort of conflict going on here ? ? ? ?
After your last post I started looking at my own system LM 19.2 Cinnamon not Mate but should still work pretty much like your system with the exception I have a different HP printer/scanner. So hplip 3.17.10 supports my printer/scanner just fine. But what I noticed is that when I install hplip 3.19.12 and even though I instruct the installer to uninstall the exsisting hplip and install 3.19.12 it really does not do so. When I check my system after installing 3.19.12 - 3.17.10 still exsists in the package manager - since 3.17.10 (which came as default with LM 19.2) works fine for me I am not having the issues you are having. I really have no idea what could be the issue here as this is way beyond my skill set and knowledge but I do know you do not need two versions of hplip on the same machine.

So . . . . here is what I did - to get just 3.19.12 exclusively to run on my machine and ensure the new driver was installed. I tested this and my HP printer and scanner work just fine running 3.19.12

I went into the synaptic package manager and fully removed hplip then did

Code: Select all

sudo apt purge hplip

Code: Select all

sudo apt auto clean

Code: Select all

sudo apt update
I re-ran the commands

Code: Select all

majpooper@1150z:~$ chmod +x ~/Downloads/hplip-3.19.12.run
majpooper@1150z:~$ ./Downloads/hplip-3.19.12.run
then ran through the set-up in the hplip GUI - as part of that you will be asked is what printer you have (a very long pull down menu listing all the supported printers) and I think this is what will actually install the proper driver to support your printer.

So I am guessing here because like I said I am waaaaay out of my depth but I just have a hunch that installing hplip 3.19.12 installed the GUI etc. but in fact NOT the driver ("plugin" as you call it) because 3.17.10 was never removed and the new driver was not installed - just a WAG on my part but worth a try.

-break-
Saw your edit RE: users - good, one problem solved
Slowpoke47
Level 4
Level 4
Posts: 304
Joined: Sun Aug 07, 2016 12:41 pm

Re: Permissions

Post by Slowpoke47 »

My grateful thanks for the time and effort you have devoted to my problem. Re the question of two separate files for this printer- I only know this from my efforts to get this scanner working. The long list of supported printers on the HP site is in the form of a table, as you likely noticed. One of the columns in that table is headed, Scanner support, or suchlike. For each printer in the chart, there is an entry- yes, no, or (footnote) in that column. The footnote states that an additional plugin is needed to enabling scanning for that particular printer. (note- some of this wording may not be verbatim, as I'm typing from memory, but the description is accurate)

A further clue is that there is a companion separate plugin for every version of the hplip file. Tis is a different file from the respective driver, around 11.5MB compared with about 25MB for the hplip file. The need for the plugin is expressly shown in red during the hplip installation via Terminal. When installing the plugin, the "done" message appears almost instantaneously, in my estimation, odd for a file that size.

At first I had the same result as you did, with the system using the repo version while I was trying to use the newer one. Eventually I figured out that the system did that because it automatically loads drivers from the repo once the printer is "seen" by the system, independently of anything I was doing. I solved that conflict by leaving the printer off until ordered by the installation sequence.

I can confirm that, as the system stands, the 3.17.10 version is not installed, but the 3.19.12 (current) one is. Personally, I don't care which version I have as long as the print and scan functions work. This whole odyssey began because the repo's version no longer has a companion plugin available.

If this is over your head, imagine how I feel... I've managed to alienate one or two members here, and still have no clue how to resolve this. I have tried every suggestion to the best of my ability, but no joy.
pbear
Level 15
Level 15
Posts: 5656
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: Permissions

Post by pbear »

majpooper wrote:
Sat Dec 14, 2019 3:11 pm
... knowing if your particular HP printer is supported is something different. That said HP printers are pretty much known to work with linux so . . . .
FYI, per HP, the OP's All-in-One is supported by HPLIP and requires the plugin. Thing is, it was added to HPLIP back at version 2.8.10.

Code: Select all

Device                                           Plugin (Required/Optional)          Min. Plugin Version            Reason(s)
HP LaserJet m1522nf Multifunction Printer           Required                             2.8.10                     Scanning support.
As you know, the repo version for Mint 19.x is 3.17.10, the download version is 3.19.12. Nothing anywhere says the OP's relatively old All-in-One is better supported by the latter. He made that up, an inference based on the fact he couldn't get the repo version to work.
Slowpoke47
Level 4
Level 4
Posts: 304
Joined: Sun Aug 07, 2016 12:41 pm

Re: Permissions

Post by Slowpoke47 »

pbear wrote:
Sun Dec 15, 2019 2:08 am
majpooper wrote:
Sat Dec 14, 2019 3:11 pm
... knowing if your particular HP printer is supported is something different. That said HP printers are pretty much known to work with linux so . . . .
FYI, per HP, the OP's All-in-One is supported by HPLIP and requires the plugin. Thing is, it was added to HPLIP back at version 2.8.10.

Code: Select all

Device                                           Plugin (Required/Optional)          Min. Plugin Version            Reason(s)
HP LaserJet m1522nf Multifunction Printer           Required                             2.8.10                     Scanning support.
As you know, the repo version for Mint 19.x is 3.17.10, the download version is 3.19.12. Nothing anywhere says the OP's relatively old All-in-One is better supported by the latter. He made that up, an inference based on the fact he couldn't get the repo version to work.
The only reason to update from the repo version is that there is no companion plugin available to enable scanning. I installed the newest version because that's what the HP site offered. The print function works correctly with the older version, but we need the scan function to work for home-based business use. pbear- I thought I did what you advised, no wilfulness on my part, just anguish at my multiple failures and dismay that evertone's efforts have been in vain.

The problem boils down to the failure of the needed plugin to complete. I thought about looking for v.3.17.11, for which a plugin is offered, but don't know where to look.

Don't know if this is a clue- on the download site, there are two entries for each driver version- one is about 11.5MB with the .run extension, and the other, in each case, has the extension .run.asc and is only about 200 bytes. What is that .asc file for? https://developers.hp.com/hp-linux-imag ... ng/plugins
User avatar
majpooper
Level 6
Level 6
Posts: 1418
Joined: Thu May 09, 2013 1:56 pm
Location: North Carolina, USA

Re: Permissions

Post by majpooper »

OK Slowpoke my apologies this plugin business is all new to me I was mistaken thinking driver=plugin - my bad so I only helped to confuse you more - again, sorry for that. In my linux experience I have only ever (like twice not counting testing 3.19.12) installed hplip and never the plugin and that was ages ago - the last few LM installs my HP printer/scanner just appeared and worked both printer and scanner.

So I am determined to get you up and running. I went and installed the the plugin for 3.19.12 and it went right in (and I don't even need it)

I am still of the opinion that having one hplip version in the repos and trying to install a different hplip with .run file is a problem. Also the plugin version has to match the hplip version.

So Slowpoke did you:
1) remove hplip from the repos using synaptic package manager and then run the cleanup commands I suggested
2) insure you your plugin.run version matches your hplip.run version i.e. both are at 3.19.12
3) run the commands in the terminal exactly as I did below (i.e. no need to cd into Downloads)

Code: Select all

majpooper@1150z:~$ chmod +x ~/Downloads/hplip-3.19.12-plugin.run
majpooper@1150z:~$ ./Downloads/hplip-3.19.12-plugin.run
It did ask me to agree to some legal stuff - I ticked that box and it asked for my su password. Let me know if you have a problem with the su password.
Here is what it looked like:

Code: Select all

majpooper@1150z:~$ chmod +x ~/Downloads/hplip-3.19.12-plugin.run
majpooper@1150z:~$ ./Downloads/hplip-3.19.12-plugin.run
Verifying archive integrity... All good.
Uncompressing HPLIP 3.19.12 Plugin Self Extracting Archive..............................................................

HP Linux Imaging and Printing System (ver. 3.19.12)
Plugin Installer ver. 3.0

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Plug-in version: 3.19.12
Installed HPLIP version: 3.19.12
Number of files to install: 64

 
Done.
Slowpoke47
Level 4
Level 4
Posts: 304
Joined: Sun Aug 07, 2016 12:41 pm

Re: Permissions

Post by Slowpoke47 »

Thanks for staying in the loop. Note that I installed the hplip-3.19.12 pkg with no issues. Yes, I did remove all the old HP files first, and once I figured out why the system kept reinstalling the repo version while I was feverishly trying to install the new version, all went well. The issue is the install of that G__ d___ plugin file, which seems to get hung up on third base. See the lower section of this s/shot:
Binary plugin needed.png
User avatar
majpooper
Level 6
Level 6
Posts: 1418
Joined: Thu May 09, 2013 1:56 pm
Location: North Carolina, USA

Re: Permissions

Post by majpooper »

pbear wrote:
Sun Dec 15, 2019 2:08 am
majpooper wrote:
Sat Dec 14, 2019 3:11 pm
... knowing if your particular HP printer is supported is something different. That said HP printers are pretty much known to work with linux so . . . .
FYI, per HP, the OP's All-in-One is supported by HPLIP and requires the plugin. Thing is, it was added to HPLIP back at version 2.8.10.

Code: Select all

Device                                           Plugin (Required/Optional)          Min. Plugin Version            Reason(s)
HP LaserJet m1522nf Multifunction Printer           Required                             2.8.10                     Scanning support.
As you know, the repo version for Mint 19.x is 3.17.10, the download version is 3.19.12. Nothing anywhere says the OP's relatively old All-in-One is better supported by the latter. He made that up, an inference based on the fact he couldn't get the repo version to work.
He couldn't get the repo version (3.17.10) to work because there is no plugin version to match the repo version - there is only a 3.17.11 plug in version. When I tested that I got an error message that the versions do not match. So he cannot use the repo version. So since he needs a hplip version and a plugin version to match why not the latest release?

My other concern is the plugin will ask him to enter his su password. I do not know the difference between the su password and the user's sudo password. In my case since I always set the root password the same as the user's password right after the install there is no difference. So if that stops the plugin install we will have to get him to set a root password.
pbear
Level 15
Level 15
Posts: 5656
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: Permissions

Post by pbear »

majpooper wrote:
Sun Dec 15, 2019 12:18 pm
He couldn't get the repo version (3.17.10) to work because there is no plugin version to match the repo version
Shrug, I didn't get that error message. For that matter, I didn't have any problems running sh hplip-3.19.12-plugin.run. Good luck.

ETA: What I'm not able to do is test the plugin, as I don't have the OP's All-in-One and my scanner isn't supported by HPLIP.

ETA2: Did it again (per above). This time got the keyserver error, but otherwise went through fine:

Code: Select all

pbear@vbox-mate-19-2:~$ apt install --install-recommends hplip-gui
[sudo] password for pbear:         
Reading 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-65 linux-headers-4.15.0-65-generic linux-image-4.15.0-65-generic linux-modules-4.15.0-65-generic linux-modules-extra-4.15.0-65-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libqt5designer5 libqt5help5 libqt5printsupport5 libqt5sql5 libqt5sql5-sqlite libqt5test5 libqt5xml5 python3-dbus.mainloop.pyqt5 python3-notify2 python3-pyqt5
  python3-sip
Suggested packages:
  python3-pyqt5-dbg
The following NEW packages will be installed:
  hplip-gui libqt5designer5 libqt5help5 libqt5printsupport5 libqt5sql5 libqt5sql5-sqlite libqt5test5 libqt5xml5 python3-dbus.mainloop.pyqt5 python3-notify2
  python3-pyqt5 python3-sip
0 upgraded, 12 newly installed, 0 to remove and 10 not upgraded.
Need to get 5,811 kB of archives.
After this operation, 24.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3-dbus.mainloop.pyqt5 amd64 5.10.1+dfsg-1ubuntu2 [13.3 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libqt5xml5 amd64 5.9.5+dfsg-0ubuntu2.4 [99.5 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libqt5designer5 amd64 5.9.5-0ubuntu1 [2,761 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libqt5sql5 amd64 5.9.5+dfsg-0ubuntu2.4 [115 kB]                                                        
Get:5 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libqt5help5 amd64 5.9.5-0ubuntu1 [133 kB]                                                                  
Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libqt5printsupport5 amd64 5.9.5+dfsg-0ubuntu2.4 [178 kB]                                               
Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libqt5test5 amd64 5.9.5+dfsg-0ubuntu2.4 [98.2 kB]                                                      
Get:8 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3-sip amd64 4.19.7+dfsg-1 [75.2 kB]                                                                  
Get:9 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3-pyqt5 amd64 5.10.1+dfsg-1ubuntu2 [2,268 kB]                                                        
Get:10 http://archive.ubuntu.com/ubuntu bionic/universe amd64 hplip-gui all 3.17.10+repack0-5 [19.0 kB]                                                                 
Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libqt5sql5-sqlite amd64 5.9.5+dfsg-0ubuntu2.4 [40.2 kB]                                               
Get:12 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3-notify2 all 0.3-3 [10.6 kB]                                                                       
Fetched 5,811 kB in 16s (363 kB/s)                                                                                                                                      
Selecting previously unselected package python3-dbus.mainloop.pyqt5.
(Reading database ... 378212 files and directories currently installed.)
Preparing to unpack .../00-python3-dbus.mainloop.pyqt5_5.10.1+dfsg-1ubuntu2_amd64.deb ...
Unpacking python3-dbus.mainloop.pyqt5 (5.10.1+dfsg-1ubuntu2) ...
Selecting previously unselected package libqt5xml5:amd64.
Preparing to unpack .../01-libqt5xml5_5.9.5+dfsg-0ubuntu2.4_amd64.deb ...
Unpacking libqt5xml5:amd64 (5.9.5+dfsg-0ubuntu2.4) ...
Selecting previously unselected package libqt5designer5:amd64.
Preparing to unpack .../02-libqt5designer5_5.9.5-0ubuntu1_amd64.deb ...
Unpacking libqt5designer5:amd64 (5.9.5-0ubuntu1) ...
Selecting previously unselected package libqt5sql5:amd64.
Preparing to unpack .../03-libqt5sql5_5.9.5+dfsg-0ubuntu2.4_amd64.deb ...
Unpacking libqt5sql5:amd64 (5.9.5+dfsg-0ubuntu2.4) ...
Selecting previously unselected package libqt5help5:amd64.
Preparing to unpack .../04-libqt5help5_5.9.5-0ubuntu1_amd64.deb ...
Unpacking libqt5help5:amd64 (5.9.5-0ubuntu1) ...
Selecting previously unselected package libqt5printsupport5:amd64.
Preparing to unpack .../05-libqt5printsupport5_5.9.5+dfsg-0ubuntu2.4_amd64.deb ...
Unpacking libqt5printsupport5:amd64 (5.9.5+dfsg-0ubuntu2.4) ...
Selecting previously unselected package libqt5test5:amd64.
Preparing to unpack .../06-libqt5test5_5.9.5+dfsg-0ubuntu2.4_amd64.deb ...
Unpacking libqt5test5:amd64 (5.9.5+dfsg-0ubuntu2.4) ...
Selecting previously unselected package python3-sip.
Preparing to unpack .../07-python3-sip_4.19.7+dfsg-1_amd64.deb ...
Unpacking python3-sip (4.19.7+dfsg-1) ...
Selecting previously unselected package python3-pyqt5.
Preparing to unpack .../08-python3-pyqt5_5.10.1+dfsg-1ubuntu2_amd64.deb ...
Unpacking python3-pyqt5 (5.10.1+dfsg-1ubuntu2) ...
Selecting previously unselected package hplip-gui.
Preparing to unpack .../09-hplip-gui_3.17.10+repack0-5_all.deb ...
Unpacking hplip-gui (3.17.10+repack0-5) ...
Selecting previously unselected package libqt5sql5-sqlite:amd64.
Preparing to unpack .../10-libqt5sql5-sqlite_5.9.5+dfsg-0ubuntu2.4_amd64.deb ...
Unpacking libqt5sql5-sqlite:amd64 (5.9.5+dfsg-0ubuntu2.4) ...
Selecting previously unselected package python3-notify2.
Preparing to unpack .../11-python3-notify2_0.3-3_all.deb ...
Unpacking python3-notify2 (0.3-3) ...
Setting up libqt5test5:amd64 (5.9.5+dfsg-0ubuntu2.4) ...
Setting up libqt5printsupport5:amd64 (5.9.5+dfsg-0ubuntu2.4) ...
Setting up libqt5xml5:amd64 (5.9.5+dfsg-0ubuntu2.4) ...
Setting up libqt5sql5:amd64 (5.9.5+dfsg-0ubuntu2.4) ...
Setting up python3-notify2 (0.3-3) ...
Setting up python3-sip (4.19.7+dfsg-1) ...
Setting up libqt5designer5:amd64 (5.9.5-0ubuntu1) ...
Setting up python3-dbus.mainloop.pyqt5 (5.10.1+dfsg-1ubuntu2) ...
Setting up libqt5help5:amd64 (5.9.5-0ubuntu1) ...
Setting up libqt5sql5-sqlite:amd64 (5.9.5+dfsg-0ubuntu2.4) ...
Setting up python3-pyqt5 (5.10.1+dfsg-1ubuntu2) ...
Setting up hplip-gui (3.17.10+repack0-5) ...
Processing triggers for desktop-file-utils (0.23+linuxmint6) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
pbear@vbox-mate-19-2:~$ hp-plugin

HP Linux Imaging and Printing System (ver. 3.17.10)
Plugin Download and Install Utility ver. 2.1

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.


HP Linux Imaging and Printing System (ver. 3.17.10)
Plugin Download and Install Utility ver. 2.1

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

qt5ct: using qt5ct plugin
Checking for network connection...
Downloading plug-in from: 
Receiving digital keys: /usr/bin/gpg --homedir /home/pbear/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9
Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.17.10 Plugin Self Extracting Archive................................................

HP Linux Imaging and Printing System (ver. 3.17.10)
Plugin Installer ver. 3.0

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Plug-in version: 3.17.10
Installed HPLIP version: 3.17.10
Number of files to install: 42

note: Using PyQt5
qt5ct: using qt5ct plugin
 
Done.
 Plug-in installation successful 

Done.
pbear@vbox-mate-19-2:~$ 
ETA3: Only reason to bother with hplip-gui was that it avoided the keyserver error when I tried it before. If not reliable, might as well skip that and use the simple command, hp-plugin -i. Also works:

Code: Select all

pbear@vbox-mate-19-2:~$ hp-plugin -i

HP Linux Imaging and Printing System (ver. 3.17.10)
Plugin Download and Install Utility ver. 2.1

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.


HP Linux Imaging and Printing System (ver. 3.17.10)
Plugin Download and Install Utility ver. 2.1

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)


------------------------------------------
| PLUG-IN INSTALLATION FOR HPLIP 3.17.10 |
------------------------------------------

  Option      Description                                       
  ----------  --------------------------------------------------
  d           Download plug-in from HP (recommended)            
  p           Specify a path to the plug-in (advanced)          
  q           Quit hp-plugin (skip installation)                

Enter option (d=download*, p=specify path, q=quit) ? 

-------------------
| DOWNLOAD PLUGIN |
-------------------

Checking for network connection...
Downloading plug-in from: 
Downloading plug-in: [\                                                                                                                            ] 0% Receiving digital keys: /usr/bin/gpg --homedir /home/pbear/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9
 
error: Unable to recieve key from keyserver
Do you still want to install the plug-in? (y=yes, n=no*, q=quit) ? y

----------------------
| INSTALLING PLUG-IN |
----------------------

Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.17.10 Plugin Self Extracting Archive................................................

HP Linux Imaging and Printing System (ver. 3.17.10)
Plugin Installer ver. 3.0

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Plug-in version: 3.17.10
Installed HPLIP version: 3.17.10
Number of files to install: 42

You must agree to the license terms before installing the plug-in:

LICENSE TERMS FOR HP Linux Imaging and Printing (HPLIP) Driver Plug-in                                                                                                   


These License Terms govern your Use of the HPLIP Driver Plug-in Software (the "Software"). USE OF THE SOFTWARE INCLUDING, WITHOUT LIMITATION, ANY DOCUMENTATION, IS      
SUBJECT TO THESE LICENSE TERMS AND THE APPLICABLE AS-IS WARRANTY STATEMENT. BY DOWNLOADING AND INSTALLING THE SOFTWARE, YOU ARE AGREEING TO BE BOUND BY THESE TERMS. IF  
YOU DO NOT AGREE TO ALL OF THESE TERMS, DO NOT DOWNLOAD AND INSTALL THE SOFTWARE ON YOUR SYSTEM.                                                                         


1. License Grant. HP grants you a license to Use one copy of the Software with HP printing products only. "Use" includes using, storing, loading, installing, executing, 
and displaying the Software. You may not modify the Software or disable any licensing or control features of the Software.                                               


2. Ownership. The Software is owned and copyrighted by HP or its third party suppliers. Your license confers no title to, or ownership in, the Software and is not a sale
of any rights in the Software. HP's third party suppliers may protect their rights in the Software in the event of any violation of these license terms.                 


3. Copies and Adaptations. You may only make copies or adaptations of the Software for archival purposes or when copying or adaptation is an essential step in the       
authorized Use of the Software. You must reproduce all copyright notices in the original Software on all copies or adaptations. You may not copy the Software onto any   
public network.                                                                                                                                                          


4. No Disassembly. You may not Disassemble the Software unless HP's prior written consent is obtained. "Disassemble" includes disassembling, decompiling, decrypting, and
reverse engineering. In some jurisdictions, HP's consent may not be required for limited Disassembly. Upon request, you will provide HP with reasonably detailed         
information regarding any Disassembly.                                                                                                                                   


5. No Transfer. You may not assign, sublicense or otherwise transfer all or any part of these License Terms or the Software.                                             


6. Termination. HP may terminate your license, upon notice, for failure to comply with any of these License Terms. Upon termination, you must immediately destroy the    
Software, together with all copies, adaptations and merged portions in any form.                                                                                         


7. Export Requirements. You may not export or re-export the Software or any copy or adaptation in violation of any applicable laws or regulations.                       


8. U.S. Government Restricted Rights. The Software has been developed entirely at private expense. It is delivered and licensed, as defined in any applicable DFARS,     
FARS, or other equivalent federal agency regulation or contract clause, as either "commercial computer software" or "restricted computer software", whichever is         
applicable. You have only those rights provided for such Software by the applicable clause or regulation or by these License Terms.                                      


9. DISCLAIMER OF WARRANTIES. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, HP AND ITS SUPPLIERS PROVIDE THE SOFTWARE "AS IS" AND WITH ALL FAULTS, AND HEREBY        
DISCLAIM ALL OTHER WARRANTIES AND CONDITIONS, EITHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF TITLE AND NON-INFRINGEMENT, ANY IMPLIED
WARRANTIES, DUTIES OR CONDITIONS OF MERCHANTABILITY, OF FITNESS FOR A PARTICULAR PURPOSE, AND OF LACK OF VIRUSES ALL WITH REGARD TO THE SOFTWARE. Some                   
states/jurisdictions do not allow exclusion of implied warranties or limitations on the duration of implied warranties, so the above disclaimer may not apply to you in  
its entirety.                                                                                                                                                            


10. LIMITATION OF LIABILITY. Notwithstanding any damages that you might incur, the entire liability of HP and any of its suppliers under any provision of this agreement 
and your exclusive remedy for all of the foregoing shall be limited to the greater of the amount actually paid by you separately for the Software or U.S. $5.00. TO THE  
MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL HP OR ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL,                                                 
INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, BUT NOT LIMITED TO, DAMAGES FOR LOSS OF PROFITS OR CONFIDENTIAL OR OTHER INFORMATION, FOR BUSINESS             
INTERRUPTION, FOR PERSONAL INJURY, FOR LOSS OF PRIVACY ARISING OUT OF OR IN ANY WAY RELATED TO THE USE OF OR INABILITY TO USE THE SOFTWARE, OR OTHERWISE IN CONNECTION   
WITH ANY PROVISION OF THIS AGREEMENT, EVEN IF HP OR ANY SUPPLIER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES AND EVEN IF THE REMEDY FAILS OF ITS ESSENTIAL       
PURPOSE. Some states/jurisdictions do not allow the exclusion or limitation of incidental or consequential damages, so the above limitation or exclusion may not apply to
you.                                                                                                                                                                     

Do you accept the license terms for the plug-in (y=yes*, n=no, q=quit) ? 
Please enter the sudoer (pbear)'s password: 
 
Done.
 
Done.
pbear@vbox-mate-19-2:~$ 
ETA4: I'm doing this in VirtualBox with snapshots, so it's easy for me to roll back the system and try different things. I have a separate VBox test box with snapshots for 3.19.12. Anyhoo, I'm off to work now, so no more edits!
Last edited by pbear on Sun Dec 15, 2019 12:55 pm, edited 4 times in total.
Slowpoke47
Level 4
Level 4
Posts: 304
Joined: Sun Aug 07, 2016 12:41 pm

Re: Permissions

Post by Slowpoke47 »

majpooper wrote:
Sun Dec 15, 2019 12:18 pm


My other concern is the plugin will ask him to enter his su password. I do not know the difference between the su password and the user's sudo password. In my case since I always set the root password the same as the user's password right after the install there is no difference. So if that stops the plugin install we will have to get him to set a root password.
A positive development from this thread is that I now understand user types. This pc has just the original account, designated Administrator. I use the same password whenever requested and that works fine. BTW- I've seen differing comments re "su"- means either switch user or super user.
User avatar
majpooper
Level 6
Level 6
Posts: 1418
Joined: Thu May 09, 2013 1:56 pm
Location: North Carolina, USA

Re: Permissions

Post by majpooper »

pbear wrote:
Sun Dec 15, 2019 12:25 pm
majpooper wrote:
Sun Dec 15, 2019 12:18 pm
He couldn't get the repo version (3.17.10) to work because there is no plugin version to match the repo version
Shrug, I didn't get that error message. For that matter, I didn't have any problems running sh hplip-3.19.12-plugin.run. Good luck.

ETA: What I'm not able to do is test the plugin, as I don't have the OP's All-in-One and my scanner isn't supported by HPLIP.

ETA2: Did it again (per above). This time got the keyserver error, but otherwise went through fine:

Code: Select all

pbear@vbox-mate-19-2:~$ apt install --install-recommends hplip-gui
[sudo] password for pbear:         
Reading 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-65 linux-headers-4.15.0-65-generic linux-image-4.15.0-65-generic linux-modules-4.15.0-65-generic linux-modules-extra-4.15.0-65-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libqt5designer5 libqt5help5 libqt5printsupport5 libqt5sql5 libqt5sql5-sqlite libqt5test5 libqt5xml5 python3-dbus.mainloop.pyqt5 python3-notify2 python3-pyqt5
  python3-sip
Suggested packages:
  python3-pyqt5-dbg
The following NEW packages will be installed:
  hplip-gui libqt5designer5 libqt5help5 libqt5printsupport5 libqt5sql5 libqt5sql5-sqlite libqt5test5 libqt5xml5 python3-dbus.mainloop.pyqt5 python3-notify2
  python3-pyqt5 python3-sip
0 upgraded, 12 newly installed, 0 to remove and 10 not upgraded.
Need to get 5,811 kB of archives.
After this operation, 24.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3-dbus.mainloop.pyqt5 amd64 5.10.1+dfsg-1ubuntu2 [13.3 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libqt5xml5 amd64 5.9.5+dfsg-0ubuntu2.4 [99.5 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libqt5designer5 amd64 5.9.5-0ubuntu1 [2,761 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libqt5sql5 amd64 5.9.5+dfsg-0ubuntu2.4 [115 kB]                                                        
Get:5 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libqt5help5 amd64 5.9.5-0ubuntu1 [133 kB]                                                                  
Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libqt5printsupport5 amd64 5.9.5+dfsg-0ubuntu2.4 [178 kB]                                               
Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libqt5test5 amd64 5.9.5+dfsg-0ubuntu2.4 [98.2 kB]                                                      
Get:8 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3-sip amd64 4.19.7+dfsg-1 [75.2 kB]                                                                  
Get:9 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3-pyqt5 amd64 5.10.1+dfsg-1ubuntu2 [2,268 kB]                                                        
Get:10 http://archive.ubuntu.com/ubuntu bionic/universe amd64 hplip-gui all 3.17.10+repack0-5 [19.0 kB]                                                                 
Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libqt5sql5-sqlite amd64 5.9.5+dfsg-0ubuntu2.4 [40.2 kB]                                               
Get:12 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3-notify2 all 0.3-3 [10.6 kB]                                                                       
Fetched 5,811 kB in 16s (363 kB/s)                                                                                                                                      
Selecting previously unselected package python3-dbus.mainloop.pyqt5.
(Reading database ... 378212 files and directories currently installed.)
Preparing to unpack .../00-python3-dbus.mainloop.pyqt5_5.10.1+dfsg-1ubuntu2_amd64.deb ...
Unpacking python3-dbus.mainloop.pyqt5 (5.10.1+dfsg-1ubuntu2) ...
Selecting previously unselected package libqt5xml5:amd64.
Preparing to unpack .../01-libqt5xml5_5.9.5+dfsg-0ubuntu2.4_amd64.deb ...
Unpacking libqt5xml5:amd64 (5.9.5+dfsg-0ubuntu2.4) ...
Selecting previously unselected package libqt5designer5:amd64.
Preparing to unpack .../02-libqt5designer5_5.9.5-0ubuntu1_amd64.deb ...
Unpacking libqt5designer5:amd64 (5.9.5-0ubuntu1) ...
Selecting previously unselected package libqt5sql5:amd64.
Preparing to unpack .../03-libqt5sql5_5.9.5+dfsg-0ubuntu2.4_amd64.deb ...
Unpacking libqt5sql5:amd64 (5.9.5+dfsg-0ubuntu2.4) ...
Selecting previously unselected package libqt5help5:amd64.
Preparing to unpack .../04-libqt5help5_5.9.5-0ubuntu1_amd64.deb ...
Unpacking libqt5help5:amd64 (5.9.5-0ubuntu1) ...
Selecting previously unselected package libqt5printsupport5:amd64.
Preparing to unpack .../05-libqt5printsupport5_5.9.5+dfsg-0ubuntu2.4_amd64.deb ...
Unpacking libqt5printsupport5:amd64 (5.9.5+dfsg-0ubuntu2.4) ...
Selecting previously unselected package libqt5test5:amd64.
Preparing to unpack .../06-libqt5test5_5.9.5+dfsg-0ubuntu2.4_amd64.deb ...
Unpacking libqt5test5:amd64 (5.9.5+dfsg-0ubuntu2.4) ...
Selecting previously unselected package python3-sip.
Preparing to unpack .../07-python3-sip_4.19.7+dfsg-1_amd64.deb ...
Unpacking python3-sip (4.19.7+dfsg-1) ...
Selecting previously unselected package python3-pyqt5.
Preparing to unpack .../08-python3-pyqt5_5.10.1+dfsg-1ubuntu2_amd64.deb ...
Unpacking python3-pyqt5 (5.10.1+dfsg-1ubuntu2) ...
Selecting previously unselected package hplip-gui.
Preparing to unpack .../09-hplip-gui_3.17.10+repack0-5_all.deb ...
Unpacking hplip-gui (3.17.10+repack0-5) ...
Selecting previously unselected package libqt5sql5-sqlite:amd64.
Preparing to unpack .../10-libqt5sql5-sqlite_5.9.5+dfsg-0ubuntu2.4_amd64.deb ...
Unpacking libqt5sql5-sqlite:amd64 (5.9.5+dfsg-0ubuntu2.4) ...
Selecting previously unselected package python3-notify2.
Preparing to unpack .../11-python3-notify2_0.3-3_all.deb ...
Unpacking python3-notify2 (0.3-3) ...
Setting up libqt5test5:amd64 (5.9.5+dfsg-0ubuntu2.4) ...
Setting up libqt5printsupport5:amd64 (5.9.5+dfsg-0ubuntu2.4) ...
Setting up libqt5xml5:amd64 (5.9.5+dfsg-0ubuntu2.4) ...
Setting up libqt5sql5:amd64 (5.9.5+dfsg-0ubuntu2.4) ...
Setting up python3-notify2 (0.3-3) ...
Setting up python3-sip (4.19.7+dfsg-1) ...
Setting up libqt5designer5:amd64 (5.9.5-0ubuntu1) ...
Setting up python3-dbus.mainloop.pyqt5 (5.10.1+dfsg-1ubuntu2) ...
Setting up libqt5help5:amd64 (5.9.5-0ubuntu1) ...
Setting up libqt5sql5-sqlite:amd64 (5.9.5+dfsg-0ubuntu2.4) ...
Setting up python3-pyqt5 (5.10.1+dfsg-1ubuntu2) ...
Setting up hplip-gui (3.17.10+repack0-5) ...
Processing triggers for desktop-file-utils (0.23+linuxmint6) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
pbear@vbox-mate-19-2:~$ hp-plugin

HP Linux Imaging and Printing System (ver. 3.17.10)
Plugin Download and Install Utility ver. 2.1

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.


HP Linux Imaging and Printing System (ver. 3.17.10)
Plugin Download and Install Utility ver. 2.1

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

qt5ct: using qt5ct plugin
Checking for network connection...
Downloading plug-in from: 
Receiving digital keys: /usr/bin/gpg --homedir /home/pbear/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9
Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.17.10 Plugin Self Extracting Archive................................................

HP Linux Imaging and Printing System (ver. 3.17.10)
Plugin Installer ver. 3.0

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Plug-in version: 3.17.10
Installed HPLIP version: 3.17.10
Number of files to install: 42

note: Using PyQt5
qt5ct: using qt5ct plugin
 
Done.
 Plug-in installation successful 

Done.
pbear@vbox-mate-19-2:~$ 
ETA3: Only reason to bother with hplip-gui was that it avoided the keyserver error when I tried it before. If not reliable, might as well skip that and use the simple command, hp-plugin -i. Also works:

Code: Select all

pbear@vbox-mate-19-2:~$ hp-plugin -i

HP Linux Imaging and Printing System (ver. 3.17.10)
Plugin Download and Install Utility ver. 2.1

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.


HP Linux Imaging and Printing System (ver. 3.17.10)
Plugin Download and Install Utility ver. 2.1

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)


------------------------------------------
| PLUG-IN INSTALLATION FOR HPLIP 3.17.10 |
------------------------------------------

  Option      Description                                       
  ----------  --------------------------------------------------
  d           Download plug-in from HP (recommended)            
  p           Specify a path to the plug-in (advanced)          
  q           Quit hp-plugin (skip installation)                

Enter option (d=download*, p=specify path, q=quit) ? 

-------------------
| DOWNLOAD PLUGIN |
-------------------

Checking for network connection...
Downloading plug-in from: 
Downloading plug-in: [\                                                                                                                            ] 0% Receiving digital keys: /usr/bin/gpg --homedir /home/pbear/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9
 
error: Unable to recieve key from keyserver
Do you still want to install the plug-in? (y=yes, n=no*, q=quit) ? y

----------------------
| INSTALLING PLUG-IN |
----------------------

Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.17.10 Plugin Self Extracting Archive................................................

HP Linux Imaging and Printing System (ver. 3.17.10)
Plugin Installer ver. 3.0

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Plug-in version: 3.17.10
Installed HPLIP version: 3.17.10
Number of files to install: 42

You must agree to the license terms before installing the plug-in:

LICENSE TERMS FOR HP Linux Imaging and Printing (HPLIP) Driver Plug-in                                                                                                   


These License Terms govern your Use of the HPLIP Driver Plug-in Software (the "Software"). USE OF THE SOFTWARE INCLUDING, WITHOUT LIMITATION, ANY DOCUMENTATION, IS      
SUBJECT TO THESE LICENSE TERMS AND THE APPLICABLE AS-IS WARRANTY STATEMENT. BY DOWNLOADING AND INSTALLING THE SOFTWARE, YOU ARE AGREEING TO BE BOUND BY THESE TERMS. IF  
YOU DO NOT AGREE TO ALL OF THESE TERMS, DO NOT DOWNLOAD AND INSTALL THE SOFTWARE ON YOUR SYSTEM.                                                                         


1. License Grant. HP grants you a license to Use one copy of the Software with HP printing products only. "Use" includes using, storing, loading, installing, executing, 
and displaying the Software. You may not modify the Software or disable any licensing or control features of the Software.                                               


2. Ownership. The Software is owned and copyrighted by HP or its third party suppliers. Your license confers no title to, or ownership in, the Software and is not a sale
of any rights in the Software. HP's third party suppliers may protect their rights in the Software in the event of any violation of these license terms.                 


3. Copies and Adaptations. You may only make copies or adaptations of the Software for archival purposes or when copying or adaptation is an essential step in the       
authorized Use of the Software. You must reproduce all copyright notices in the original Software on all copies or adaptations. You may not copy the Software onto any   
public network.                                                                                                                                                          


4. No Disassembly. You may not Disassemble the Software unless HP's prior written consent is obtained. "Disassemble" includes disassembling, decompiling, decrypting, and
reverse engineering. In some jurisdictions, HP's consent may not be required for limited Disassembly. Upon request, you will provide HP with reasonably detailed         
information regarding any Disassembly.                                                                                                                                   


5. No Transfer. You may not assign, sublicense or otherwise transfer all or any part of these License Terms or the Software.                                             


6. Termination. HP may terminate your license, upon notice, for failure to comply with any of these License Terms. Upon termination, you must immediately destroy the    
Software, together with all copies, adaptations and merged portions in any form.                                                                                         


7. Export Requirements. You may not export or re-export the Software or any copy or adaptation in violation of any applicable laws or regulations.                       


8. U.S. Government Restricted Rights. The Software has been developed entirely at private expense. It is delivered and licensed, as defined in any applicable DFARS,     
FARS, or other equivalent federal agency regulation or contract clause, as either "commercial computer software" or "restricted computer software", whichever is         
applicable. You have only those rights provided for such Software by the applicable clause or regulation or by these License Terms.                                      


9. DISCLAIMER OF WARRANTIES. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, HP AND ITS SUPPLIERS PROVIDE THE SOFTWARE "AS IS" AND WITH ALL FAULTS, AND HEREBY        
DISCLAIM ALL OTHER WARRANTIES AND CONDITIONS, EITHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF TITLE AND NON-INFRINGEMENT, ANY IMPLIED
WARRANTIES, DUTIES OR CONDITIONS OF MERCHANTABILITY, OF FITNESS FOR A PARTICULAR PURPOSE, AND OF LACK OF VIRUSES ALL WITH REGARD TO THE SOFTWARE. Some                   
states/jurisdictions do not allow exclusion of implied warranties or limitations on the duration of implied warranties, so the above disclaimer may not apply to you in  
its entirety.                                                                                                                                                            


10. LIMITATION OF LIABILITY. Notwithstanding any damages that you might incur, the entire liability of HP and any of its suppliers under any provision of this agreement 
and your exclusive remedy for all of the foregoing shall be limited to the greater of the amount actually paid by you separately for the Software or U.S. $5.00. TO THE  
MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL HP OR ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL,                                                 
INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, BUT NOT LIMITED TO, DAMAGES FOR LOSS OF PROFITS OR CONFIDENTIAL OR OTHER INFORMATION, FOR BUSINESS             
INTERRUPTION, FOR PERSONAL INJURY, FOR LOSS OF PRIVACY ARISING OUT OF OR IN ANY WAY RELATED TO THE USE OF OR INABILITY TO USE THE SOFTWARE, OR OTHERWISE IN CONNECTION   
WITH ANY PROVISION OF THIS AGREEMENT, EVEN IF HP OR ANY SUPPLIER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES AND EVEN IF THE REMEDY FAILS OF ITS ESSENTIAL       
PURPOSE. Some states/jurisdictions do not allow the exclusion or limitation of incidental or consequential damages, so the above limitation or exclusion may not apply to
you.                                                                                                                                                                     

Do you accept the license terms for the plug-in (y=yes*, n=no, q=quit) ? 
Please enter the sudoer (pbear)'s password: 
 
Done.
 
Done.
pbear@vbox-mate-19-2:~$ 
ETA4: I'm doing this in VirtualBox with snapshots, so it's easy for me to roll back the system and try different things. I have a separate VBox test box with snapshots for 3.19.12. Anyhoo, I'm off to work now, so no more edits!
I have to take off too - doing this on a live machine with a different HP printer/scanner than the OP and I have Cinnamon not sure that should matter but look at what I get below - of course how corrupt are these hplip files getting? When I get back I think I will rm ALL the hplip flies and start again.

Code: Select all

majpooper@1150z:~$ apt install --install-recommends hplip-gui
Reading package lists... Done
Building dependency tree       
Reading state information... Done
hplip-gui is already the newest version (3.17.10+repack0-5).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
majpooper@1150z:~$ hp-plugin
Traceback (most recent call last):
  File "/usr/bin/hp-plugin", line 41, in <module>
    from base import device, utils, tui, module, services
  File "/usr/share/hplip/base/device.py", line 41, in <module>
    from . import status
  File "/usr/share/hplip/base/status.py", line 49, in <module>
    import hpmudext
ImportError: /usr/lib/python3/dist-packages/hpmudext.cpython-36m-x86_64-linux-gnu.so: undefined symbol: hpmud_make_par_uri
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 145, in apport_excepthook
    os.O_WRONLY | os.O_CREAT | os.O_EXCL, 0o640), 'wb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/_usr_share_hplip_plugin.py.1000.crash'

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/hp-plugin", line 41, in <module>
    from base import device, utils, tui, module, services
  File "/usr/share/hplip/base/device.py", line 41, in <module>
    from . import status
  File "/usr/share/hplip/base/status.py", line 49, in <module>
    import hpmudext
ImportError: /usr/lib/python3/dist-packages/hpmudext.cpython-36m-x86_64-linux-gnu.so: undefined symbol: hpmud_make_par_uri
majpooper@1150z:~$ 
EDIT: Now 3.17.10 is back - so the original problem for me at least is back -- really got to go
Post Reply

Return to “Newbie Questions”