Установка драйверов для "HP Laser 107w"

Обмен опытом по установке Линукс на разные аппаратные конфигурации

Модераторы: Olej, vikos

Аватара пользователя
bellic
Писатель
Сообщения: 379
Зарегистрирован: 02 сен 2022, 14:41
Откуда: Ростов-на-Дону
Контактная информация:

Установка драйверов для "HP Laser 107w"

Непрочитанное сообщение bellic » 10 сен 2023, 15:33

ОБновление закончилось... проверяю:

Код: Выделить всё

user@astra:~$ hp-setup

HP Linux Imaging and Printing System (ver. 3.22.6)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.


Done.
HPLIP не обновился!

Аватара пользователя
bellic
Писатель
Сообщения: 379
Зарегистрирован: 02 сен 2022, 14:41
Откуда: Ростов-на-Дону
Контактная информация:

Установка драйверов для "HP Laser 107w"

Непрочитанное сообщение bellic » 10 сен 2023, 15:36

Код: Выделить всё

user@astra:~$ sudo apt autoremove
Чтение списков пакетов… Готово
Построение дерева зависимостей       
Чтение информации о состоянии… Готово
Следующие пакеты будут УДАЛЕНЫ:
  coinor-libcbc3 coinor-libcgl1 coinor-libclp1 coinor-libcoinmp1v5 coinor-libcoinutils3v5 coinor-libosi1v5 libepubgen-0.1-1 libetonyek-0.1-1 libgtkspell0 libigdgmm11
  libkdecorations2private9 libkf5screen7 libplacebo7 libpoppler118 libqxp-0.0-0 libstaroffice-0.0-0 libzmf-0.0-0
Обновлено 0 пакетов, установлено 0 новых пакетов, для удаления отмечено 17 пакетов, и 1 пакетов не обновлено.
После данной операции объём занятого дискового пространства уменьшится на 23,5 MB.
Хотите продолжить? [Д/н] Д
(Чтение базы данных … на данный момент установлено 240724 файла и каталога.)
Удаляется coinor-libcoinmp1v5:amd64 (1.8.3-2) …
Удаляется coinor-libcbc3 (2.9.9+repack1-1) …
Удаляется coinor-libcgl1 (0.59.10+repack1-1) …
Удаляется coinor-libclp1 (1.16.11+repack1-1) …
Удаляется coinor-libosi1v5 (0.107.9+repack1-1) …
Удаляется coinor-libcoinutils3v5 (2.10.14+repack1-1) …
Удаляется libepubgen-0.1-1:amd64 (0.1.1-1) …
Удаляется libetonyek-0.1-1:amd64 (0.1.9-1) …
Удаляется libgtkspell0:amd64 (2.0.16-1.2) …
Удаляется libigdgmm11:amd64 (20.4.1+ds1-1) …
Удаляется libkdecorations2private9:amd64 (4:5.25.5-1) …
Удаляется libkf5screen7:amd64 (4:5.25.4-1) …
Удаляется libplacebo7:amd64 (1.7.0-2) …
Удаляется libpoppler118:amd64 (22.02.0-3) …
Удаляется libqxp-0.0-0 (0.0.2-1) …
Удаляется libstaroffice-0.0-0:amd64 (0.0.6-1) …
Удаляется libzmf-0.0-0:amd64 (0.0.2-1) …
Обрабатываются триггеры для libc-bin (2.28-10+deb10u2+ci202302271750+astra5) …

Код: Выделить всё

user@astra:~$ sudo apt autoclean
Чтение списков пакетов… Готово
Построение дерева зависимостей       
Чтение информации о состоянии… Готово
Del pulseaudio-module-bluetooth 12.2-4+deb10u1+ci202207201706+astra3 [83,8 kB]
Del astra-version 8.1.34+ci4+v1.7.3.ext1.3 [3 868 B]
Del libmariadb3 1:10.3.36-0+deb10u2+b1 [174 kB]
Del mariadb-common 1:10.3.36-0+deb10u2+b1 [33,3 kB]
Del bluetooth 5.54-1~bpo10+1+ci202206301702+astra1 [44,0 kB]
Del rfkill 2.33.1-0.1.astra2se3 [82,8 kB]
Del intel-microcode 3.20220809.1 [4 099 kB]
Del bsp-ns685-astra 1.0-1+ci26 [3 324 B]
Del libigdgmm11 20.4.1+ds1-1 [110 kB]
Del intel-media-va-driver 20.4.5+dfsg1-1 [1 891 kB]
Del bluez 5.54-1~bpo10+1+ci202206301702+astra1 [980 kB]
Del bluez-obexd 5.54-1~bpo10+1+ci202206301702+astra1 [205 kB]

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

