Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to install the ndiswrapper packages (utils, -dkms and -common) in my Ubuntu 13.04 live-usb. However, since I don't have wi-fi while I'm on the Daily build, I can't install them directly, so I have to return to my default 12.10 installation to download the appropriate packages and dependencies.

The package dependencies are listed here:

http://packages.ubuntu.com/raring/ndiswrapper-common

http://packages.ubuntu.com/raring/ndiswrapper-dkms

http://packages.ubuntu.com/raring/ndiswrapper-utils-1.9

Though -common and -utils have relatively few dependencies, -dkms has quite a few, and most of these have their own dependencies. I also realize that many of these dependencies are installed by default in 13.04.

So I was wondering if there is some way to quickly determine only the packages I would actually need to download and install to get ndiswrapper working in 13.04. Something like a simulation of an "apt-get install" in 13.04 that would output all the missing packages for a default installation. Thanks!

share|improve this question
    
Per the FAQ 13.04 is off-topic here due to being in beta. If you can edit this question to refer to 12.10 please do. Otherwise this will probably be closed as off-topic. Thanks! –  Seth Jan 31 '13 at 0:15
3  
It's really a general question that applies to any version. Like an upgrade to a stable release, for example. –  Robie Basak Jan 31 '13 at 0:16
    
@RobieBasak Okay, then it's fine. I was't quite sure about it myself. –  Seth Jan 31 '13 at 0:18
    
I would recommend simulating the install, like: sudo apt-get -s install ndiswrapper-common, this would he show you what packages would actually install. Have not tried it yet but I am pretty sure there is a way to simulate the install process. –  Luis Alvarado Jan 31 '13 at 0:19
add comment

1 Answer

  1. Install the devscripts package.
  2. Run chdist create raring
  3. Edit ~/.chdist/etc/apt/sources.list and enter your sources as they would be for raring (eg. deb http://archive.ubuntu.com/ubuntu raring main universe restricted multiverse)
  4. Run chdist apt-get raring update
  5. Run chdist apt-get raring --print-uris install ndiswrapper-common ndiswrapper-dkms ndiswrapper-utils-1.9

This will give you a list of URIs to download, which you can transfer and then use dpkg -i on directly.

share|improve this answer
    
I followed your instructions but got an inordinate amount (30+) of "NEW packages that will be installed", including "keyboard-configuration" and "e2fsprogs", which leads me to believe chdist is not exclusively considering the ndiswrapper packages. Am I doing something wrong, or is this proper functionality? If so, how can I focus in only on those packages? P.S. when I do "ndiswrapper-common" only the package itself is outputted (since it has no dependencies), so I'm not sure what's going on... –  DeoxNa Jan 31 '13 at 1:08
    
It's pulling in all required dependencies (and I think all recommendations by default). On a real system many of them would already be installed, so you wouldn't see as many. –  Robie Basak Jan 31 '13 at 9:05
    
So is there a way to filter out the packages that are already installed by default in 13.04? Maybe by taking the list chdist gives me and matching it against a list of all the packages in 13.04? –  DeoxNa Jan 31 '13 at 14:44
add comment

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.