Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a clean i386 install of Debian on my laptop which I need to install ndiswrapper to get the internet on it working.

I have a amd64 Debian install on my other laptop with working internet.

How could I download ndiswrapper and all of its dependencies for i386 on my amd64 laptop?

share|improve this question
    
What version of Debian are you running? –  barti_ddu Dec 20 '12 at 15:15

1 Answer 1

up vote 0 down vote accepted

I don't know of an easy way to do this with aptitude. Running apt-get install ndiswrapper-utils-1.9 --print-uris on the target system will give you a list of package URLs, which you could download directly (if you are proficient with bash, you could probably write a script to do it automatically in a few minutes).

If you want to do it manually, package files are on packages.debian.org - here is ndiswrapper-utils for debian stable, which depends on all the other ndiswrapper packages (make sure you download the i386 packages).

You will need to download the dependencies too (ndiswrapper-common, ndiswrapper-dkms, and ndiswrapper-source) which are needed to build the kernel module. (also, you will need all the packages necessary to build a kernel module, like dkms, kernel-package and module-assistant, but you may already have these on your system). The website will tell you which dependencies are needed for which packages.

Then, install them in reverse order (dependencies first, then the package that depends on them). You can use the graphical package manager or # dpkg -i <package file> to install them. If you're missing a dependency, it will tell you and you will have to install that first.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.