[Comm] hp-plugin error: Plug-in install failed

Andrey Liakhovets liakh на dol.ru
Чт Дек 2 19:25:42 UTC 2010


Здравствуйте.

Пытаюсь настроить HP LaserJet M1005 MFP на школьном компьютере.
Система -- ALT Linux School 5.0.1 Master, обновлена до текущего p5.

Доустановил hplip-gui и hplip-recommends.
Запускаю HP Device Manager.
"HP Device Manager - Setup" правильно показывает МФУ (HP Laser Jet M1005)
и, похоже, правильно - URI (hp:/usb/HP_LaserJet_M1005?serial=...).
При нажатии на Next, в "HP Device Manager - Plug-in Installer" уже выбрано
Download and install ... (recommended) -- просто жму Next, некоторое время
жду (загрузка?), появляется Driver Plug-in License Agreement, соглашаюсь и
жму Next, появляется окно "System Policy prevents installation of printer plug-in -- PolicyKit-KDE" с полем для ввода пароля root.

И вот дальше пройти не удаётся.

Если вводить пароль медленно, то за это время появляется небольшое окошко
HP Device Manager с содержимым Plug-in install failed (появляется позади
окна PolicyKit-KDE, не сразу и заметишь) и -- всё.
Если ввести пароль достаточно быстро, то такое окно (Plug-in install
failed) появляется сразу после ввода пароля.

Логи в конце письма (последние записи -- быстрый ввод пароля).

Какой секретный код позволит пройти этот уровень? :)

С PolicyKit пока не разбирался, взглянул только на его конфиги (ничего
не менял) и на процессы, что-то есть:
/usr/bin/python /usr/bin/hp-pkservice
/usr/lib/kde4/libexec/polkit-kde-manager
 \_ /usr/libexec/PolicyKit/polkit-grant-helper 29849 com.hp.hplip.installplugin
/usr/libexec/PolicyKit/polkit-grant-helper-pam

Подозреваю, что если найти скачанный файл и положить его в нужное место,
то всё станет хорошо (или надо ещё какие-то заклинания сказать?).
Что можно сделать?
Запускать под strace ?

Андрей Ляховец


auth/all:

Dec  2 20:46:57 teacher polkit-grant-helper-pam[28890]: pam_tcb(polkit:auth): Authentication passed for root from (uid=500)
Dec  2 20:49:19 teacher polkit-grant-helper-pam[29062]: pam_tcb(polkit:auth): Authentication passed for root from (uid=500)
Dec  2 21:01:01 teacher crond[29614]: pam_tcb(crond:session): Session opened for root by (uid=0)
Dec  2 21:01:01 teacher crond[29614]: pam_tcb(crond:session): Session closed for root
Dec  2 21:03:41 teacher polkit-grant-helper-pam[29345]: pam_tcb(polkit:auth): conversation failed
Dec  2 21:03:41 teacher polkit-grant-helper-pam[29345]: pam_tcb(polkit:auth): Unable to obtain a password
Dec  2 21:06:40 teacher polkit-grant-helper-pam[29865]: pam_tcb(polkit:auth): conversation failed
Dec  2 21:06:40 teacher polkit-grant-helper-pam[29865]: pam_tcb(polkit:auth): Unable to obtain a password
Dec  2 21:07:29 teacher polkit-grant-helper-pam[29996]: pam_tcb(polkit:auth): Authentication passed for root from (uid=500)
Dec  2 21:07:29 teacher polkit-grant-helper[29992]: granted authorization for com.hp.hplip.installplugin to pid 29983 [uid=500] [auth=root]
Dec  2 21:10:01 teacher polkit-grant-helper-pam[30174]: pam_tcb(polkit:auth): Authentication passed for root from (uid=500)
Dec  2 21:10:01 teacher polkit-grant-helper[30170]: granted authorization for com.hp.hplip.installplugin to pid 30160 [uid=500] [auth=root]

messages:

Dec  2 20:46:42 teacher python: hp-plugin[28717]: error: Plug-in install failed.
Dec  2 20:48:14 teacher python: hp-setup[28702]: error:  The printer you are trying to setup requires a binary driver plug-in and it failed to install.  Please check your internet connection and try again.  Visit  http://hplipopensource.com  for more infomation.
Dec  2 20:49:17 teacher python: hp-plugin[28970]: error: Plug-in install failed.
Dec  2 20:52:59 teacher python: hp-setup[28702]: error:  The printer you are trying to setup requires a binary driver plug-in and it failed to install.  Please check your internet connection and try again.  Visit  http://hplipopensource.com  for more infomation.
Dec  2 20:54:43 teacher python: hp-plugin[29259]: error: Plug-in install failed.
Dec  2 21:00:20 teacher smartd[11218]: Device: /dev/sda [SAT], SMART Usage Attribute: 190 Airflow_Temperature_Cel changed from 68 to 67
Dec  2 21:00:20 teacher smartd[11218]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 32 to 33
Dec  2 21:01:01 teacher crond[29616]: (root) CMD (run-parts /etc/cron.hourly)
Dec  2 21:03:32 teacher python: hp-setup[28702]: error:  The printer you are trying to setup requires a binary driver plug-in and it failed to install.  Please check your internet connection and try again.  Visit  http://hplipopensource.com  for more infomation.
Dec  2 21:06:18 teacher python: hp-plugin[29772]: error: Plug-in install failed.
Dec  2 21:06:32 teacher python: hp-setup[28702]: error:  The printer you are trying to setup requires a binary driver plug-in and it failed to install.  Please check your internet connection and try again.  Visit  http://hplipopensource.com  for more infomation.
Dec  2 21:07:29 teacher python: hp-pkservice[28715]: error: Process not authorized by PolicyKit
Dec  2 21:07:29 teacher python: hp-pkservice[28715]: warning: AccessDeniedException
Dec  2 21:07:29 teacher python: hp-plugin[29911]: error: Plug-in install failed.
Dec  2 21:07:30 teacher python: hp-setup[28702]: error:  The printer you are trying to setup requires a binary driver plug-in and it failed to install.  Please check your internet connection and try again.  Visit  http://hplipopensource.com  for more infomation.
Dec  2 21:10:01 teacher python: hp-pkservice[28715]: error: Process not authorized by PolicyKit
Dec  2 21:10:01 teacher python: hp-pkservice[28715]: warning: AccessDeniedException
Dec  2 21:10:01 teacher python: hp-plugin[30087]: error: Plug-in install failed.
Dec  2 21:10:12 teacher python: hp-setup[28702]: error:  The printer you are trying to setup requires a binary driver plug-in and it failed to install.  Please check your internet connection and try again.  Visit  http://hplipopensource.com  for more infomation.


Подробная информация о списке рассылки community