Missing dependencies during install hplip 2.8.6

Asked by Ondra

When I run hplip 2.8.6 automatic installer on Mandriva 2008.1 kernel 2.6.24.5-desktop-2mnb I got 2 error msg conected with missing dependencies and instalation process is interrupted. First I got msg warning: There are 2 missing REQUIRED dependencies.
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: cups-devel (cups-devel- Common Unix Printing System development files)
warning: This installer cannot install 'cups-devel' for your distro/OS and/or version.
error: Installation cannot continue without this dependency. Please manually install this dependency and re-run this installer.

When I typped:

urpmi cups-devel --auto

on command prompt installation finished succefully. After that I re-run the installer. Second error msg appeared:

warning: There are 1 missing REQUIRED dependencies.
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: libusb (libusb - USB library)
warning: This installer cannot install 'libusb' for your distro/OS and/or version.
error: Installation cannot continue without this dependency. Please manually install this dependency and re-run this installer.

I solved it by: urpmi libusb-devel --auto

After that I re-run the installer. Instalation begun. I choose custom typ of isntallation and confirm every choice offered. After entering a root password next 5 error msg appeared:

warning: There are 5 missing OPTIONAL dependencies.
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency for option 'network': libnetsnmp-devel (libnetsnmp-devel - SNMP networking library development files)
warning: This installer cannot install 'libnetsnmp-devel' for your distro/OS and/or version.
warning: Option 'network' has been turned off.
warning: Missing REQUIRED dependency for option 'scan': sane-devel (SANE - Scanning library development files)
warning: This installer cannot install 'sane-devel' for your distro/OS and/or version.
warning: Option 'scan' has been turned off.
warning: Missing OPTIONAL dependency for option 'scan': pil (PIL - Python Imaging Library (required for commandline scanning with hp-scan))
warning: This installer cannot install 'pil' for your distro/OS and/or version.
warning: Missing OPTIONAL dependency for option 'scan': xsane (xsane - Graphical scanner frontend for SANE)
warning: This installer cannot install 'xsane' for your distro/OS and/or version.
warning: Missing REQUIRED dependency for option 'parallel': ppdev (ppdev - Parallel port support kernel module.)
warning: This installer cannot install 'ppdev' for your distro/OS and/or version.
warning: Option 'parallel' has been turned off.

I solved it so:
urpmi libnet-snmp-devel --auto
urpmi sane-devel --auto
urpmi python-imaging --auto
urpmi xsane --auto

But I have still problem with the last dependency. I can't find package where ppdev is. Can you somebody help me how can I solve that dependency problem? Would be possible repair all links on missing dependencies in the installer? I know that they are optional dependencies but I need them all except send fax.

Thanks Ondra

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Bruce Sass (bmsass) said :
#1

--- you wrote ---
warning: Missing REQUIRED dependency for option 'parallel': ppdev (ppdev - Parallel port support kernel module.)
...
But I have still problem with the last dependency. I can't find package where ppdev is.
---

It is a kernel module providing user-space access to the parallel port (PARPORT) device and probably doesn't have a separate package.

The command:
$ lsmod|grep ppdev
will tell you if that module is available.

Checking the kernel config (probably in /boot/config-*) for CONFIG_PPDEV=y will tell you if it is built in, CONFIG_PPDEV=m results in the ppdev module being generated when the kernel is built.

I'm not sure if HPLIP will detect the functionality if it is built in.

- Bruce

Revision history for this message
Ondra (ondra-sk) said :
#2

Hi Bruce,
I executed the command $ lsmod|grep ppdev. Here is a result:

Module Size Used by
i915 22496 2
drm 70452 3 i915
nfsd 211824 13
auth_rpcgss 36416 1 nfsd
exportfs 4864 1 nfsd
nfs 238796 0
lockd 60744 3 nfsd,nfs
nfs_acl 3680 2 nfsd,nfs
sunrpc 160124 11 nfsd,auth_rpcgss,nfs,lockd,nfs_acl
rfcomm 33680 2
l2cap 21216 9 rfcomm
fuse 42292 1
af_packet 17188 2
snd_seq_dummy 3524 0
snd_seq_oss 29792 0
snd_seq_midi_event 6944 1 snd_seq_oss
snd_seq 46928 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 7212 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 36864 0
ipv6 241572 22
snd_mixer_oss 14656 1 snd_pcm_oss
binfmt_misc 9352 1
loop 14340 0
dm_mod 51108 0
floppy 53700 0
cpufreq_ondemand 7436 1
cpufreq_conservative 7080 0
cpufreq_powersave 2304 0
p4_clockmod 5028 0
speedstep_lib 5156 1 p4_clockmod
freq_table 4512 2 cpufreq_ondemand,p4_clockmod
parport_pc 31716 0
parport 31592 1 parport_pc
snd_intel8x0 29372 4
snd_ac97_codec 96036 1 snd_intel8x0
rtc_cmos 7904 0
ac97_bus 2624 1 snd_ac97_codec
snd_pcm 67204 4 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer 20036 2 snd_seq,snd_pcm
snd 45444 16 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
pcspkr 3296 0
soundcore 6656 1 snd
snd_page_alloc 8456 2 snd_intel8x0,snd_pcm
e100 32524 0
mii 5280 1 e100
i2c_i801 9104 0
i2c_core 19360 1 i2c_i801
ide_cd 35136 0
shpchp 29940 0
pci_hotplug 26048 1 shpchp
hci_usb 13788 2
iTCO_wdt 10976 0
iTCO_vendor_support 3972 1 iTCO_wdt
bluetooth 51012 7 rfcomm,l2cap,hci_usb
thermal 13564 0
button 7024 0
processor 30248 1 thermal
intel_agp 22548 1
agpgart 27656 3 drm,intel_agp
evdev 9536 4
piix 7780 0 [permanent]
ide_disk 14176 4
ide_core 98700 3 ide_cd,piix,ide_disk
ext3 120744 2
jbd 41140 1 ext3
uhci_hcd 22992 0
ohci_hcd 21892 0
ehci_hcd 32876 0
usbcore 121900 5 hci_usb,uhci_hcd,ohci_hcd,ehci_hcd

