Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Hello, as i am installing the same software on several systems i would like to speed up things by not needing to download them time and time again. is there a way that local stored packages can be added as a source to sources.list? if so, what would the correct syntax be? i have checked a few similar threads but none seem to address this issue.
when i was at work i thought of a new question which is really a similar one to this but not exactly: how to create cd's that synaptic will 'accept'? as with mepis extra's cd's; these cd's contain extra software meant for people that don't have (broadband) internet. by adding these cd's via synaptic to the repository you have instant access to the files on it. may be i should start a new thread for this one.
Hello haertig, your tip worked great! thanks. do not have a clue what an override file is but i typed it with /dev/null in the syntax and away it went! all is visible in synaptic now and it picks up the dreaded dependencies too!
Hello, as i am installing the same software on several systems i would like to speed up things by not needing to download them time and time again. is there a way that local stored packages can be added as a source to sources.list? if so, what would the correct syntax be? i have checked a few similar threads but none seem to address this issue.
thanks.
ron.
It's not the "correct" way but it's easier.
I usually just copy the downloaded .deb files into /var/cache/apt/archives/ of the system I am going to upgrade. You have to apt-get update first so apt will know what versions are current, then do the apt-get install <package> (or upgrade or whatever...).
Apt will first look in /var/cache/apt/archives/ for the .deb files it needs before it attempts to download new files.
Just an update for anyone else who is trying to share the same cache of downloaded packages over more than one system.
What I have been doing lately is to maintain the cache on a data drive (/media/hdb2/Debian/archives) and replace the /var/cache/apt/archives folder with a link to this location. I expected some problems but there doesn't seem to be any, other than that /media/hdb2/archives must also contain a subfolder "partial".
Procedure is to first copy all your archived packages that you want to keep to the new location, then
Biggest drawback seems to be that the archive keeps growing, I don't know of any easy way to keep only the latest versions of the packages & erase all the old ones.
thanks for that update, CrashedAgain. to link it to that other hard drive sounds like a good idea. this way the drive where the os lives on doesn't fill up with all these package files. i will put this to the test as i am about to upgrade a system. makes you even wonder if it is not a good idea to make a separate partition for the whole /var directory next time we reinstall a system from scratch. this way updating becomes a much quicker process.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.