LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-11-2023, 02:23 AM   #16
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,153

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107

First I found out the system did not like the armel but armhf.

then retrieving seems possible now
Code:
wget http://ftp.de.debian.org/debian/pool...g0-1_armhf.deb
--2023-02-11 09:32:29--  http://ftp.de.debian.org/debian/pool...g0-1_armhf.deb
Resolving ftp.de.debian.org (ftp.de.debian.org)... 141.76.2.4
Connecting to ftp.de.debian.org (ftp.de.debian.org)|141.76.2.4|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 201372 (197K) [application/vnd.debian.binary-package]
Saving to: ‘hplip_3.22.10+dfsg0-1_armhf.deb’

hplip_3.22.10+dfsg0-1_armhf.deb    100%[=============================================================>] 196.65K   889KB/s    in 0.2s    

2023-02-11 09:32:29 (889 KB/s) - ‘hplip_3.22.10+dfsg0-1_armhf.deb’ saved [201372/201372]

then
Code:
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.
 
Old 02-11-2023, 04:02 PM   #17
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,153

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
News.. something changed. I will further work now.

Code:
sudo apt source hplip/testing 
Reading package lists... Done
Selected version '3.22.10+dfsg0-1' (testing) for hplip
NOTICE: 'hplip' packaging is maintained in the 'Git' version control system at:
https://salsa.debian.org/printing-team/hplip.v2.git
Please use:
git clone https://salsa.debian.org/printing-team/hplip.v2.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 9,460 kB of source archives.
Get:1 https://deb.debian.org/debian testing/main hplip 3.22.10+dfsg0-1 (dsc) [3,212 B]
Get:2 https://deb.debian.org/debian testing/main hplip 3.22.10+dfsg0-1 (tar) [9,317 kB]
Get:3 https://deb.debian.org/debian testing/main hplip 3.22.10+dfsg0-1 (diff) [140 kB]                                                  
Fetched 9,460 kB in 11s (864 kB/s)                                                                                                      
dpkg-source: info: extracting hplip in hplip-3.22.10+dfsg0
dpkg-source: info: unpacking hplip_3.22.10+dfsg0.orig.tar.xz
dpkg-source: info: unpacking hplip_3.22.10+dfsg0-1.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying 0001-models.dat-Fix-scanning-with-M281fdw-LaserJet.patch
dpkg-source: info: applying 0002-models.dat-Correct-entry-for-the-HP-PhotoSmart-Pro-B.patch
dpkg-source: info: applying 0003-models.dat-Re-add-drivers-missing-from-3.19.1.patch
dpkg-source: info: applying 0004-models.dat-3.20.6-regression-take-3.20.5-s-plugin-1-.patch
dpkg-source: info: applying 0005-Cope-with-prnt-hpcups-ErnieFilter.-cpp-h-removal-by-.patch
dpkg-source: info: applying 0006-Blank-ink-only-patch-by-Richard-Spencer-Smith.patch
dpkg-source: info: applying 0007-Fix-missing-charsign.patch
dpkg-source: info: applying 0008-Fixed-short-edge-duplex-for-non-PS-laser-printers.patch
dpkg-source: info: applying 0009-Make-simple-scan-the-default-scanning-frontend.patch
dpkg-source: info: applying 0010-Try-libhpmud.so.0-directly.patch
dpkg-source: info: applying 0011-For-the-Lidil-printers-enable-two-cartridge-modes-bl.patch
dpkg-source: info: applying 0012-Treat-logging-before-importing-of-logger-module.patch
dpkg-source: info: applying 0013-Simplified-the-construction-of-the-title-line-of-the.patch
dpkg-source: info: applying 0014-Make-the-menu-of-the-hp-systray-applet-appearing-whe.patch
dpkg-source: info: applying 0015-Fix-duplex-descriptor-uninitialized.patch
dpkg-source: info: applying 0016-Make-sure-that-the-HPLIP-components-which-access-the.patch
dpkg-source: info: applying 0017-Workaround-patch-for-missing-Python3-transition-of-t.patch
dpkg-source: info: applying 0018-Allow-non-JPEG-scanning-on-the-HP-DeskJet-3520-All-i.patch
dpkg-source: info: applying 0019-Fix-download-and-installation-of-HP-s-proprietary-pl.patch
dpkg-source: info: applying 0020-In-hp-scan-s-manpage-sort-PAGE_SIZES-in-help-for-the.patch
dpkg-source: info: applying 0021-Install-check-plugin.py-as-a-script.patch
dpkg-source: info: applying 0022-LaserJet-PostScript-4000-PPD-bugfix.patch
dpkg-source: info: applying 0023-Patch-UI-files-to-match-upstream-produced-.py-code.patch
dpkg-source: info: applying 0024-Add-include-cups-ppd.h-in-various-places-as-CUPS-2.2.patch
dpkg-source: info: applying 0025-Fix-list-wrapping-in-scan.py-to-fix-generated-manpag.patch
dpkg-source: info: applying 0026-Fix-handling-of-unicode-filenames-in-sixext.py.patch
dpkg-source: info: applying 0027-Make-dat2drv-and-locateppd-build-dependent-of-class-.patch
dpkg-source: info: applying 0028-Remove-ImageProcessor-binary-installs.patch
dpkg-source: info: applying 0029-Call-QMessageBox-constructors-of-PyQT5-with-the-corr.patch
dpkg-source: info: applying 0030-Fixed-incomplete-removal-of-hp-toolbox-features-whic.patch
dpkg-source: info: applying 0031-hp-check-Fix-core.distro-vs.-core.distro_name-mixups.patch
dpkg-source: info: applying 0032-Make-base.g.xint-more-generous-in-what-it-can-take.patch
dpkg-source: info: applying 0033-Fix-linking-of-libhpipp-and-the-ext-python-extension.patch
dpkg-source: info: applying 0034-Fix-some-typos-in-BUG-and-DBG-messages.patch
dpkg-source: info: applying 0035-Fix-version-pattern-check-to-support-ghostscript-RC-.patch
dpkg-source: info: applying 0036-Don-t-gpg-import-but-rely-on-installed-signing_key.a.patch
dpkg-source: info: applying 0037-Shortcut-distros.dat-finding-to-point-to-where-it-is.patch
dpkg-source: info: applying 0038-Accelerate-HTTP-check-by-doing-a-HEAD-not-a-GET.patch
dpkg-source: info: applying 0039-Enforce-Debian-assumptions.patch
dpkg-source: info: applying 0040-Removed-all-page-size-choices-named-Custom-.-they-br.patch
dpkg-source: info: applying 0041-PY3-Fix-dat2drv.py.patch
dpkg-source: info: applying 0042-Replace-rubbish-pstotiff-filter.patch
dpkg-source: info: applying 0043-Fix-strstr-const.patch
dpkg-source: info: applying 0044-Added-several-IEEE-1284-Device-IDs.patch
dpkg-source: info: applying 0045-Retry-when-connecting-to-device-fails.patch
dpkg-source: info: applying 0046-Mark-SNMP-quirks-for-two-lying-devices.patch
dpkg-source: info: applying 0047-Fix-bogus-low-ink-warning-from-hpijs-driver.patch
dpkg-source: info: applying 0048-Clear-old-state-reasons.patch
dpkg-source: info: applying 0049-Avoid-busy-loop-in-hpcups-when-backend-has-exited.patch
dpkg-source: info: applying 0050-CUPS-filters-should-use-TMPDIR-when-available.patch
dpkg-source: info: applying 0051-Fixed-Device-ID-parsing-code-in-hpijs-s-dj9xxvip.c.patch
dpkg-source: info: applying 0052-IEEE1284-Device-ID-for-HP-LaserJet-4000.patch
dpkg-source: info: applying 0053-Fix-ImageableArea-for-Laserjet-8150-9000.patch
dpkg-source: info: applying 0054-Fix-parsing-of-avahi-daemon-output.patch
dpkg-source: info: applying 0055-Fixed-left-right-margins-for-HP-DeskJet-990C.patch
dpkg-source: info: applying 0056-Fixed-uses-of-strncpy-throughout.patch
dpkg-source: info: applying 0057-Ignore-IOError-when-logging-output.patch
dpkg-source: info: applying 0058-Exit-if-source-cannot-be-fetched-from-device.patch
dpkg-source: info: applying 0059-hp-check-shows-CUPS-incompatible-or-not-running-even.patch
dpkg-source: info: applying 0060-hp-firmware-NameError-name-INTERACTIVE_MODE4-is-not-.patch
dpkg-source: info: applying 0061-hp-setup-fails-on-fax-setup-use-binary-strings.patch
dpkg-source: info: applying 0062-Fix-TypeError.patch
dpkg-source: info: applying 0063-Fix-TypeError-in-hpfax.patch
dpkg-source: info: applying 0064-Fix-AttributeError-when-connecting-to-printer-via-wi.patch
dpkg-source: info: applying 0065-Fixed-hp-setup-crash-when-user-wants-to-define-path-.patch
dpkg-source: info: applying 0066-Ignore-symlinks-when-installing-plugins.patch
dpkg-source: info: applying 0067-Scanning-broken-for-HP-LaserJet-3052.patch
dpkg-source: info: applying 0068-Fixed-hpcups-crash-when-required-plugin-missing.patch
dpkg-source: info: applying 0069-Fixing-issues-found-by-coverity-scan.patch
dpkg-source: info: applying 0070-abrt-hplip-strlen-hp-killed-by-SIGSEGV.patch
dpkg-source: info: applying 0071-abrt-hp-systray-BlockingIOError-Errno-11-Resource-te.patch
dpkg-source: info: applying 0072-Fix-building-with-Python-3.8.patch
dpkg-source: info: applying 0073-Fix-upstream-CFLAGS-override.patch
dpkg-source: info: applying 0074-py3.8-Fix-SyntaxWarning-is-is-not-with-a-literal.patch
dpkg-source: info: applying 0075-py3.8-Assume-the-python3-distro-package-is-available.patch
dpkg-source: info: applying 0076-Let-IsChromeOS-always-return-0.patch
dpkg-source: info: applying 0077-Grow-m_pPrinterBuffer-if-needed-on-each-page.patch
dpkg-source: info: applying 0078-Workaround-Add-32-bytes-to-allocation-ColorMatcher.patch
dpkg-source: info: applying 0079-Workaround-Add-32-bytes-to-allocation-Halftoner.patch
dpkg-source: info: applying 0080-Workaround-Add-32-bytes-to-allocation-Compressor.patch
dpkg-source: info: applying 0081-Don-t-start-hp-systray-in-GNOME.patch
dpkg-source: info: applying 0082-Some-of-the-print-modes-for-DeskJet-815C-are-incorre.patch
dpkg-source: info: applying 0083-add-format-string-to-snprintf.patch
W: Download is performed unsandboxed as root as file 'hplip_3.22.10+dfsg0-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
 
