Installation of deb and rpm package

Symptoms: 

Unable to install deb and rpm packages.

Solution:

If HPLIP is already installed on the system the driver needs to be uninstalled before installing the package or need to be install the package with "force" option.

Installation of deb package

The deb package need to be installed with the “–force-all” option as part of the step ‘dpkg’ command to have clean installation of deb package.

sudo dpkg --force-all -i <deb package>

 

Installation of rpm package

The rpm package need to be installed with the “–nodeps” option to have clean installation of rpm package.

su -c "rpm -ivh --nodeps <rpm package>"