I was getting this error on install:
```
==> Starting prepare()...
hplip-3.15.4-plugin.run: line 314: exec: -t: invalid option
exec: usage: exec [-cl] [-a name] [command [arguments ...]] [redirection ...]
==> ERROR: A failure occurred in prepare().
Aborting...
```
From looking at hplip*run, it requires xterm. `pacman -S xterm` fixes the problem. (Or just make sure your xterm alternative can handle `-title`; i.e. with single dash).
Search Criteria
Package Details: hplip-plugin 3.25.2-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/hplip-plugin.git (read-only, click to copy) |
---|---|
Package Base: | hplip-plugin |
Description: | Binary plugin for HPs hplip printer driver library |
Upstream URL: | https://developers.hp.com/hp-linux-imaging-and-printing/binary_plugin.html |
Keywords: | fax hp printer scanner |
Licenses: | LicenseRef-HPLIP-LICENSE |
Submitter: | pyropeter |
Maintainer: | ZhangHua |
Last Packager: | ZhangHua |
Votes: | 403 |
Popularity: | 0.75 |
First Submitted: | 2010-12-21 00:32 (UTC) |
Last Updated: | 2025-04-05 00:57 (UTC) |
Dependencies (5)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR)
- hplip (hplip-minimalAUR, hplip-liteAUR)
- libusb-compat (libusb0AUR)
- sane (sane-gitAUR)
Required by (0)
Sources (1)
Latest Comments
« First ‹ Previous 1 .. 17 18 19 20 21 22 23 24 25 26 27 .. 38 Next › Last »
gadicc commented on 2015-05-18 07:29 (UTC)
ZeroBit commented on 2015-05-16 20:48 (UTC)
I turned off checking. I changed this:
source=("http://hplipopensource.com/hplip-web/plugin/hplip-$pkgver-plugin.run" "http://hplipopensource.com/hplip-web/plugin/hplip-$pkgver-plugin.run.asc")
sha1sums=('874d668f98fba49919f8904e8d844d0ec69d3e96' 'SKIP')
validpgpkeys=('4ABA2F66DBD5A95894910E0673D770CDA59047B9') # hplip@hp.com
to this:
source=("http://hplipopensource.com/hplip-web/plugin/hplip-$pkgver-plugin.run")
sha1sums=('874d668f98fba49919f8904e8d844d0ec69d3e96')
# validpgpkeys=('4ABA2F66DBD5A95894910E0673D770CDA59047B9') # hplip@hp.com
Watney commented on 2015-05-16 18:11 (UTC)
@PostBlue It looks as if you successfully installed the package. Can you please elaborate and explain. Thanks!
postblue commented on 2015-05-16 16:30 (UTC)
@jackpot The message seems to be clear : gpg have no keyserver available where to search for the key. Try "gpg --keyserver pgp.mit.edu --recv-keys 73D770CDA59047B9", it should be better.
<deleted-account> commented on 2015-05-16 15:49 (UTC)
==> Verifying source file signatures with gpg...
hplip-3.15.4-plugin.run ... FAILED (unknown public key 73D770CDA59047B9)
==> ERROR: One or more PGP signatures could not be verified!
==> ERROR: Makepkg was unable to build hplip-plugin.
--------------------
I tried below with/without root (and failed):
dirmngr < /dev/null
gpg --recv-keys 73D770CDA59047B9
gpg: keyserver receive failed: No keyserver available
<deleted-account> commented on 2015-05-16 14:07 (UTC)
Incorporated grawity's suggestions. So running this command might be necessary:
"gpg --recv-keys 73D770CDA59047B9 && gpg --lsign-key 73D770CDA59047B9"
grawity commented on 2015-05-16 13:22 (UTC)
~ suggested fix: do not set +x on firmware files
install -m644 hp_laserjet_*.fw.gz "$pkgdir"/usr/share/hplip/data/firmware/
~ suggested feature: digital signature verification
source=("http://hplipopensource.com/hplip-web/plugin/hplip-$pkgver-plugin.run" "http://hplipopensource.com/hplip-web/plugin/hplip-$pkgver-plugin.run.asc")
sha1sums=('874d668f98fba49919f8904e8d844d0ec69d3e96' 'SKIP')
validpgpkeys=('4ABA2F66DBD5A95894910E0673D770CDA59047B9') # hplip@hp.com
~ suggested adjustment: use prepare()
prepare() {
sh hplip-$pkgver-plugin.run --target "$srcdir/hplip-$pkgver-plugin" --noexec
}
<deleted-account> commented on 2015-05-11 13:44 (UTC)
@ chris2kari
please remove your comments since they address a non-existing problem. I keep the version numbers of hplip-plugin equal to hplip from arch's repos.
chris2kari commented on 2015-05-10 00:55 (UTC)
Yeah, tried nuking the database lock file & forcing a resync etc.. Package versions change quickly so simple clear instructions left here to help other stuck with the problem going forward.
Pinned Comments
carsme commented on 2024-01-15 16:53 (UTC) (edited on 2024-02-04 14:15 (UTC) by carsme)
Hey, I've adopted this package and applied some of the suggestions:
libusb-compat
andsane
(cred @ZhandHua).Depend on exact version ofhplip
(cred @jsn42).In addition, the PGP-signature of the artifact is now checked, which means you need to fetch upstream's key:
Unfortunately, I have no HP printer at home so my testing ability is limited to running
hp-diagnose_plugin
. If someone has better opportunity to test and is interested in maintaining, let me know and I'll handover the package or add you as a co-maintainer. Cheers!