Установка драйверов для "HP Laser 107w"

Непрочитанное сообщение Olej » 10 сен 2023, 15:46

bellic писал(а):
10 сен 2023, 15:33
HPLIP не обновился!
Да и не станет он обновляться? С какой стати?

Нужно ставить тот, что с сайта HP скачан: hplip-3.23.5.run

Аватара пользователя
bellic
Писатель
Сообщения: 379
Зарегистрирован: 02 сен 2022, 14:41
Откуда: Ростов-на-Дону
Контактная информация:

Установка драйверов для "HP Laser 107w"

Непрочитанное сообщение bellic » 10 сен 2023, 15:48

Подключил принтер и попробовал печать тестовой страницы, и она таки напечаталась!!! :-)
А что я собственно сделал то??? :?:

В общем думаю делать так:
- обновлять Систему
- ставить дрова производителя

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

Установка драйверов для "HP Laser 107w"

Непрочитанное сообщение Olej » 10 сен 2023, 16:04

bellic писал(а):
10 сен 2023, 15:48
В общем думаю делать так:
+ расшаривать принтер по сети в протоколе IPP

Аватара пользователя
bellic
Писатель
Сообщения: 379
Зарегистрирован: 02 сен 2022, 14:41
Откуда: Ростов-на-Дону
Контактная информация:

Установка драйверов для "HP Laser 107w"

Непрочитанное сообщение bellic » 12 сен 2023, 11:29

Вторник... 12 Сентября...
Буду ставить hplip-3.23.5, но для начала дам РУТУ кашерный пароль...)))

Код: Выделить всё

user@astra:~$ sudo -i
root@astra:~# whoami
root
root@astra:~# passwd
Новый пароль : 
Повторите ввод нового пароля : 
passwd: пароль успешно обновлён
root@astra:~# exit
выход
Астра скушала довольно простой чисто цифровой 8-значный пароль!)))

Аватара пользователя
bellic
Писатель
Сообщения: 379
Зарегистрирован: 02 сен 2022, 14:41
Откуда: Ростов-на-Дону
Контактная информация:

Установка драйверов для "HP Laser 107w"

Непрочитанное сообщение bellic » 12 сен 2023, 11:38

Код: Выделить всё

root@astra:/home/user# sh hplip-3.23.5.run
Creating directory hplip-3.23.5
Verifying archive integrity...  100%   All good.
Uncompressing HPLIP 3.23.5 Self Extracting Archive  100%  
warning: hplip-install should not be run as root.

HP Linux Imaging and Printing System (ver. 3.23.5)
HPLIP Installer ver. 5.1

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Installer log saved in: hplip-install_Tue-12-Sep-2023_11:31:37.log

-error: You are running the installer as root. It is highly recommended that you run the installer as
error: a regular (non-root) user. Do you still wish to continue?
Continue with installation (y=yes, n=no*, q=quit) ?


Ругается, что запущено из-под РУТА... Исправляемся, ответив "n" и запустив скрипт еще разок, но из под простого "USER"...

Код: Выделить всё

user@astra:~$ sh hplip-3.23.5.run
Creating directory hplip-3.23.5
Verifying archive integrity...  100%   All good.
Uncompressing HPLIP 3.23.5 Self Extracting Archivehplip-3.23.5.run: строка 540: cd: hplip-3.23.5: Отказано в доступе
  100%  hplip-3.23.5.run: строка 542: cd: hplip-3.23.5: Отказано в доступе
chown: невозможно прочитать каталог './hplip-3.23.5': Отказано в доступе
chgrp: невозможно прочитать каталог './hplip-3.23.5': Отказано в доступе

hplip-3.23.5.run: строка 555: cd: hplip-3.23.5: Отказано в доступе

HP Linux Imaging and Printing System (ver. 3.23.5)
HPLIP Installer ver. 5.1

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Installer log saved in: hplip-install_Tue-12-Sep-2023_11:38:08.log

-
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
error: Auto installation is not supported for 'unknown' distro so all dependencies may not be installed. 
Please install manually as mentioned in 'http://hplipopensource.com/hplip-web/install/manual/index.html' web-site

Press 'y' to continue auto installation. Press 'n' to quit auto instalation(y=yes, n=no*): 
Не понос, так золотуха - 5 отказов в доступе... Надо разбираться!

Нет прав на каталог "hplip-3.23.5", они у РУТА... Удаляю рутом каталог и снова запускаю скрипт из под юзера...

