Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want one file from a built package that I don't have (and don't particularly want to download). Is there a service (Launchpad/ where I can just go in and download the file I want?

The context for this is this question where I want the latest /boot/config-* file from the latest available kernel package. The packages are quite large so I'd rather just download the comparatively tiny config file and build the kernel myself (I hack it around and customise it).

This may easily result in a "no, you can't do that" but I wanted to test the water.

share|improve this question
up vote 2 down vote accepted

I've now posted this example on the bottom of the original question too, but for completeness I'll include it here aswell:

This does not actually prevent downloading of the package file. But with some further cunningness and ask wget to only fetch a particular range it would be possible, although not automatic. If you have a wider and more in-depth interest in the subject, it is probably partially covered from the slides and video from a talk at FOSDEM few years ago:

The case here is is only one file, or part of file has changed in a .deb package, how to extract that from the stack of .ar+.gz+.tar without causing a download of the full thing. (Disclaimer: I was one of the speakers).

share|improve this answer

Your Answer


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.