Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-05-2023, 08:44 AM
|
#1
|
Member
Registered: May 2023
Location: Italy
Posts: 157
Rep:
|
HP laserjet MFP M140we Installation problems
I'm trying to install HP laserjet MFP M140we.
Already downloaded hplip-3.23.5.run and runned.
Some dependencies were missing, i installed some, but dunno how to with the last i need.
ISSING 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
sane-devel scan REQUIRED
libavahi-dev scan REQUIRED
dbus fax REQUIRED
python3-pyqt4-dbus gui_qt4 OPTIONAL
python3-pyqt4 gui_qt4 REQUIRED
python3-pyqt5-dbus gui_qt5 OPTIONAL
python3-pyqt5 gui_qt5 REQUIRED
python3-devel base REQUIRED
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: python3-devel (Python devel - Python development files)
warning: Missing REQUIRED dependency: python3-pyqt4 (PyQt 4- Qt interface for Python (for Qt version 4.x))
warning: This installer cannot install 'python3-pyqt4' for your distro/OS and/or version.
error: Installation cannot continue without this dependency. Please manually install this dependency and re-run this installer.
root@:~# sudo apt-get install python3-devel.x86_64
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package python3-devel.x86_64
E: Couldn't find any package by glob 'python3-devel.x86_64'
E: Couldn't find any package by regex 'python3-devel.x86_64'
root@:~# apt install python3-pyqt5
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-pyqt5 is already the newest version (5.15.6+dfsg-1ubuntu3).
The following packages were automatically installed and are no longer required:
netfilter-persistent python3-dbus.mainloop.pyqt5 python3-notify2
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I really need to resolve. Any help?
Last edited by onebuck; 07-05-2023 at 01:39 PM.
Reason: descriptive title
|
|
|
07-05-2023, 08:50 AM
|
#2
|
Senior Member
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,920
|
Read these:
https://www.linuxquestions.org/questions/faq.php?faq=welcome
http://www.catb.org/~esr/faqs/smart-questions.html#bespecific
Specifically:
Quote:
Originally Posted by https://www.linuxquestions.org/questions/faq.php?faq=welcome
Using a descriptive title will vastly increase the number of members who see your thread, and therefore make a response significantly more likely.
|
Quote:
Originally Posted by http://www.catb.org/~esr/faqs/smart-questions.html#bespecific
Don't waste it on babble like “Please help me” (let alone “PLEASE HELP ME!!!!”; messages with subjects like that get discarded by reflex).
|
Then use the edit functionality on your post to both correct the title, and to use "[code]..[/code]" tags to preserve formatting and readability.
|
|
|
07-05-2023, 08:54 AM
|
#3
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,274
|
Code:
sudo apt-get install python3-devel.x86_64
you don't need to add x86_64, so try:
Code:
apt-get install python3-devel
otherwise see post #2
|
|
|
07-05-2023, 09:02 AM
|
#4
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,268
|
A further problem is that this version of hplip absolutely requires an older version of python3-pyqt than the one on your system. You don't say which distro in the Debian family you are using, but I believe that Debian and its derivatives do have a version of hplip in their repos which should be more compatible with your system, and apt will ensure that its dependencies are met too. Did you get this installation script directly from the HP site?
It is possible to downgrade a package using apt (see for example https://askubuntu.com/questions/1382...ge-via-apt-get) but it is tricky and I certainly wouldn't recommend it for a newbie.
Last edited by hazel; 07-05-2023 at 09:04 AM.
|
|
|
07-05-2023, 09:21 AM
|
#5
|
Member
Registered: May 2023
Location: Italy
Posts: 157
Original Poster
Rep:
|
Quote:
Originally Posted by pan64
Code:
sudo apt-get install python3-devel.x86_64
you don't need to add x86_64, so try:
Code:
apt-get install python3-devel
otherwise see post #2
|
Hello. and thanks.
root@ILove80:/# sudo apt-get install python3-devel.x86_64
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package python3-devel.x86_64
E: Couldn't find any package by glob 'python3-devel.x86_64'
E: Couldn't find any package by regex 'python3-devel.x86_64'
root@ILove80:/# apt-get install python3-devel
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package python3-devel
root@ILove80:/#
|
|
|
07-05-2023, 09:22 AM
|
#6
|
Member
Registered: May 2023
Location: Italy
Posts: 157
Original Poster
Rep:
|
Quote:
Originally Posted by hazel
A further problem is that this version of hplip absolutely requires an older version of python3-pyqt than the one on your system. You don't say which distro in the Debian family you are using, but I believe that Debian and its derivatives do have a version of hplip in their repos which should be more compatible with your system, and apt will ensure that its dependencies are met too. Did you get this installation script directly from the HP site?
It is possible to downgrade a package using apt (see for example https://askubuntu.com/questions/1382...ge-via-apt-get) but it is tricky and I certainly wouldn't recommend it for a newbie.
|
HELLO, i'm using the last Mint version.Yes, HP. redirected to another site, then i downloaded.
To downgrade, i need to know what version is neede ;(
sudo apt-get -t=<target release> install <package-name>
is the command to be run. This can be used to down-grade a package to a specific version.
Last edited by maddy0; 07-05-2023 at 09:43 AM.
|
|
|
07-05-2023, 09:23 AM
|
#7
|
Member
Registered: May 2023
Location: Italy
Posts: 157
Original Poster
Rep:
|
Missing
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
sane-devel scan REQUIRED
python3-pyqt4-dbus gui_qt4 OPTIONAL
python3-pyqt4 gui_qt4 REQUIRED
python3-pyqt5-dbus gui_qt5 OPTIONAL
python3-pyqt5 gui_qt5 REQUIRED
|
|
|
07-05-2023, 11:38 AM
|
#8
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,268
|
Well, there you are then! It absolutely requires python3-pyqt4. And you have python3-pyqt5.
|
|
|
07-05-2023, 01:31 PM
|
#9
|
Member
Registered: May 2023
Location: Italy
Posts: 157
Original Poster
Rep:
|
Quote:
Originally Posted by hazel
Well, there you are then! It absolutely requires python3-pyqt4. And you have python3-pyqt5.
|
python3-pyqt5 gui_qt5 is also REQUIRED
|
|
|
07-06-2023, 12:19 AM
|
#10
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,274
|
Quote:
Originally Posted by maddy0
python3-pyqt5 gui_qt5 is also REQUIRED
|
And? did you [try to] install them?
|
|
|
All times are GMT -5. The time now is 04:46 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|