Аватара пользователя
bellic
Писатель
Сообщения: 379
Зарегистрирован: 02 сен 2022, 14:41
Откуда: Ростов-на-Дону
Контактная информация:

Установка драйверов для "HP Laser 107w"

Непрочитанное сообщение bellic » 12 сен 2023, 11:55

Код: Выделить всё

user@astra:~$ sh hplip-3.23.5.run
Creating directory hplip-3.23.5
Verifying archive integrity...  100%   All good.
Uncompressing HPLIP 3.23.5 Self Extracting Archive  100%  

HP Linux Imaging and Printing System (ver. 3.23.5)
HPLIP Installer ver. 5.1

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Installer log saved in: hplip-install_Tue-12-Sep-2023_11:49:25.log

-
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
error: Auto installation is not supported for 'unknown' distro so all dependencies may not be installed. 
Please install manually as mentioned in 'http://hplipopensource.com/hplip-web/install/manual/index.html' web-site

Press 'y' to continue auto installation. Press 'n' to quit auto instalation(y=yes, n=no*): y


INSTALLATION MODE
-----------------
Automatic mode will install the full HPLIP solution with the most common options.
Custom mode allows you to choose installation options to fit specific requirements.

Please choose the installation mode (a=automatic*, c=custom, q=quit) : c


INTRODUCTION
------------
This installer will install HPLIP version 3.23.5 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).


DISTRO/OS CONFIRMATION
----------------------


DISTRO/OS SELECTION
-------------------

Choose the name of the distro/OS that most closely matches your system:

Num.  Distro/OS Name          
----  ------------------------
0     Mepis                   
1     Debian                  
2     SUSE Linux              
3     Mandriva Linux          
4     Fedora                  
5     Red Hat                 
6     Red Hat Enterprise Linux
7     Ubuntu                  
8     PCLinuxOS               
9     Linux Mint              
10    gOS                     
11    Linpus Linux            
12    Manjaro Linux           
13    Zorin OS                
14    MX linux                
15    Elementary OS           
16    IGOS                    
17    Boss                    
18    Linux From Scratch      

Enter number 0...18 (q=quit) ?1

Choose the version of "Debian" that most closely matches your system:

Num.  Distro/OS Version                       
----  ----------------------------------------
0     Unknown or not listed                   
1     10.0 ("Buster", Released 22/07/2017)    
2     10.1 ("Buster", Released 22/07/2017)    
3     10.2 ("Buster", Released 22/07/2017)    
4     10.3 ("Buster", Released 08/02/2020)    
5     10.4 ("Buster", Released 09/05/2020)    
6     10.6 ("Buster", Released 09/05/2020)    
7     10.7 ("Buster", Released 09/05/202)     
8     10.8 ("Buster", Released 09/05/202)     
9     10.9 ("Buster", Released 09/05/2021)    
10    11 ("Bullseye", Released 01/11/2021)    
11    6.0 ("Squeeze")                         
12    6.0.1 ("Squeeze")                       
13    6.0.10 ("Squeeze")                      
14    6.0.2 ("Squeeze")                       
15    6.0.3 ("Squeeze")                       
16    6.0.4 ("Squeeze")                       
17    6.0.5 ("Squeeze")                       
18    6.0.6 ("Squeeze")                       
19    6.0.7 ("Squeeze")                       
20    6.0.8 ("Squeeze")                       
21    6.0.9 ("Squeeze")                       
22    7.0 ("Wheezy", Released 04/05/2013)     
23    7.1 ("Wheezy", Released 04/05/2013)     
24    7.2 ("Wheezy", Released 04/05/2013)     
25    7.3 ("Wheezy", Released 04/05/2013)     
26    7.4 ("Wheezy", Released 04/05/2013)     
27    7.5 ("Wheezy", Released 04/05/2013)     
28    7.6 ("Wheezy", Released 04/05/2013)     
29    7.7 ("Wheezy", Released 04/05/2013)     
30    7.8 ("Wheezy", Released 04/05/2013)     
31    7.9 ("Wheezy", Released 04/05/2013)     
32    8.0 ("Jessie", Released 04/05/2015)     
33    8.1 ("Jessie", Released 04/05/2015)     
34    8.2 ("Jessie", Released 04/05/2015)     
35    8.3 ("Jessie", Released 04/05/2015)     
36    8.4 ("Jessie", Released 04/05/2016)     
37    8.5 ("Jessie", Released 27/08/2016)     
38    8.6 ("Jessie", Released 22/10/2016)     
39    8.7 ("Jessie", Released 22/10/2016)     
40    8.8 ("Jessie", Released 31/05/2017)     
41    9.1 ("Stretch", Released 22/07/2017)    
42    9.2 ("Stretch", Released 7/10/2017)     
43    9.3 ("Stretch", Released 9/12/2017)     
44    9.4 ("Stretch", Released 10/3/2018)     
45    9.5 ("Stretch", Released 10/3/2018)     
46    9.6 ("Stretch", Released 10/11/2018)    
47    9.7 ("Stretch", Released 23/1/2019)     
48    9.8 ("Stretch", Released 16/2/2019)     
49    9.9 ("Stretch", Released 22/07/2017)    

Enter number 0...49 (q=quit) ?1

Distro set to: Debian 10.0


DRIVER OPTIONS
--------------
Would you like to install Custom Discrete Drivers or Class Drivers ( 'd'= Discrete Drivers*,'c'= Class Drivers,'q'= Quit)?   : d

Initializing. Please wait...


SELECT HPLIP OPTIONS
--------------------
You can select which HPLIP options to enable. Some options require extra dependencies.

Do you wish to enable 'Network/JetDirect I/O' (y=yes*, n=no, q=quit) ? y
Do you wish to enable 'Graphical User Interfaces (Qt5)' (y=yes*, n=no, q=quit) ? y
Do you wish to enable 'PC Send Fax support' (y=yes*, n=no, q=quit) ? n
Do you wish to enable 'Scanning support' (y=yes*, n=no, q=quit) ? n
Do you wish to enable 'HPLIP documentation (HTML)' (y=yes*, n=no, q=quit) ? y


ENTER ROOT/SUPERUSER PASSWORD
-----------------------------
Please enter the root/superuser password: 
 

SECURITY PACKAGES
-----------------
AppArmor is installed. 
AppArmor protects the application from external intrusion attempts making the application secure

Would you like to have this installer install the hplip specific policy/profile (y=yes*, n=no, q=quit) ?

Код: Выделить всё

ould you like to have this installer install the hplip specific policy/profile (y=yes*, n=no, q=quit) ? y


RUNNING PRE-INSTALL COMMANDS
----------------------------
OK


RUNNING HPLIP LIBS REMOVE COMMANDS
----------------------------------
None
OK


MISSING DEPENDENCIES
--------------------
Following dependencies are not installed. HPLIP will not work if all REQUIRED dependencies are not installed and some of the HPLIP features will not work if OPTIONAL dependencies are not installed.
Package-Name         Component            Required/Optional   
pyqt5-dbus           gui_qt5              OPTIONAL            
libcrypto            network              REQUIRED            
libnetsnmp-devel     network              REQUIRED            
gcc                  base                 REQUIRED            
pyqt4-dbus           gui_qt4              REQUIRED            
libpthread           base                 REQUIRED            
make                 base                 REQUIRED            
python-devel         base                 REQUIRED            
cups-devel           base                 REQUIRED            
pyqt5                gui_qt5              REQUIRED            
pyqt4                gui_qt4              REQUIRED            
libusb               base                 REQUIRED            
libtool              base                 REQUIRED            
cups-image           base                 REQUIRED            
python-notify        gui_qt5              OPTIONAL            
libjpeg              base                 REQUIRED            
avahi-utils          network              OPTIONAL            
Do you want to install these missing dependencies (y=yes*, n=no, q=quit) ? 

Аватара пользователя
bellic
Писатель
Сообщения: 379
Зарегистрирован: 02 сен 2022, 14:41
Откуда: Ростов-на-Дону
Контактная информация:

Установка драйверов для "HP Laser 107w"

Непрочитанное сообщение bellic » 12 сен 2023, 11:58

Код: Выделить всё

Do you want to install these missing dependencies (y=yes*, n=no, q=quit) ? y


INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: gcc (gcc - GNU Project C and C++ Compiler)
warning: This installer cannot install 'gcc' for your distro/OS and/or version.
error: Installation cannot continue without this dependency. Please manually install this dependency and re-run this installer.
OBLOM...(((

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

Установка драйверов для "HP Laser 107w"

Непрочитанное сообщение Olej » 12 сен 2023, 12:04

bellic писал(а):
12 сен 2023, 11:58
OBLOM...(((
Ого :!: :-o
bellic писал(а):
12 сен 2023, 11:58

Код: Выделить всё

warning: Missing REQUIRED dependency: gcc (gcc - GNU Project C and C++ Compiler)
warning: This installer cannot install 'gcc' for your distro/OS and/or version.
У ваших умельцев там в системе не установлено элементарного GCC :?:
Что можно делать в Linux вообще без GCC :?: :cry:

Ответить

Вернуться в «Железо для Linux»

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и 7 гостей