Αγαπητοί φίλοι, Μετά την αναβάθμιση του συστήματος μου από Ubuntu 18.04 σε Ubuntu 20.04 είχα προβλήματα δυσλειτουργίας με το Hplip που είχα ήδη εγκατεστημένο. Έβγαινε ένα μήνυμα ότι (αν θυμάμαι καλά) ότι δεν ήταν συμβατό με το system tray. Είχα προχωρήσει σε απεγκατάσταση του και προσπαθούσα να λειτουργήσω τους εκυπωτές μου (HP Officejet Pro 8100 και HP Laserjet P1005) με το foo2zjs. Ο Laserjet δούλεψε μια-δυο φορές και μετά δεν ξαναδούλεψε. Ο HP Officejet Pro 8100 άλλοτε δουλεύει και άλλοτε όχι. Αποφάσισα να εγκαταστήσω ξανά το Hplip. Σε κάθε προσπάθεια εγκατάστασης έχει πρόβλημα με τις εξαρτήσεις (dependancies).
Ψάχνοντας στο διαδίκτυο ανακάλυψα (αν το κατάλαβα σωστά) ότι το πρόβλημα βρίσκεται στην έκδοση Python. Μάλιστα βρήκα κάποιες λύσεις, που δεν μπόρεσα να τις καταλάβω καλά, όπου προτείνουν να αλλάξω τη χρησιμοποιούμενη έκδοση Python από το Ubuntu. Επειδή απ' ότι καταλαβαίνω πολλές εφαρμογές στηρίζονται στο Python για να τρέξουν, φοβάμαι να «σκαλίσω» κάτι στον υπολογιστή μου. Παραθέτω πιο κάτω το αποτέλεσμα μιας εντολής που λέει ποια έκδοση Python χρησιμοποιεί κάθε φορά ο υπολογιστής μου (μπορεί να μην το λέει αυτό και απλώς να το φαντάζομαι). kostas@kostas-MS-7551:/usr/bin$ ls -lrth python* lrwxrwxrwx 1 root root 9 Μαρ 13 2020 python3 -> python3.8 lrwxrwxrwx 1 root root 16 Μαρ 13 2020 python2-config -> python2.7-config lrwxrwxrwx 1 root root 9 Μαρ 13 2020 python2 -> python2.7 -rwxr-xr-x 1 root root 388 Μαρ 28 2020 python3-pasteurize -rwxr-xr-x 1 root root 384 Μαρ 28 2020 python3-futurize lrwxrwxrwx 1 root root 14 Απρ 15 2020 python-config -> python2-config lrwxrwxrwx 1 root root 7 Απρ 15 2020 python -> python2 lrwxrwxrwx 1 root root 33 Μαρ 8 15:02 python2.7-config -> x86_64-linux-gnu-python2.7-config -rwxr-xr-x 1 root root 3,6M Μαρ 8 15:02 python2.7 -rwxr-xr-x 1 root root 5,3M Ιουν 2 13:49 python3.8 kostas@kostas-MS-7551:/usr/bin$ Η ερώτηση που έχω είναι. Για να εγκαταστήσω το HPlip και να μην έχει πρόβλημα με τις εξαρτήσεις χρειάζεται να δώσω κάποιες εντολές έτσι που να αλλάξει το τρόπος διαχείρησης του Python? Πιο κάτω βάζω και το αποτέλεσμα της προσπάθειας εγκατάστασης του HPlip. kostas@kostas-MS-7551:~$ cd Downloads kostas@kostas-MS-7551:~/Downloads$ sh hplip-3.21.6.run Creating directory hplip-3.21.6 Verifying archive integrity... All good. Uncompressing HPLIP 3.21.6 Self Extracting Archive............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ HP Linux Imaging and Printing System (ver. 3.21.6) 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-18-Jul-2021_13:09:33.log \ note: Defaults for each question are maked with a '*'. Press <enter> to accept the default. 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) : a INTRODUCTION ------------ This installer will install HPLIP version 3.21.6 on your computer. Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc). DISTRO/OS CONFIRMATION ---------------------- Distro appears to be Ubuntu 20.04. Is "Ubuntu 20.04" your correct distro/OS and version (y=yes*, n=no, q=quit) ? y Initializing. Please wait... ENTER USER PASSWORD ------------------- Please enter the sudoer (kostas)'s password: INSTALLATION NOTES ------------------ Enable the universe/multiverse repositories. Also be sure you are using the Ubuntu "Main" Repositories. See: https://help.ubuntu.com/community/Repositories/Ubuntu for more information. Disable the CD-ROM/DVD source if you do not have the Ubuntu installation media inserted in the drive. Please read the installation notes. Press <enter> to continue or 'q' to quit: 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) ? y RUNNING PRE-INSTALL COMMANDS ---------------------------- OK RUNNING HPLIP LIBS REMOVE COMMANDS ---------------------------------- sudo apt-get remove libhpmud0 libsane-hpaio printer-driver-postscript-hp sudo apt-get remove libhpmud0 libsane-hpaio printer-driver-postscript-hp ( hp_libs_remove step 1) 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 reportlab fax OPTIONAL pyqt5 gui_qt5 REQUIRED python-notify gui_qt5 OPTIONAL 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: pyqt5 (PyQt 5- Qt interface for Python (for Qt version 4.x)) INSTALL MISSING OPTIONAL DEPENDENCIES ------------------------------------- note: Installation of dependencies requires an active internet connection. warning: Missing OPTIONAL dependency for option 'gui_qt5': pyqt5-dbus (PyQt 5 DBus - DBus Support for PyQt5) warning: Missing OPTIONAL dependency for option 'gui_qt5': python-notify (Python libnotify - Python bindings for the libnotify Desktop notifications) warning: Missing OPTIONAL dependency for option 'fax': reportlab (Reportlab - PDF library for Python) CHECKING FOR NETWORK CONNECTION ------------------------------- Network connection present. RUNNING PRE-PACKAGE COMMANDS ---------------------------- sudo dpkg --configure -a (Pre-depend step 1) sudo apt-get install --yes --force-yes -f (Pre-depend step 2) sudo apt-get update (Pre-depend step 3) OK DEPENDENCY AND CONFLICT RESOLUTION ---------------------------------- Running 'sudo apt-get install --assume-yes gtk2-engines-pixbuf' Please wait, this may take several minutes... Running 'sudo apt-get install --assume-yes python-pyqt5' Please wait, this may take several minutes... error: Command failed. Re-try #1... Running 'sudo apt-get install --assume-yes python-pyqt5' Please wait, this may take several minutes... error: Command failed. Re-try #2... Running 'sudo apt-get install --assume-yes python-pyqt5' Please wait, this may take several minutes... error: Command failed. Re-try #3... Running 'sudo apt-get install --assume-yes python-pyqt5' Please wait, this may take several minutes... error: Package install command failed with error code 100 Would you like to retry installing the missing package(s) (y=yes*, n=no, q=quit) ? q kostas@kostas-MS-7551:~/Downloads$ Δεκτή κάθε άλλη εισήγηση, πχ εγκατάσταση παλαιότερης έκδοσης HPlip (ποια ακριβώς και που τη βρίσκω) ή τρόπο λειτουργίας των εκτυπωτών με άλλο πρόγραμμα. Σας ευχαριστώ πάρα πολύ για την υπομονή σας και το ενδιαφέρον σας να φτάσετε στο τέλος αυτού του μακροσκελέστατου μηνύματος και για το χρόνο που αφιερώνεται. Φιλικά Κώστας Οικονόμου -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.ubuntu.com/archives/ubuntu-gr/attachments/20210718/53eba5fd/attachment.html> -- Ubuntu-gr mailing list Ubuntu-gr@lists.ubuntu.com If you do not want to receive any more messages from the ubuntu-gr mailing list, please follow this link and choose unsubscribe: https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr