hplip udev and my new printer

Anything that pertains to Portage

Moderator: Moderators

hplip udev and my new printer

Postby kainalu » Wed Oct 17, 2007 1:52

Hello, I have a new deskjet f4140 psc and I cannot get it to install. I figure it is an old hplip. I tried to emerge the newest version, but I get a message that its blocked by udev. udev is also blocked by something. any ideas?
kainalu
Simple Hen
 
Posts: 50
Joined: Fri Feb 16, 2007 22:18

Re: hplip udev and my new printer

Postby Fitzcarraldo » Wed Oct 17, 2007 2:33

I got the latest hplip to build a few days ago, so it's possible. Can't remember if I had to do anything else, but I edited /etc/portage/package.mask and deleted the mask on hplip.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7977
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: hplip udev and my new printer

Postby kainalu » Wed Oct 17, 2007 3:24

nope, its not masked
kainalu
Simple Hen
 
Posts: 50
Joined: Fri Feb 16, 2007 22:18

Re: hplip udev and my new printer

Postby rand.a » Wed Oct 17, 2007 16:31

kainalu wrote:udev is also blocked by something. any ideas?


Helps to be more informative, saying its "blocked by something" doesnt tell us much.

You probably need to update udev before you can install the new hplip. But without proper data to go by, i can't be sure of what the problem is.
rand.a
Growing Hen
 
Posts: 163
Joined: Fri Mar 23, 2007 20:08
Location: Shelton, WA

Re: hplip udev and my new printer

Postby kainalu » Wed Oct 17, 2007 21:52

emerge --pretend udev

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild U ] sys-fs/udev-116 [109-r1]
[blocks B ] <sys-fs/device-mapper-1.02.19-r1 (is blocking sys-fs/udev-116)


how are they even installed together to begin with if they are incompatible? i mean this is a basically stock 3.4 install. I have only added mythtv and some other minor progs.
kainalu
Simple Hen
 
Posts: 50
Joined: Fri Feb 16, 2007 22:18

Re: hplip udev and my new printer

Postby dave_p_b » Thu Oct 18, 2007 13:12

Hi

According to this website your printer should be supported from hplip version 1.74.

There are two ways to solve this. Either to install hplip-1.7.4a-r1 or hplip-2.7.7.
1) Install hplip 1.7.4a-r1 by opening up a konsole and type "su" (enter root password).
Then type "emerge =hplip-1.7.4a-r1"

2) hplip-2.7.7 is no longer in portage and anything above version 2.7.7 needs to rebuild udev-1.1.4 which is not desirable. So go to this website and download hplip-2.7.7.ebuild (by right-clicking and "save as") to the desktop. Now open up a konsole and type "su" (entering root password).
Copy hplip-2.7.7.ebuild to /usr/portage/net-print/hplip (E.g. cp ~/Desktop/hplip-2.7.7.ebuild /usr/portage/net-print/hplip/hplip-2.7.7.ebuild).
Next type "ebuild /usr/portage/net-print/hplip/hplip-2.7.7.ebuild digest"
Next type "emerge =hplip-2.7.7"
After is has finished installing you will probably have to type "etc-update" if it tells you to.

Good luck

Dave
dave_p_b
Old Dear Hen
 
Posts: 607
Joined: Fri Dec 15, 2006 1:39
Location: Exeter, UK

Re: hplip udev and my new printer

Postby kainalu » Thu Oct 18, 2007 18:05

that solved it. THANKS GUYS!!!!!!!!!!!!
kainalu
Simple Hen
 
Posts: 50
Joined: Fri Feb 16, 2007 22:18


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 2 guests