Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
05-20-2004, 06:53 PM
|
#1
|
Member
Registered: Mar 2004
Distribution: Debian Sarge, FC4
Posts: 100
Rep:
|
How can I store saved apt-get packages to save redownloading them?
Hello,
I'm about to install Debian upgrading from Xandros. I know that they use the same package manager "apt-get". My problem is that due to my line being dial-up can I save the downloaded packages like apache, mysql, bitchx to my windows machine as a temp thing then copy them backover after installation and run them.
How can I do this, if possible?
|
|
|
05-20-2004, 10:55 PM
|
#2
|
Member
Registered: Feb 2004
Posts: 467
Rep:
|
Copy the packages over from /var/cache/apt/archives
|
|
|
05-21-2004, 12:05 AM
|
#3
|
Member
Registered: Apr 2004
Distribution: Slackware/Mandrake/Debian (sarge)
Posts: 266
Rep:
|
I tried doing that comp12345 and it just ended up redownloading them again for me when I reinstalled. (it was the same day so I doubt it was all new). Is there some kind of list file that is supposed to tell apt-get that it's already been downloaded or what? Because I found out how stupid it is to just do dpkg -i /var/cache/apt/archives/* 
|
|
|
05-21-2004, 01:12 AM
|
#4
|
Member
Registered: Feb 2004
Posts: 467
Rep:
|
Issue an on the second machine and try using the same sources in /etc/sources.list. What's probably happening is that the list of software packages do not match the versions available in /var/cache/apt/archives. Updating the sources should solve the problem.
|
|
|
05-21-2004, 03:13 AM
|
#5
|
Member
Registered: Mar 2004
Distribution: Debian Sarge, FC4
Posts: 100
Original Poster
Rep:
|
I tried doing what anas3712 did too, but it still tried to download the files again. This is after the apt-get update has been done also. Help!
|
|
|
05-21-2004, 04:15 AM
|
#6
|
Member
Registered: Mar 2004
Distribution: Debian Sarge, FC4
Posts: 100
Original Poster
Rep:
|
is there a way to install these deb files by themselves?
|
|
|
05-21-2004, 01:14 PM
|
#7
|
Member
Registered: Feb 2004
Posts: 467
Rep:
|
I don't see why it wouldn't work. Unless Debian packages are not interchangeable with Xandros ones. Check your /etc/sources.list on your second machine to see if they are using the same distribution(i.e stable, testing, unstable). Alternatively, you could try using apt locally by following this tutorial, http://www.debian.org/doc/manuals/ap...g-scanpackages.
|
|
|
05-21-2004, 02:48 PM
|
#8
|
Member
Registered: Dec 2002
Distribution: Slackware
Posts: 927
Rep:
|
Quote:
Originally posted by colabus
is there a way to install these deb files by themselves?
|
use "dpkg -i"
be sure to check out the apt howto:
http://www.debian.org/doc/manuals/ap.../index.en.html
Last edited by Genesee; 05-21-2004 at 02:52 PM.
|
|
|
05-21-2004, 03:34 PM
|
#9
|
Senior Member
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380
Rep:
|
Here's howto save your packages and burn them to a cd to use later;
1. create a new directory called debs
2. copy all the packages from /var/cache/apt/archives to debs
3. from a consol do dpkg-scanpackages debs /dev/null | gzip > debs/Packages.gz
4. Check to see that the Packages.gz has been created in /debs.
5. Burn /debs to a cd
6. when you need the packages for the install specify the cd as the source.
You can read up on this in Chapter 2 - Basic Configuration of the Apt Howto
|
|
|
05-21-2004, 10:35 PM
|
#10
|
Member
Registered: Mar 2004
Distribution: Debian Sarge, FC4
Posts: 100
Original Poster
Rep:
|
ahh thanks guys!
Yea I ftp them over to my windows machine but I did it in ascii format rather thab binary so they are all corrupted. :/
|
|
|
All times are GMT -5. The time now is 04:45 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|