Old 02-11-2023, 06:34 PM   #18
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by floppy_stuttgart View Post
News.. something changed. I will further work now.

Code:
sudo apt source hplip/testing
You should NOT use sudo for "apt source foo/bar". Do that as your normal user.

Evo2.
 
Old 02-12-2023, 04:20 AM   #19
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,251

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
How come you need the sources? Isn't the tried & tested package good enough for you?
 
Old 02-12-2023, 04:51 AM   #20
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,153

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
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.
 
Old 02-12-2023, 09:57 AM   #21
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,153

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by business_kid View Post
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.
 
Old 02-12-2023, 01:09 PM   #22
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,251

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
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?
 
Old 02-12-2023, 04:03 PM   #23
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by business_kid View Post
How come you need the sources? Isn't the tried & tested package good enough for you?
Installing binary packages from another distro is normally not advisable.
 
Old 02-12-2023, 04:23 PM   #24
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by floppy_stuttgart View Post
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.
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
Code:
dpkg-buildpackage -us -uc
Evo2.
 
Old 02-13-2023, 06:49 AM   #25
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,153

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
according this

https://raspberrytips.com/update-ras...atest-version/

"bookworm" seems online. I follow this path for now since nothing successful till now.
 
Old 02-13-2023, 06:55 AM   #26
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,251

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
libfakeroot is not a necessary part of cups. It may be some part of some fancy chroot or sandbox. Do you have 'build-essential'' installed.
 
Old 02-13-2023, 07:39 AM   #27
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,153

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Quote:
Setting up hplip (3.22.10+dfsg0-1) ...
installed by changing/upgrading to "bookworm" from "bullseye".
 
  


Reply

Tags
debian 11, raspberry pi


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
LXer: Raspbian GNU/Linux upgrade from Stretch to Raspbian Buster 10 LXer Syndicated Linux News 0 07-26-2019 06:12 PM
[SOLVED] Error: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:22 Commomore Linux - Newbie 12 02-05-2019 12:24 AM
LXer: Raspbian GNU/Linux upgrade from Jessie to Raspbian Stretch 9 LXer Syndicated Linux News 0 03-01-2018 07:50 PM
LXer: Raspbian GNU/Linux upgrade from Wheezy to Raspbian Jessie 8 LXer Syndicated Linux News 1 06-09-2016 12:12 PM
[SOLVED] Upgrade hplip-3.9.4b to hplip-3.9.12 (32-bit and 64-bit) tronayne Slackware 8 02-27-2011 11:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:04 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