[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#825383: /usr/share/hplip/doctor.py: hp-doctor will not accept sudo password and there is no root account



On Sun 28 Jan 2018 at 17:11:49 +0100, Reinhard John wrote:

> On Sat, 27 Jan 2018 16:15:55 +0000 Brian Potkin <claremont102@gmail.com>
> wrote:
> > On Sat 27 Jan 2018 at 16:09:32 +0000, Brian Potkin wrote:
> >
> > > Look for "AUTH_TYPES" and change
> > >
> > > 'debian':'su'
> > >
> > > to
> > >
> > > 'debian':'sudo'
> >
> > I forgot to mention: reports of success are welcome.
> >
> > Regards,
> >
> > Brian.
> >
> >
> 
> I removed two dependencies to test the proposed workaround. Besides: The
> correct path of the file is /usr/share/hplip/base/password.py.
> Now the hp-doctor asked for the sudoer´s password. But: the installation of
> the missing dependencies failed.
> 
> > ENTER SUDO PASSWORD
> > -------------------
> > Please enter the sudoer (reinhard)'s password:
> > Do you want to update repository and Install missing/incompatible
> > packages. (a=install all*, c=custom_install, s=skip):a
> > Updating repository
> > -------------------
> > Installing Missing/Incompatible packages
> > ----------------------------------------
> > cmd =libssl-dev
> > error: Failed to install 'libssl-dev' package, please install manually.
> > cmd =libsane-dev
> > error: Failed to install 'libsane-dev' package, please install manually.
> 
> Do you think this error results of a follow-up configuration problem in
> another file?
> 
> I will send a bug report to the hplip developers. If there are any solutions
> I will post them here.

Success, then; you do not need a root password. Thanks for the testing
and the path correction.

I can see no reason why you would need those two files to print or scan.
Forget about them.

Cheers,

Brian.


Reply to: