Код: Выделить всё
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_Sun-10-Sep-2023_13:48:26.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*):
Тут я не упомянул, что при попытке запустить скрипт с SUDO попросило запустить из под простого юзера...