Go Back   UseSrv Message Forum > Linux > KDE
 

 
Thread Tools Display Modes
  #1  
Old 06-25-2008
Gayle Lee Fairless
Guest
 
Posts: n/a
Default Hewlett-Packard package conflicts

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.

Perhaps this question should also be posed to Debian KDE since one of
their hints in version 3.3 recommends CUPS which I have. I also have
Xprint stuff installed which was recommended for removal in a message
posted on Debian User. When I went into aptitude to do that, it seems
that aptitupde wanted to remove about half the packages. Since that
looked like wholesale destruction of the system, I was quite leery of
doing that! I'm somewhat confused about what to do next about the printer
conflicts. I am able to use localhost:631 to get into CUPS
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.)

As you know, I'm running a sarge system upgraded from woody with a choice
of 2.4.18-bf2.4, 2.6.11. i686, and 2.6.12 i686 kernels. This is on a
Gateway 500 with a Pentium III (Katmai).

I wonder if it is possible to force aptitude to install those 2
conflicting packages and somehow match them to the appropriate printer?



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  #2  
Old 06-25-2008
Hendrik Sattler
Guest
 
Posts: n/a
Default Re: Hewlett-Packard package conflicts

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:
mkdir hplip
cd hplip
apt-get source hplip
cd hplip-0.9.2
#the follow or manually editing debian/control
sed -i -e 's/hpoj, //' debian/control
dpkg-buildpackage -rfakeroot -b -uc -us
cd ..
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).

HS


--
To UNSUBSCRIBE, email to debian-kde-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  #3  
Old 06-25-2008
Gayle Lee Fairless
Guest
 
Posts: n/a
Default Re: Hewlett-Packard package conflicts

On Tue, 5 Jul 2005, Hendrik Sattler wrote:

> 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:
> mkdir hplip
> cd hplip
> apt-get source hplip
> cd hplip-0.9.2
> #the follow or manually editing debian/control
> sed -i -e 's/hpoj, //' debian/control
> dpkg-buildpackage -rfakeroot -b -uc -us
> cd ..
> 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).
>
> HS
>
>
>

Thank you very much! I'm doing this from work and, once I get home from
work, hope to try it out within the week at the latest!



--
To UNSUBSCRIBE, email to debian-kde-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  #4  
Old 06-25-2008
Gayle Lee Fairless
Guest
 
Posts: n/a
Default Re: Hewlett-Packard package conflicts



Hendrik Sattler wrote:

>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:
>mkdir hplip
>cd hplip
>apt-get source hplip
>
>

dpkg-checkbuilddeps: Unmet build dependencies: libcupsys2-dev
libsnmp5-dev (>> 5
..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.

>cd hplip-0.9.2
>#the follow or manually editing debian/control
>sed -i -e 's/hpoj, //' debian/control
>dpkg-buildpackage -rfakeroot -b -uc -us
>cd ..
>
>



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 -
database
ii hp-ppd 0.5 HP Postscript Printer Definition (PPD)
files
ii hp2xx 3.4.4-2 A HPGL converter into some vector- and
raste
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
drive
ii hplip 0.9.2-2 HP Linux Printing and Imaging System
(hplip)
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
gayle@Gcomm:~/drivers/hplip$


>HS
>
>
>
>


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


--
To UNSUBSCRIBE, email to debian-kde-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  #5  
Old 06-25-2008
Hendrik Sattler
Guest
 
Posts: n/a
Default Re: Hewlett-Packard package conflicts

Am Freitag, 8. Juli 2005 06:18 schrieb Gayle Lee Fairless:
> Gcomm:/home/gayle/drivers/hplip# dpkg --force-conflicts -i hplip*.deb
>
> I found out that I had to force it.


Actually, the "force-conflicts" was the wrong way :-(
It's easier and cleaner to edit the debian/control file and remove the faulty
conflict. If not, some tools (aptitude?) might automatically remove one of
them.

HS


--
To UNSUBSCRIBE, email to debian-kde-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  #6  
Old 06-25-2008
Derek Broughton
Guest
 
Posts: n/a
Default Re: Hewlett-Packard package conflicts

Hendrik Sattler wrote:

> Am Freitag, 8. Juli 2005 06:18 schrieb Gayle Lee Fairless:
>> Gcomm:/home/gayle/drivers/hplip# dpkg --force-conflicts -i hplip*.deb
>>
>> I found out that I had to force it.

>
> Actually, the "force-conflicts" was the wrong way :-(
> It's easier and cleaner to edit the debian/control file and remove the
> faulty conflict. If not, some tools (aptitude?) might automatically remove
> one of them.


Easier? In the first case, you use dpkg (I always use --force-all, since by
this point you know there are no other errors - and I can never remember
which "force" option it is) and cut and paste the .deb name from the error
in apt-get/aptitude. In the latter, you have to edit a control file
(correctly). I'm sure it's cleaner, but I've never yet encountered a
situation where simply forcing a conflict didn't work.
--
derek


--
To UNSUBSCRIBE, email to debian-kde-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Thread Tools
Display Modes

Forum Jump


All times are GMT. The time now is 01:48 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0