LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   DPKG, please ignore dependencies... (http://www.linuxquestions.org/questions/debian-26/dpkg-please-ignore-dependencies-364608/)

lectraplayer 09-18-2005 03:46 PM

DPKG, please ignore dependencies...
 
I'm trying to install a modem driver for my modem from a .deb. package, and the only dependency it has is my kernel. Strangely, it's asking for the exact same kernel version as what come on my freshly-installed Debian release Sarge. I guess to get this modem driver to go in I must tell it to ignore that dependency and go on. How do I get DPKG to do so?

Before you go into a spill indicating that these dependencies must be resolved and bad things will happen if I do not resove them, keep in mind that they are resolved but still showing up, and I would not consider attempting to ignore dependencies unless I knew hard fact that everything's up to snuff.

Matir 09-18-2005 04:01 PM

You sure it's not asking for kernel-sources rather than kernel-image?

lectraplayer 09-18-2005 05:30 PM

"No pre-built modules for: Debian-3.1 linux-2.4.27-2-386 i686"

That's the exact dependency, and I don't see any mention of "src" anywhere, and all source code packages I've seen are listed with a "src" tag. "i686" has always been binaries ready for use every time I've seen it.

lectraplayer 09-24-2005 08:01 PM

nudge

Why would it display a dependency when the dependent package is already installed?

sarixe 05-28-2007 11:37 PM

Quote:

Originally Posted by lectraplayer
nudge

Why would it display a dependency when the dependent package is already installed?

Because it's addicted, obviously. :D

powadha 05-29-2007 12:59 AM

The error is stating that there are no pre-built modules for your kernel. So you can't install the driver since the deb is prebuild for another kernel.
You could use module-assistant and build the module for your kernel if the source for the module is listed. You would also need the kernel-source if doing so. Easiest way to get it done is by running:
# apt-get install module-assistant
# m-a prepare (install any needed dependencies)
# m-a a-i 'name of driver' (if you know the name, otherwise just run m-a and browse the list for your driver)

BillyGalbreath 05-31-2007 09:56 AM

powadha is right about why you are getting the dep issues. I suggest taking his advice and build your own module for your kernel. Even if you force your package to install ignoreing the dep issues, it still will not be able to run because there is no driver module for your existing kernel.

But, to answer your question for future reference (or if you don't believe us and want to try it) here is how to make dpkg ignore dep issues.

Code:

dpkg -i --ignore-depends=<package(s) to ignore> package.deb
If more than one package needs to be ignored, seperate them with commas:

Code:

dpkg -i --ignore-depends=package1,package2 package3.deb


All times are GMT -5. The time now is 04:09 PM.