LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-21-2003, 10:40 AM   #1
Swampy
Member
 
Registered: Jan 2003
Location: Dover, Kent
Distribution: Debian 6.0.1 (Squeeze)
Posts: 133

Rep: Reputation: 15
How rubust is apt-get?


I have Internet access at home that allows me 2 hours of Internet use at a time before I'm thrown off.

If I install Debian and apt-get a large package which involves several packages to be installed first, If apt-get is halfway through the set of packages and the Internet connection goes down, will the downloaded packages be installed?

That is to say, if apt-get gets cut off half way through does that stuff up the whole installation, or can I just apt-get update and try again, with half the packages already installed and OK?
 
Old 08-21-2003, 10:48 AM   #2
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
I think it downloads first, and then installs. Although admittedly I have very little experience with Debian...however, in my limitted experience it handled an unreliable net connection quite well.
 
Old 08-21-2003, 11:18 AM   #3
Swampy
Member
 
Registered: Jan 2003
Location: Dover, Kent
Distribution: Debian 6.0.1 (Squeeze)
Posts: 133

Original Poster
Rep: Reputation: 15
Thanks, tcaptain.

I suppose, to be safe, I should note down all the dependencies myself, cancel the install and apt-get install each one in order, which would mean that I know where I stand.

I was concerned, however, that if I got through half an install, that it would break the package list and stuff everything up.

One way to find out, I suppose.
 
Old 08-21-2003, 03:33 PM   #4
johnMG
Member
 
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601

Rep: Reputation: 32
I was concerned, however, that if I got through half an install, that it would break the package list and stuff everything up.

apt-get will be just fine. I've found that it will pick up right where it left off if you get disconnected in the middle of a large download. (I left mine downloading overnight -- in the morning (after losing the connection some time during the night) it looked as if it had tried over and over to reestablish the dropped connection but then finally gave up.
 
Old 08-22-2003, 05:27 AM   #5
pe2338
Member
 
Registered: Dec 2002
Location: Bucharest,RO
Distribution: debian etch, sarge and sid
Posts: 407

Rep: Reputation: 30
I deliberately killed apt-get during the download.
It works fine
It keeps track of the uncomplete downloaded files.
So you can kill it, reboot, shotdown, wait a few days(exagerating if the file is updated during that time I don't know what will happend) and then run apt-get and still it will work!!!!
 
Old 08-25-2003, 09:32 PM   #6
penguin_warrior
Member
 
Registered: Aug 2003
Location: canada
Distribution: debian based distros
Posts: 52

Rep: Reputation: 15
Talking apt-get does it all

apt-get will continue your download from where it left off...i am currently using unstable/Sid and it took me 19 hours to upgrade from stable/woody (silly me added a few games and stuff before doing the upgrade which made it take longer). It took me 3 nights to download it and then did the install after. Try
apt-get -d dist-upgrade
which will download without doing the install until YOU are ready. then just
apt-get dist-upgrade will install the downloaded files.
remember to apt-get update before each
apt-get -d dist-upgrade and it will take care of all the dependency problems.

Hope this has helped.
 
Old 08-26-2003, 03:05 AM   #7
Swampy
Member
 
Registered: Jan 2003
Location: Dover, Kent
Distribution: Debian 6.0.1 (Squeeze)
Posts: 133

Original Poster
Rep: Reputation: 15
Right, that's it. I'm taking the plunge. Thanks guys.

I'll get the base packages installed and get my kernel sorted, then I'll dist-upgrade to SID and work from there.

As long as apt can handle my ISP shutting down every 2 hours I'll be happy.
 
Old 08-26-2003, 04:10 AM   #8
softgun
Member
 
Registered: Jun 2003
Posts: 119

Rep: Reputation: 15
I wish apt worked in windows

Yeah! This is because my USB ADSL modem is not supported by Linux. So no apt-getting for me!
Anyway

When you do apt-get -D
where does it download the files to in the HDD?
 
Old 08-26-2003, 04:14 AM   #9
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
/var/cache/apt/archives

 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM
knoppix 3.4 and no apt-setup how to fix info install apt-file + base-config maximalred Debian 0 10-16-2004 06:36 PM
HELP with apt-getHow come when I tried to use apt-get to remove a package to regain redss Linux - Newbie 1 08-22-2004 11:59 PM
rh9 xd2 apt apt-get problem fix and solution transeunt Red Hat 0 12-16-2003 10:54 PM
apt-get for slackware (the real apt...not swaret or slapt) hypermegachi Slackware 3 10-31-2003 03:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration