[SOLVED] Raspbian (Debian 11) sources testing of HPLIP not identified therefore not upgraded from testing
DebianThis forum is for the discussion of Debian 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.
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.
sudo dpkg -i hplip_3.22.10+dfsg0-1_armhf.deb
(Reading database ... 88458 files and directories currently installed.)
Preparing to unpack hplip_3.22.10+dfsg0-1_armhf.deb ...
Unpacking hplip (3.22.10+dfsg0-1) over (3.21.2+dfsg1-2+b1) ...
dpkg: dependency problems prevent configuration of hplip:
hplip depends on hplip-data (= 3.22.10+dfsg0-1); however:
Version of hplip-data on system is 3.21.2+dfsg1-2.
hplip depends on libhpmud0 (= 3.22.10+dfsg0-1); however:
Version of libhpmud0:armhf on system is 3.21.2+dfsg1-2+b1.
hplip depends on libsane-hpaio (= 3.22.10+dfsg0-1); however:
Version of libsane-hpaio:armhf on system is 3.21.2+dfsg1-2+b1.
hplip depends on printer-driver-hpcups (= 3.22.10+dfsg0-1); however:
Version of printer-driver-hpcups on system is 3.21.2+dfsg1-2+b1.
hplip depends on python3 (>= 3.11~); however:
Version of python3 on system is 3.9.2-3.
hplip depends on libc6 (>= 2.34); however:
Version of libc6:armhf on system is 2.31-13+rpt2+rpi1+deb11u5.
hplip depends on libpython3.11 (>= 3.11.0); however:
Package libpython3.11 is not installed.
dpkg: error processing package hplip (--install):
dependency problems - leaving unconfigured
Processing triggers for dbus (1.12.24-0+deb11u1) ...
Processing triggers for man-db (2.9.4-2) ...
Errors were encountered while processing:
hplip
looks better. Must I install all that packages manually or is there any automatic possibility? (since sources is not identified, I suppose not).
"Automatic" with a script covering all packages is an option as plan B.
Last edited by floppy_stuttgart; 02-11-2023 at 02:40 AM.
Progressing. Few errors appearing. I have to look at the reason and the severity before I further install.
Code:
sudo mk-build-deps --install --remove
dpkg-buildpackage: info: source package hplip-build-deps
dpkg-buildpackage: info: source version 3.22.10+dfsg0-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Equivs Dummy Package Generator <root@raspberrypi>
dpkg-buildpackage: info: host architecture armhf
dpkg-source --before-build .
debian/rules clean
dh clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
create-stamp debian/debhelper-build-stamp
dh_prep
dh_install
dh_installdocs
dh_installchangelogs
dh_perl
dh_link
dh_strip_nondeterminism
dh_compress
dh_fixperms
dh_missing
dh_dwz
dh_strip
dh_makeshlibs
dh_shlibdeps
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package 'hplip-build-deps' in '../hplip-build-deps_3.22.10+dfsg0-1_armhf.deb'.
dpkg-genbuildinfo --build=binary
dpkg-genchanges --build=binary >../hplip-build-deps_3.22.10+dfsg0-1_armhf.changes
dpkg-genchanges: info: binary-only upload (no source code included)
dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)
The package has been created.
Attention, the package has been created in the current directory,
not in ".." as indicated by the message above!
(Reading database ... 89287 files and directories currently installed.)
Preparing to unpack hplip-build-deps_3.22.10+dfsg0-1_armhf.deb ...
Unpacking hplip-build-deps (3.22.10+dfsg0-1) over (3.22.10+dfsg0-1) ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following packages were automatically installed and are no longer required:
python3-pexpect python3-ptyprocess python3-renderpm python3-reportlab python3-reportlab-accel
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up hplip-build-deps (3.22.10+dfsg0-1) ...
Code:
fakeroot debian/rules binary
..
../share/hplip/uninstall.py
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
../share/hplip/unload.py
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
error: This functionality is not spported in python3 environment.
How come you need the sources? Isn't the tried & tested package good enough for you?
I got the sources because I was reading (anywhere) it would be better to download the source locally then install the requested package only in order to avoid screwing the whole system up.
However, since I am not so successful till now, I am ready to make it different.
What would be your suggestion for installing the latest hplip from testing?
First delete the "-src" from "deb-src" in sources.list and upgrade the whole system to testing?
Why not.
You could download the source, compile it against existing versions and install it.
With debian, however, package management is a labour saving godsend, but also a straitjacket. It depends on how you look at it. Right now, it's a straitjacket, because you could compile & install hplip, but apt wouldn't know it was there. I did that as a newbie and found installs doing unbelievable things within 2 years.
Maybe some debian head knows how to make a package from a non-kosher source code install?
fakeroot debian/rules binary
..
../share/hplip/uninstall.py
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
../share/hplip/unload.py
ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
error: This functionality is not spported in python3 environment.
Hmm, not sure what is going one here. Can you try using dpkg-buildpackage instead? It sets various environment variables and things before trying to build the "binary" target. Eg
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.