Re: Hewlett-Packard package conflicts
Hendrik Sattler wrote:
dpkg-checkbuilddeps: Unmet build dependencies: libcupsys2-dev
libsnmp5-dev (>> 5
Am Dienstag, 5. Juli 2005 16:29 schrieb Gayle Lee Fairless:
I posted a question to Debian User about package conflicts between
hpoj(sp?) and hplip(sp?) that are for parallel HP printers and usb HP
printers. My HP 697C is parallel, and my HP psc1210 is usb.
No, hpoj and hplip should not conflict, at least not according to hpoj
website. This was fixed in hplip-0.9.3-3 (Debian unstable).
To fix this for your version:
apt-get source hplip
.1.2-6) python-qt3 pyqt-tools dpatch (>= 2)
I also had to get a few extra packages. Fortunately, that was routine.
Aptitude installed about 15 more packages.
#the follow or manually editing debian/control
sed -i -e 's/hpoj, //' debian/control
dpkg-buildpackage -rfakeroot -b -uc -us
Gcomm:/home/gayle/drivers/hplip# dpkg --force-conflicts -i hplip*.deb
I found out that I had to force it.
dpkg -i hplip*.deb
administration. The hpoj package created an entry in ptal something about
mlc:usb: etc. I was wondering if this is the famous URI (Uniform Resource
Indicator?) that is supposed to find the usb printer which I think the
system picks up as usblp0. (That '0' is a zero.)
See hpoj package description:
- An application programming interface (API) known as "PTAL" (Peripheral
Transport Abstraction Library) that hides the differences in accessing
devices connected via parallel, USB, or JetDirect.
I wonder if it is possible to force aptitude to install those 2
conflicting packages and somehow match them to the appropriate printer?
Not cleanly without rebuilding the package (but that's easy, see above).
And I apparently succeeded as follows:
gayle@Gcomm:~/drivers/hplip$ dpkg -l | grep hp
ii foomatic-db-hp 1.5-20050420-1 linuxprinting.org printer support -
ii hp-ppd 0.5 HP Postscript Printer Definition (PPD)
ii hp2xx 3.4.4-2 A HPGL converter into some vector- and
ii hp48cc 1.3-3.1 C-like compiler which produces HP48 RPN
ii hpijs 2.1.2+0.9.2-2 HP Linux Printing and Imaging - gs IJS
ii hplip 0.9.2-2 HP Linux Printing and Imaging System
ii hplip-data 0.9.2-2 HP Linux Printing and Imaging - data files
ii hpoj 0.91-4 HP OfficeJet Linux driver (hpoj)
ii hpscanpbm 0.3a-11 HP ScanJet scanning utility
Well, that was the 'easy' part! Now I have to get it working together!
I still need to get CUPS appropriately configured. I can get into using
the browser and URL localhost:631 or the printer wizard. I don't know
which is best.
I appreciate the suggestions!
(Mr.) Gayle Lee Fairless, http://counter.li.org/, No. 365760.
Linux Gcomm 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i686 GNU/Linux
Linux Gcomm 2.6.11-1-686 #1 Mon Jun 20 22:00:38 MDT 2005 i686 GNU/Linux
Linux Gcomm 2.6.12-1-686 #1 Fri Jun 24 12:17:14 CEST 2005 i686 GNU/Linux