How do I export my saved .deb files as a repository
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How do I export my saved .deb files as a repository
Hi I've got all these .deb files saved on a hd I'm gonna blank. I want to save them on a cd that can act as a repository for other machines. How do I do that? Does anyone know? I can't be the only one wanting to do this.
Deb files on a CD are a repo. Just navigate to the file you want to install and click on it. The installer will then install it just as if it was on the web somewhere.
I want to know how to make them into a real repo. You see, clicking on individual .deb files doesn't recursively resolve dependencies. That means that there are programs (and lots of them) that won't install that way. I've tried it. I need to know what files I need to make or whatever for a repo that does recursively resolve deps.
Then you need to add the path to your CD drive in the repositories section in Synaptic and then when you use Synaptic, the dependencies will be added to the install. You can also add the dependencies to the CD and use Synaptic to install the packages.
Thanks, that sounds like it will work. I think I'll burn the entire contents of my /var/cache/apt dir to the cd and see if the .bin files in there don't help as well.
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820
Rep:
Quote:
Originally Posted by Hendronicus
Thanks, that sounds like it will work. I think I'll burn the entire contents of my /var/cache/apt dir to the cd and see if the .bin files in there don't help as well.
That is exactly how I do it. Copy them into /var/cache/apt/archives and apt will find them in the cache the next time it is called. Works great for those of us on satellite or dial-up(limited bandwidth).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.