LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 07-05-2023, 08:44 AM   #1
maddy0
Member
 
Registered: May 2023
Location: Italy
Posts: 157

Rep: Reputation: 3
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
 
Old 07-05-2023, 08:50 AM   #2
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,920

Rep: Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785

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.

 
Old 07-05-2023, 08:54 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,274

Rep: Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966
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
 
Old 07-05-2023, 09:02 AM   #4
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,268
Blog Entries: 21

Rep: Reputation: 4787Reputation: 4787Reputation: 4787Reputation: 4787Reputation: 4787Reputation: 4787Reputation: 4787Reputation: 4787Reputation: 4787Reputation: 4787Reputation: 4787
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.
 
Old 07-05-2023, 09:21 AM   #5
maddy0
Member
 
Registered: May 2023
Location: Italy
Posts: 157

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by pan64 View Post
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:/#
 
Old 07-05-2023, 09:22 AM   #6
maddy0
Member
 
Registered: May 2023
Location: Italy
Posts: 157

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by hazel View Post
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.
 
Old 07-05-2023, 09:23 AM   #7
maddy0
Member
 
Registered: May 2023
Location: Italy
Posts: 157

Original Poster
Rep: Reputation: 3
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
 
Old 07-05-2023, 11:38 AM   #8
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,268
Blog Entries: 21

Rep: Reputation: 4787Reputation: 4787Reputation: 4787Reputation: 4787Reputation: 4787Reputation: 4787Reputation: 4787Reputation: 4787Reputation: 4787Reputation: 4787Reputation: 4787
Well, there you are then! It absolutely requires python3-pyqt4. And you have python3-pyqt5.
 
Old 07-05-2023, 01:31 PM   #9
maddy0
Member
 
Registered: May 2023
Location: Italy
Posts: 157

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by hazel View Post
Well, there you are then! It absolutely requires python3-pyqt4. And you have python3-pyqt5.
python3-pyqt5 gui_qt5 is also REQUIRED
 
Old 07-06-2023, 12:19 AM   #10
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,274

Rep: Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966
Quote:
Originally Posted by maddy0 View Post
python3-pyqt5 gui_qt5 is also REQUIRED
And? did you [try to] install them?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help :(install sudo apt-get install synaptic problem help me dear :( help me help me zeeshanayub Linux - Newbie 3 10-21-2014 07:02 PM
Help, help help help help drknownothing Linux - Networking 2 10-24-2004 03:05 AM
help, help, help, help, help....cmi8738 will not work... AMArt79196 Red Hat 2 07-05-2004 06:13 PM
Help Help Help, eh.. Help. Pwcca Slackware 7 02-26-2003 11:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration