[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: continuing upgrade after losing connection



On Sat, Sep 02, 2000 at 02:46:31AM -0800, alice@cascoind.com wrote
> hi, I'm in the process of upgrading from slink to potato. I'm at the step
> where i'm doing apt-get --feixbroken --show-upgraded dist-upgrade. My isp
> is set up such that I only have a connection for up to 8 hours at a time. I
> ran the apt command overnight last night and got a lot of packages but it
> wasn't long enought to get everything. Is there way to indicate to apt-get
> which packages I now have in /var/cache/apt/archives so that it doesn't try
> to re-download them and starts with the files it doesn't already have?
> (please keep in mind that if any of the answer to this is in the man pages
> for apt-get, sources.list, or apt.conf that for whatever reason, I've never
> gotten those pages in my current installation and I can't find what package
> might have included them that I might e missing. That's one thing I'm
> really hoping will change with this upgrade, it's very frustrating not to
> be able to read parts of the FM for myself)
> 

Just my understanding, but I believe that apt is smart enough to 
check its cache before downloading, so if it's already got a bunch of
stuff it won't get those again.

> here's a thought.... if I did a dpkg --get-selections > filename and went
> in and editted it so that everything I already have is set to 'hold' and
> then did a dpkg --set selections < filename would that non-dangerously do
> what I want to do, or does it have the potential to seriously F anything
> up?
> 
> -Alice (come on potato... big upgrades... no whammies... no whammies...)
> 

Your main danger is of running out of space in /var/cache/apt/archives; 
if it looks like you will and you can't arrange for more space
try upgrading a few large thing incrementally first, like maybe

# agt-get install emacs20
# apt-get install task-tex
# apt-get upgrade
# apt-get dist-upgrade


John P.
-- 
huiac@camtech.net.au
john@huiac.apana.org.au
http://www.mdt.net.au/~john Debian Linux admin & support:technical services



Reply to: