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

Completion of upgrade with apt-get



> Hm, I think this is okay, a normal cd would not have a debian/ dir
> though..

     Right, however Andreas has set the Official CD up following the
current hierarchy on the ftp archives.

     I had failed to mention in my previous message that apt-get update
showed one broken package when I started, so I used apt=get -f
dist-upgrade. 

     When I went back to that partition last night, dpkg -l showed mc
as being half installed re-installation required.  I left it alone,
and tried apt-get -f dist-upgrade again, but it said "can't load
library 'libstdc++.so.27'".  dpkg -l told me that libg++27 wasn't
configured.  After "dpkg --configure libg++27" apt-get was happy
again.

     When I ran apt-get -f dist-upgrade, it reported:
1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
193 packages not fully installed or removed.
so the failure was on the last package to be upgraded/installed.  I
don't know if that fact has any significance.

> APT gives up if dpkg dies. I have no way to know what went wrong so I
> can't even begin to work on a recovery strategy. The thing to do is to fix
> the problem and run it again (probably with -f) it will pick up exactly
> where it left off.

     I made no attempt to cure the problem (no clue as to what exactly
the problem was) before starting apt-get.  The first thing it did was
reinstall mc (which was the package being installed when the failure
occurred).  It then proceeded to configure everything without any
further problems.

     The recovery capabilities of apt are quite impressive.  I have
considered adding one or two paragraphs to the upgrade README
describing recovery strategies, but decided not to, since it might
scare the user away and because I don't think my knowledge of the
subject is adequate.  If, however, you think it is worthwhile and are
wiling to right something on the subject, I would be glad to add it to
the README.

Bob
-- 
   _
  |_)  _  |_       Robert D. Hilliard    <hilliard@flinet.com>
  |_) (_) |_)      Palm City, FL  USA    PGP Key ID: A8E40EB9


--  
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: