פורסם: 19/08/2018 - 09:53
נושא ההודעה: בעיה בהתקנת מדפסת HP
|
אני מנסה להתקין מדפסת HP Laserjet 4200 במערכת ארץ'.
מבין שצריך להתקין את חבילת CUPS - דרך אגב: צריך גם להתקין את HPLIP? -
הבעיה כרגע שאחת התוכנות מתוך CUPS מודיעה על שגיאה:
קוד: | error: failed retrieving file 'libmagick-7.0.8.8-2-x86_64.pkg.tar.xz' from mirror.isoc.org.il : The requested URL returned error: 404
error: failed retrieving file 'libmagick-7.0.8.8-2-x86_64.pkg.tar.xz' from archlinux.cu.be : The requested URL returned error: 404
error: failed retrieving file 'libmagick-7.0.8.8-2-x86_64.pkg.tar.xz' from mirror.metalgamer.eu : The requested URL returned error: 404
|
האם מדובר בבעיה זמנית שאמורה להפתר וכדאי לנסות יותר מאוחר, או שיש כאן בעיה אחרת?
|
|
חזרה לתוכן הדיון |
פורסם: 19/08/2018 - 10:15
נושא ההודעה:
|
אתה צריך לעשות apt-get update בשביל לרענן את החבילות.
ואם מדובר על מדפסת HP תבדוק שהתקנת עידכון גירסה בגלל ה
https://support.hp.com/us-en/document/c06097712
|
|
חזרה לתוכן הדיון |
פורסם: 19/08/2018 - 10:22
נושא ההודעה:
|
אתה צריך לעדכן את רשימת החבילות כי הוא מנסה להתקין גרסה ישנה של libmagick שכבר לא קיימת במאגרים. תריץ sudo pacman -Sy ואז נסה להתקין שוב.
|
|
חזרה לתוכן הדיון |
פורסם: 19/08/2018 - 10:50
נושא ההודעה:
|
ציטוט: | אתה צריך לעדכן את רשימת החבילות כי הוא מנסה להתקין גרסה ישנה של libmagick שכבר לא קיימת במאגרים. תריץ sudo pacman -Sy ואז נסה להתקין שוב. |
עדכנתי ואכן ההתקנה עברה. האם מספיק להתקין את CUPS או צריך גם HPLIP? מדובר במדפסת רשת.
שאלה כללית לגבי התקנות: מותקן אצלי גם yay עבור חבילות AUR. אני מעדכן את כל המערכת עם פקודת yay -Syu - האם חבילה רגילה כמו CUPS (לא AUR) צריך להתקין עם pacman או עם yay? התקנתי עם pacman.
לא רואה שם את המדפסת הנל - מקווה שלא רלוונטי לגביי..
תודה
|
|
חזרה לתוכן הדיון |
פורסם: 19/08/2018 - 13:26
נושא ההודעה:
|
התקנתי גם את cups וגם את hplip וגם את hplip-plugin AUR אבל לא מצליח להפעיל את HP בשולחן העבודה ונראה שמשהו עדיין חסר. להלן פלט הבדיקה (קצת ארוך..) שמראה מה חסר - האם צריך להתקין את כל מה שרשום required > missing? צריך גם למצוא איך החבילות נקראות בדיוק..
קוד: | $ sudo hp-check -t
Saving output in log file: /home/mgarch_i3/hp-check.log
HP Linux Imaging and Printing System (ver. 3.18.7)
Dependency/Version Check Utility ver. 15.1
Copyright (c) 2001-15 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.
Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball has the proper dependencies installed to successfully
run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time dependencies).
Check types:
a. EXTERNALDEP - External Dependencies
b. GENERALDEP - General Dependencies (required both at compile and run time)
c. COMPILEDEP - Compile time Dependencies
d. [All are run-time checks]
PYEXT SCANCONF QUEUES PERMISSION
Status Types:
OK
MISSING - Missing Dependency or Permission or Plug-in
INCOMPAT - Incompatible dependency-version or Plugin-version
warning: 0- version is not supported. Using 0-0 versions dependencies to verify and install...
---------------
| SYSTEM INFO |
---------------
Kernel: 4.14.63-1-lts #1 SMP Wed Aug 15 19:47:55 CEST 2018 GNU/Linux
Host: arch_i3_host
Proc: 4.14.63-1-lts #1 SMP Wed Aug 15 19:47:55 CEST 2018 GNU/Linux
Distribution: 0
Bitness: 64 bit
-----------------------
| HPLIP CONFIGURATION |
-----------------------
HPLIP-Version: HPLIP 3.18.7
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 0 distro version
Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.18.7
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.18.7
html=/usr/share/doc/hplip-3.18.7
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.18.7
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no
class-driver=no
Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1
version = 3.18.7
Current contents of '~/.hplip/hplip.conf' file:
warning: Could not access file: No such file or directory
<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
-------------------------
| External Dependencies |
-------------------------
cups CUPS - Common Unix Printing System REQUIRED 1.1 2.2.8 OK 'CUPS Scheduler is running'
gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.23 OK -
error: xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 - MISSING 'xsane needs to be installed'
scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.27 OK -
dbus DBus - Message bus system REQUIRED - 1.12.10 OK -
policykit PolicyKit - Administrative policy framework OPTIONAL - 0.114 OK -
error: network network -wget OPTIONAL - - MISSING 'network needs to be installed'
avahi-utils avahi-utils OPTIONAL - 0.7 OK -
------------------------
| General Dependencies |
------------------------
libjpeg libjpeg - JPEG library REQUIRED - - OK -
cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.2.8 OK -
cups-image CUPS image - CUPS image development files REQUIRED - 2.2.8 OK -
libpthread libpthread - POSIX threads library REQUIRED - b'2.28' OK -
libusb libusb - USB library REQUIRED - 1.0 OK -
sane SANE - Scanning library REQUIRED - 1.0.27 OK -
sane-devel SANE - Scanning library development files REQUIRED - 1.0.27 OK -
libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.7.3 OK -
libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.0 OK -
python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.7.0 OK -
error: python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - MISSING 'python3-notify2 needs to be installed'
error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 - MISSING 'python3-pyqt4-dbus needs to be installed'
error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 - MISSING 'python3-pyqt4 needs to be installed'
python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.8 OK -
python3-xml Python XML libraries REQUIRED - 2.2.5 OK -
python3-devel Python devel - Python development files REQUIRED 2.2 3.7.0 OK -
error: python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - - MISSING 'python3-pil needs to be installed'
error: python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 - MISSING 'python3-reportlab needs to be installed'
--------------
| COMPILEDEP |
--------------
libtool libtool - Library building support services REQUIRED - 2.4.6 OK -
gcc gcc - GNU Project C and C++ Compiler REQUIRED - 8.2.0 OK -
make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.2.1 OK -
---------------------
| Python Extentions |
---------------------
cupsext CUPS-Extension REQUIRED - 3.18.7 OK -
hpmudext IO-Extension REQUIRED - 3.18.7 OK -
----------------------
| Scan Configuration |
----------------------
hpaio HPLIP-SANE-Backend REQUIRED - 3.18.7 OK 'hpaio found in /etc/sane.d/dll.conf'
scanext Scan-SANE-Extension REQUIRED - 3.18.7 OK -
------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------
No Scanner found.
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
No devices found.
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
hp_LaserJet_4200
----------------
Type: Printer
Device URI: hp:/net/hp_LaserJet_4200?ip=192.168.1.3
PPD: /etc/cups/ppd/hp_LaserJet_4200.ppd
PPD Description: HP LaserJet 4200 Series Postscript (recommended)
Printer reason unknownr hp_LaserJet_4200 disabled since IDT 12:19:16 2018 אוג 19 א' -
error: Unable to communicate with device (code=12): hp:/net/hp_LaserJet_4200?ip=192.168.1.3
error: unable to open channel
error: Communication status: Failed
--------------
| PERMISSION |
--------------
-----------
| SUMMARY |
-----------
Missing Required Dependencies
-----------------------------
None
Missing Optional Dependencies
-----------------------------
None
Total Errors: 8
Total Warnings: 1
Done.
|
|
|
חזרה לתוכן הדיון |
פורסם: 20/08/2018 - 12:36
נושא ההודעה:
|
ניסיתי להסיר את כל ההתקנות שקשורות למדפסת: hplip-plugin AUR , hplip , cups, והתקנתי מחדש (ללא hplip-plugin AUR - נראה שאין לי צורך בזה) ואתחלתי את השירות:
קוד: | $ sudo systemctl restart org.cups.cupsd.service |
ושוב הרצתי את פקודת ההתקנה מהטרמינל: hp-setup -i וכעת שמתי לב לשגיאה:
קוד: | warning: GUI Modules PyQt4 and PyQt5 are not installed
|
אז התקנתי את python-pyqt5 וכעת HP Device Manager בשולחן העבודה עובד והתקנתי את המדפסת עם ה GUI הזה ונראה שהכל עובד.
|
|
חזרה לתוכן הדיון |
פורסם: 20/08/2018 - 14:48
נושא ההודעה:
|
Anonymous : | ניסיתי להסיר את כל ההתקנות שקשורות למדפסת: hplip-plugin AUR , hplip , cups, והתקנתי מחדש (ללא hplip-plugin AUR - נראה שאין לי צורך בזה) ואתחלתי את השירות:
קוד: | $ sudo systemctl restart org.cups.cupsd.service |
ושוב הרצתי את פקודת ההתקנה מהטרמינל: hp-setup -i וכעת שמתי לב לשגיאה:
קוד: | warning: GUI Modules PyQt4 and PyQt5 are not installed
|
אז התקנתי את python-pyqt5 וכעת HP Device Manager בשולחן העבודה עובד והתקנתי את המדפסת עם ה GUI הזה ונראה שהכל עובד. |
נשמע ממש נורא
גם אני ממש סבלתי ועדיין סובל לפעמים מהעבודה עם המדפסות בלינוקס :/
|
|
חזרה לתוכן הדיון |
פורסם: 20/08/2018 - 14:51
נושא ההודעה:
|
אני לא מכיר את המדפסת הזו, נסה לחפש אם יש הוראות מדויקות או אפילו חבילה. לכל המדפסות שהיו לי (לא HP ברוך ה׳) היו חבילות מוכנות שהתקינו הכול.
לשאלתך, yay הוא מעטפת ל-pacman שיודע לעבוד גם מול AUR והוא תומך בכל הפקודות של pacman, אתה לא צריך לעבוד ישירות מול פקמן.
|
|
חזרה לתוכן הדיון |
פורסם: 20/08/2018 - 14:57
נושא ההודעה:
|
נראה שלא היית מספיק ברור (או מתלהב..) אבל התכוונתי שלאחר מה שתארתי בפוסט הקודם (התקנת python-pyqt5 ), הצלחתי להתקין את המדפסת והכל עובד יפה. ולהלן ההתרגשות שלי
מהיום אתקין את כל החבילות - גם הרגילות וגם AUR - עם yay
תודה לכולם
|
|
חזרה לתוכן הדיון |
פורסם: 20/08/2018 - 16:53
נושא ההודעה:
|
הצלחת לשדרג את הfirmware של המדפסת דרך זה ?
|
|
חזרה לתוכן הדיון |
פורסם: 20/08/2018 - 17:22
נושא ההודעה:
|
ציטוט: | הצלחת לשדרג את הfirmware של המדפסת דרך זה ? |
אם הכוונה שלך ל PPD אז במהלך ההתקנה היה זיהוי אוטומטי שמדובר על PPD עבור HP4200 והתבקשתי לאשר וזיהו. בניסיון שצלח הכל נעשה דרך ה GUI (ולא הטרמינל), עם התוכנה שמותקנת עם HPLIP שנקראת: HP DEVICE MANAGER
|
|
חזרה לתוכן הדיון |
פורסם: 21/08/2018 - 09:35
נושא ההודעה:
|
Anonymous : | ציטוט: | הצלחת לשדרג את הfirmware של המדפסת דרך זה ? |
אם הכוונה שלך ל PPD אז במהלך ההתקנה היה זיהוי אוטומטי שמדובר על PPD עבור HP4200 והתבקשתי לאשר וזיהו. בניסיון שצלח הכל נעשה דרך ה GUI (ולא הטרמינל), עם התוכנה שמותקנת עם HPLIP שנקראת: HP DEVICE MANAGER |
לא , אני מדבר על זה https://support.hp.com/us-en/document/c06097712
|
|
חזרה לתוכן הדיון |
פורסם: 21/08/2018 - 10:24
נושא ההודעה:
|
היתה לי תחושה שלא עניתי לשאלתך.. המדפסת שלי HP Laserjet 4200 ואינה מופיעה ברשימת המדפסות שבקישור הנל - יתכן עקב היותה ישנה למדי.. אבל כן מצאתי התיחסות בקישור הבא:
https://support.hp.com/us-en/document/c02004333
לא מכיר את הנושא הזה אבל אם אני מבין נכון מדובר על פרצת אבטחה -
סהכ המדפסת עובדת יפה אבל השאלה אם אכן יש כאן סכנה ממשית.
לא כל כך ברור לי מה אמור לעשות אבל אני רואה אפשרות יחסית פשוטה בקישור הנל - זה מה שצריך לעשות?
ציטוט: | RESOLUTION
Files within the printer can be accessed using the Printer Job Language (PJL) interface to exploit a directory traversal vulnerability. The vulnerability can be avoided by either one of the following actions:
Disable file system access via the PJL interface.
Set a PJL password.
|
תודה
|
|
חזרה לתוכן הדיון |
|