Binary hplip installer should respect package manager (should not remove files directly, but should remove packages)

Bug #1782137 reported by Norbert
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
HPLIP
Confirmed
Undecided
Unassigned

Bug Description

Steps to reproduce:
1. Have Ubuntu installed with common desktop environment (many of them ship deb-packaged hplip as dependency or recommendation).
2. Have modern HP-printer which is not supported by deb-packaged hplip version
3. Download binary HPLIP distribution:

   wget https://kent.dl.sourceforge.net/project/hplip/hplip/3.18.6/hplip-3.18.6.run
   sh hplip-3.18.6.run

4. Wait setup to finish.
5. Run `debsums -c -s` on the system to test its integrity.

Expected behavior:
* Binary hplip installer respects package manager. It removes hplip-related deb-packages automatically on package level (not file level).

Actual results:
* Binary hplip installer does not respect package manager. It removes hplip-related parts on file level, confusing package manager and breaking the whole Ubuntu system. See console outputs on AskUbuntu in questions https://askubuntu.com/q/1056169/66509 , https://askubuntu.com/q/1056746/66509 , https://askubuntu.com/q/1056780/66509 :

Notes:
1. Currently we have correct guide for 16.04 LTS and 18.04 LTS here ( https://askubuntu.com/q/1056077/66509 ) with instruction how to install and/or remove HPLIP from both sources.
2. Many users love HP products, but do not have enough experience in GNU/Linux and/or Ubuntu. So you should include automatic deb-package unistallation into binary hplip installer.

Revision history for this message
Joseph Florio (joeinslw) wrote : Re: [Bug 1782137] [NEW] Binary hplip installer should respect package manager (should not remove files directly, but should remove packages)
Download full text (3.7 KiB)

If anyone bought or downloaded Linux Mint 19 it will not work because grub
is missing from the program. The error message says grub missing, will not
boot. If you are having trouble with 19 booting return it, it won't boot.

On Tue, Jul 17, 2018 at 8:31 AM, Norbert <email address hidden> wrote:

> Public bug reported:
>
> Steps to reproduce:
> 1. Have Ubuntu installed with common desktop environment (many of them
> ship deb-packaged hplip as dependency or recommendation).
> 2. Have modern HP-printer which is not supported by deb-packaged hplip
> version
> 3. Download binary HPLIP distribution:
>
> wget https://kent.dl.sourceforge.net/project/hplip/hplip/3.18.
> 6/hplip-3.18.6.run
> sh hplip-3.18.6.run
>
> 4. Wait setup to finish.
> 5. Run `debsums -c -s` on the system to test its integrity.
>
> Expected behavior:
> * Binary hplip installer respects package manager. It removes
> hplip-related deb-packages automatically on package level (not file level).
>
> Actual results:
> * Binary hplip installer does not respect package manager. It removes
> hplip-related parts on file level, confusing package manager and breaking
> the whole Ubuntu system. See console outputs on AskUbuntu in questions
> https://askubuntu.com/q/1056169/66509 , https://askubuntu.com/q/
> 1056746/66509 , https://askubuntu.com/q/1056780/66509 :
>
> Notes:
> 1. Currently we have correct guide for 16.04 LTS and 18.04 LTS here (
> https://askubuntu.com/q/1056077/66509 ) with instruction how to install
> and/or remove HPLIP from both sources.
> 2. Many users love HP products, but do not have enough experience in
> GNU/Linux and/or Ubuntu. So you should include automatic deb-package
> unistallation into binary hplip installer.
>
> ** Affects: hplip
> Importance: Undecided
> Status: New
>
>
> ** Tags: artful bionic cosmic trusty xenial
>
> --
> You received this bug notification because you are subscribed to HPLIP.
> Matching subscriptions: joeinslw
> https://bugs.launchpad.net/bugs/1782137
>
> Title:
> Binary hplip installer should respect package manager (should not
> remove files directly, but should remove packages)
>
> Status in HPLIP:
> New
>
> Bug description:
> Steps to reproduce:
> 1. Have Ubuntu installed with common desktop environment (many of them
> ship deb-packaged hplip as dependency or recommendation).
> 2. Have modern HP-printer which is not supported by deb-packaged hplip
> version
> 3. Download binary HPLIP distribution:
>
> wget https://kent.dl.sourceforge.net/project/hplip/hplip/3.18.
> 6/hplip-3.18.6.run
> sh hplip-3.18.6.run
>
> 4. Wait setup to finish.
> 5. Run `debsums -c -s` on the system to test its integrity.
>
> Expected behavior:
> * Binary hplip installer respects package manager. It removes
> hplip-related deb-packages automatically on package level (not file level).
>
> Actual results:
> * Binary hplip installer does not respect package manager. It removes
> hplip-related parts on file level, confusing package manager and breaking
> the whole Ubuntu system. See console outputs on AskUbuntu in questions
> https://askubuntu.com/q/1056169/66509 , https://askubuntu.com/q/
> 1056746/66509 ,...

Read more...

Revision history for this message
Norbert (nrbrtx) wrote :

@Joseph Florio (joeinslw)
for whom you wrote your clever comment?

I say about vanilla Ubuntu 16.04 LTS or 18.04 LTS.
Please stay on topic. Period.

Revision history for this message
srinivas (srinivas5) wrote :

Hi Norbert,

Thanks for your analysis and suggestions, we will check with the team and try to fix it as part of our future releases.

Thanks,
Srinivas Teja.

Changed in hplip:
status: New → In Progress
Revision history for this message
manuel fernandez (mfg) wrote :

Yes, I agree with Norbert.
Should respect Package manager.
Uninstall option.

I bought a MFP M180nw and having difficulties to set the scanner.

thank you.

Norbert (nrbrtx)
tags: added: disco
removed: artful
Revision history for this message
Norbert (nrbrtx) wrote :

This happened today again - https://askubuntu.com/q/1115538/66509 .
Consider to fix your uninstallation process.

Norbert (nrbrtx)
tags: added: eoan
Norbert (nrbrtx)
tags: added: focal hirsute impish
removed: cosmic disco eoan trusty
Revision history for this message
Norbert (nrbrtx) wrote :

Still not fixed. How long it will continue to happen?

tags: added: jammy
Changed in hplip:
status: In Progress → Confirmed
Revision history for this message
Raymond Clements (raymondthebrave) wrote :

I am having this problem as well trying to install and setup hplip-3.22.2 on Zorin 16.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.