I think there is not ppdev. When checked /boot/config-* I found CONFIG_PPDEV=m. I'm not sure what it is mean. I'm begginer with linux. Does exist any possibility how corect it? Could affect it a parallel port setting in Bios? In bios I have parallel port in SPP mode now.

Revision history for this message
Bruce Sass (bmsass) said :
#3

On Wed July 16 2008 12:20:22 am Ondra wrote:
> Hi Bruce,
> I executed the command $ lsmod|grep ppdev. Here is a result:
>
> Module Size Used by
> parport_pc 31716 0
> parport 31592 1 parport_pc
>...
> I think there is not ppdev. When checked /boot/config-* I found
> CONFIG_PPDEV=m. I'm not sure what it is mean.

Ya, it does not look like ppdev is loaded (did not appear in the output
of lsmod), but it should be available (is configured to be a module).

For comparison, here is the output for my system:

bsass@onegee:~$ lsmod|grep ppdev
ppdev 8676 0
parport 33868 3 ppdev,lp,parport_pc

What it tells me is the ppdev module is loaded and the parport module is
being used by the ppdev, lp, and parport_pc modules.

> I'm begginer with
> linux. Does exist any possibility how corect it?

Check to see if you have the ppdev module installed. It should reside
at /lib/modules/*/kernel/drivers/char/ppdev.ko (where the "*" is
replaced with a string identifying your kernel, e.g.,
2.6.24-something).

If ppdev.ko does not exist: the kernel config you found is not for the
kernel you are running, or perhaps the module actually does reside in a
separate package (at least you now know the name of the file you need,
ppdev.ko, which should help you locate the package). If it does exist,
it is not loaded. In either case it is probably best to take the info
you now have and ask through your distros support mechanism what the
best way to proceed is.

> Could affect it a
> parallel port setting in Bios? In bios I have parallel port in SPP
> mode now.

I don't think so, but it has been years since I've looked at my BIOS
settings or delved into what effect they can have.

- Bruce

Revision history for this message
Ondra (ondra-sk) said :
#4

I used a command modinfo ppdev and here is an output:

ilename: /lib/modules/2.6.24.4-desktop-3mnb/kernel/drivers/char/ppdev.ko.gz
alias: char-major-99-*
license: GPL
depends: parport
vermagic: 2.6.24.4-desktop-3mnb SMP mod_unload 686

Then used a command modprobe ppdev and then lsmod | grep ppdev

ppmod appeared and hplip installation finished without any errors. But after I restarted PC and try lsmod | grep ppdev nothing appeared. I thing that modprobe adds ppdev module not permanently. Can you help how add it permanently?

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#5

If you aren't using a parallel printer you don't need to load the ppdev module. Either way this wont stop the install of HPLIP. If you need the ppdev module you load that by usually adding it to the /etc/modules files. Depending on how mandriva does the modules--you may need to check the mandriva forums or docs for how this is done exactly. You can load the module temporarily by running

modprobe ppdev

But it's not required to load the module to install hplip, it should continue correctly.

A

Revision history for this message
Ondra (ondra-sk) said :
#6

Unfortunately I need to use parallel printer. I found that the ppdev is only depend module. Main module is parport and it is loaded. When I restart PC and use lsmod I get this:

parport_pc 31716 0
parport 31592 1 parport_pc

after it I use modprobe ppdev and check correct loading by lsmod. I get:

parport_pc 31716 0
parport 31592 2 ppdev,parport_pc

I don't understant this information. I thing that solution could be edit /etc/modules. I check it but it is empty. Can you tell me some about syntax of it? When I wrote only ppdev nothing happened.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#7

It appears that mandriva uses the /etc/modules.conf rather than /etc/modules. You could try that--however because of the many variations of linux I can't be for sure. For additional help you may want to try the mandriva forums. This might be a good place to start: http://mandrivausers.org/

Hope this helps!

Aaron

Can you help with this problem?

Provide an answer of your own, or ask Ondra for more information if necessary.

To post a message you must log in.