Choose style:

Author Topic: new peppermint 8 install, jacked up hplip <SOLVED>  (Read 1764 times)

0 Members and 1 Guest are viewing this topic.

Offline adamunderwood

  • Jr. Member
  • **
  • Posts: 51
  • Karma: 1
  • Still learning
    • View Profile
  • Peppermint version(s): 6,8, and 9
new peppermint 8 install, jacked up hplip <SOLVED>
« on: October 20, 2018, 08:13:50 pm »
First off I apologize if this is in the wrong section, and also for the fact that it seems all I do is ask for help every year or two when I run into problems with a new install and cannot really contribute much back.
Anyway I just installed peppermint 8 on a newer computer purchased at work.  Everything went very smooth until I went to set up the printer/scanner.  It is a HP laserjet M1212nf MFP.  I thought I was on the right track after finding on here about hp-plugin.  Finally got the printer recognized and setup but I kept having issues.  When attempting to scan the messages told me the scan started and completed, The info screen on the printer itself confirmed this as well, yet no scan was coming up on the monitor.  Finally it would give me a message about communication error.  Tried the printer and it would work sometimes and sometimes not.  When it did not it was still giving me the messages in the top right of the screen stating that the print job had started and completed though.

The first install was through the Software Manager.  I tried uninstalling and reinstalling from the terminal.  same problem so I then tried downloading the latest version from the website.  Same issues.  Then I start to lose track of everything I was trying.  Tried to uninstall the latest and go back to the one in the repository.  Now I have things so screwed up that it won't finish the process of selecting and setting up my printer.
Finally the point of all this:
Everything else not related to the printer still works fantastic.  It took some time to install all the work related files and set everything up related to that so I guess what I'm asking is:
Is there a way to undo everything I did related to hplip and all printer stuff and just redo that part of it or do I have to start over completely with another fresh OS install?

By the way inxi output is as follows
Code: [Select]
gs1@gs1-HP-Compaq-Elite-8300-SFF ~ $ inxi -Fz
System:    Host: gs1-HP-Compaq-Elite-8300-SFF Kernel: 4.15.0-36-generic x86_64 (64 bit)
           Desktop: N/A Distro: Peppermint Eight
Machine:   System: Hewlett-Packard product: HP Compaq Elite 8300 SFF
           Mobo: Hewlett-Packard model: 3397
           Bios: Hewlett-Packard v: K01 v02.90 date: 07/16/2013
CPU:       Quad core Intel Core i5-3470 (-MCP-) cache: 6144 KB
           clock speeds: max: 3600 MHz 1: 1601 MHz 2: 1596 MHz 3: 1596 MHz
           4: 1596 MHz
Graphics:  Card: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller
           Display Server: X.Org 1.19.6 drivers: (unloaded: fbdev,vesa)
           Resolution: 1600x900@60.00hz
           GLX Renderer: Mesa DRI Intel Ivybridge Desktop
           GLX Version: 3.0 Mesa 17.0.2
Audio:     Card Intel 7 Series/C210 Series Family High Definition Audio Controller
           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.15.0-36-generic
Network:   Card: Intel 82579LM Gigabit Network Connection driver: e1000e
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 250.1GB (7.6% used)
           ID-1: /dev/sda model: Samsung_SSD_860 size: 250.1GB
Partition: ID-1: / size: 222G used: 11G (5%) fs: ext4 dev: /dev/sda1
           ID-2: swap-1 size: 8.46GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 167 Uptime: 5 min Memory: 692.3/7851.5MB
           Client: Shell (bash) inxi: 2.2.35
gs1@gs1-HP-Compaq-Elite-8300-SFF ~ $
« Last Edit: October 28, 2018, 07:16:29 pm by adamunderwood »

Offline pin

  • Trusted User
  • Veteran
  • *****
  • Posts: 1727
  • Karma: 240
    • View Profile
Re: new peppermint 8 install, jacked up hplip
« Reply #1 on: October 21, 2018, 02:40:17 am »
Quote
Is there a way to undo everything I did related to hplip and all printer stuff and just redo that part of it or do I have to start over completely with another fresh OS install?
It's always possible. Re-installing is hardly needed, but sometimes it's the easiest way out.
What exactly have you done that you want to undo?
Just say NO to flatpak and snap!!

