ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] hp-plugin error: Plug-in install failed
@ 2010-12-02 19:25 Andrey Liakhovets
  2010-12-02 19:49 ` Igor Vlasenko
  0 siblings, 1 reply; 10+ messages in thread
From: Andrey Liakhovets @ 2010-12-02 19:25 UTC (permalink / raw)
  To: community

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

Пытаюсь настроить 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.


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-12-04 19:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-02 19:25 [Comm] hp-plugin error: Plug-in install failed Andrey Liakhovets
2010-12-02 19:49 ` Igor Vlasenko
2010-12-02 21:25   ` Andrey Liakhovets
2010-12-02 22:08     ` Andrey Liakhovets
2010-12-02 22:10       ` Aleksey Novodvorsky
2010-12-03  9:04       ` Igor Vlasenko
2010-12-04 15:33         ` Andrey Liakhovets
2010-12-04 19:12           ` Igor Vlasenko
2010-12-03 11:15       ` Андрей Черепанов
2010-12-03 11:32         ` Igor Vlasenko

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git