Offline adamunderwood

  • Jr. Member
  • **
  • Posts: 51
  • Karma: 1
  • Still learning
    • View Profile
  • Peppermint version(s): 6,8, and 9
Re: new peppermint 8 install, jacked up hplip
« Reply #2 on: October 21, 2018, 12:01:05 pm »
Quote
What exactly have you done that you want to undo?

I wish I knew exactly.  I think through my trying to fix it i now have 2 or 3 different versions of hplip installed, or at least  partially installed.  I tried to uninstall and reinstall and then when I go through the setup to add printer it shows my printer on the screen, I select it and click on next and it just brings that same screen back up over and over until I give up and just x out of it.

Offline pin

  • Trusted User
  • Veteran
  • *****
  • Posts: 1727
  • Karma: 240
    • View Profile
Re: new peppermint 8 install, jacked up hplip
« Reply #3 on: October 21, 2018, 02:12:11 pm »
Code: [Select]
sudo apt-get remove --purge hplip
sudo apt-get autoremove
sudo apt-get autoclean

As for the version from the website I don't know how to remove it, but once you have removed the others post the output of
Code: [Select]
sudo find / -name hplip
It should work to just remove the binary  :-\
Just say NO to flatpak and snap!!

Offline adamunderwood

  • Jr. Member
  • **
  • Posts: 51
  • Karma: 1
  • Still learning
    • View Profile
  • Peppermint version(s): 6,8, and 9
Re: new peppermint 8 install, jacked up hplip
« Reply #4 on: October 21, 2018, 06:04:32 pm »
ok, all 3 steps  completed.
Code: [Select]
gs1@gs1-HP-Compaq-Elite-8300-SFF ~ $ sudo find / -name hplip
[sudo] password for gs1:
/usr/share/ppd/hplip
/usr/share/hplip
find: /run/user/1000/gvfs: Permission denied
/etc/sane.d/dll.d/hplip
gs1@gs1-HP-Compaq-Elite-8300-SFF ~ $

Offline pin

  • Trusted User
  • Veteran
  • *****
  • Posts: 1727
  • Karma: 240
    • View Profile
Re: new peppermint 8 install, jacked up hplip
« Reply #5 on: October 22, 2018, 12:16:15 am »
Sorry, could you also post the output of
Code: [Select]
dpkg -l | grep hplip

See also this thread https://askubuntu.com/questions/472652/hp-device-manager-still-in-menu-after-hplip-uninstall
« Last Edit: October 22, 2018, 12:23:32 am by pin »
Just say NO to flatpak and snap!!

Offline adamunderwood

  • Jr. Member
  • **
  • Posts: 51
  • Karma: 1
  • Still learning
    • View Profile
  • Peppermint version(s): 6,8, and 9
Re: new peppermint 8 install, jacked up hplip
« Reply #6 on: October 22, 2018, 01:43:45 pm »
Quote
dpkg -l | grep hplip

there was no output at all for this one

Offline pin

  • Trusted User
  • Veteran
  • *****
  • Posts: 1727
  • Karma: 240
    • View Profile
Re: new peppermint 8 install, jacked up hplip
« Reply #7 on: October 22, 2018, 02:29:15 pm »
Good! It means that what is left is the stuff you've installed from the hplip website.
Did you have a look at the page I linked?
Do you think you can manage to follow it and remove what remains to be removed?
When you're done with it remove also the added printers and you're back at the start.

No re-install needed  ;)
Obviously, we still need to figure out how to fix things in order for you to be able to print.
Is this a network printer or is it attached through some sort of cable connection?
Just say NO to flatpak and snap!!

Offline adamunderwood

  • Jr. Member
  • **
  • Posts: 51
  • Karma: 1
  • Still learning
    • View Profile
  • Peppermint version(s): 6,8, and 9
Re: new peppermint 8 install, jacked up hplip
« Reply #8 on: October 22, 2018, 02:37:03 pm »
I haven't looked at it yet but will here in a little bit when that computer is free.  Worst case I'll go through all of that tonight after the others leave.
The printer is attached through usb cable.

Thank you for all of your help thus far.

Offline pin

  • Trusted User
  • Veteran
  • *****
  • Posts: 1727
  • Karma: 240
    • View Profile
Re: new peppermint 8 install, jacked up hplip
« Reply #9 on: October 22, 2018, 03:22:17 pm »
Don't worry, I've just checked my system and I also have the directories and files you found with the command
Code: [Select]
sudo find / -name hplip
on my system and I don't have an hp printer. Guess those come with the default install... unless I've installed those myself  :-\ ...but, why would I do that?!

Make sure you have the following packages installed. Use Synaptic to look for them


Just say NO to flatpak and snap!!

Offline adamunderwood

  • Jr. Member
  • **
  • Posts: 51
  • Karma: 1
  • Still learning
    • View Profile
  • Peppermint version(s): 6,8, and 9
Re: new peppermint 8 install, jacked up hplip
« Reply #10 on: October 22, 2018, 03:23:03 pm »
ok I checked out that page you linked.  not sure if that applies to me as I dont have any shortcut to an HP Device Manager.  All I found is in the menu, submenu "other", there is a shortcut to "hp-uiscan".    I followed everything on the linked  webpage short of reinstalling hplip.

now output is
Code: [Select]
gs1@gs1-HP-Compaq-Elite-8300-SFF ~ $ sudo find / -name hplip
[sudo] password for gs1:
find: /run/user/1000/gvfs: Permission denied
gs1@gs1-HP-Compaq-Elite-8300-SFF ~ $

Offline pin

  • Trusted User
  • Veteran
  • *****
  • Posts: 1727
  • Karma: 240
    • View Profile
Re: new peppermint 8 install, jacked up hplip
« Reply #11 on: October 22, 2018, 03:30:33 pm »
Ok! You have cleaned the system.
Remove any printer you have added and you're back at the start. Check my previous post and make sure you have all the cups packages highlighted.
I'm soon off to bed, but will be back tomorrow.
Just say NO to flatpak and snap!!

Offline adamunderwood

  • Jr. Member
  • **
  • Posts: 51
  • Karma: 1
  • Still learning
    • View Profile
  • Peppermint version(s): 6,8, and 9
Re: new peppermint 8 install, jacked up hplip
« Reply #12 on: October 22, 2018, 03:31:30 pm »
ok yes I have all of those, and even have the cups-bsd.

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24523
  • Karma: 2700
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: new peppermint 8 install, jacked up hplip
« Reply #13 on: October 22, 2018, 03:33:25 pm »
Now what's the output from:
Code: [Select]
dpkg -l | grep hp
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline adamunderwood

  • Jr. Member
  • **
  • Posts: 51
  • Karma: 1
  • Still learning
    • View Profile
  • Peppermint version(s): 6,8, and 9
Re: new peppermint 8 install, jacked up hplip
« Reply #14 on: October 22, 2018, 03:35:36 pm »
Code: [Select]
gs1@gs1-HP-Compaq-Elite-8300-SFF ~ $ dpkg -l | grep hp
rc  adobe-flashplugin                             1:20171114.1-0ubuntu0.16.04.1                               amd64        Adobe Flash Player plugin
ii  flashplugin-installer                         31.0.0.122ubuntu0.16.04.1                                   amd64        Adobe Flash Player plugin installer
ii  libhpmud0:amd64                               3.16.3+repack0-1                                            amd64        HP Multi-Point Transport Driver (hpmud) run-time libraries
ii  libpathplan4                                  2.38.0-12ubuntu2.1                                          amd64        rich set of graph drawing tools - pathplan library
rc  libsane-hpaio:amd64                           3.16.3+repack0-1                                            amd64        HP SANE backend for multi-function peripherals
ii  printer-driver-hpcups                         3.16.3+repack0-1                                            amd64        HP Linux Printing and Imaging - CUPS Raster driver (hpcups)
gs1@gs1-HP-Compaq-Elite-8300-SFF ~ $