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

Re: is upgrading from 2.1 to 2.2 via apt-get OK ?



On Sat, Jun 26, 1999 at 02:32:33PM -0700, John Lapeyre wrote:
> *John Lapeyre wrote:
> > 	Has anyone tried to upgrade from a virgin 2.1 installation  to
> > a current 2.2 via "apt-get upgrade" ?   I am a bit afraid.
> > 
> 
> I did this a couple of days ago.  There were about 350 packages
> upgraded.  In sum, it worked quite well.  It quit a couple of time
> because packages were trying to overwrite files.  I overrode these
> and sent messages to the maintainers of the offenders.  I had to run
> ap-get dist-upgrade about 5 more times because things were being
> configured out of order.  But that was all relatively painless.

an additional data point:

it's worked for me on several machines. my upgrade procedure is to
use dselect with apt as the install method rather than just 'apt-get
dist-upgrade' - this allows me to select which new packages i want
to install as well as upgrade all the old packages. it also avoids
conflicts/depends/ordering problems caused by packages being renamed -
dselect resolves them before apt is asked to do anything.

to avoid problems with overwriting files, i created an /etc/apt/apt.conf
file with the following lines:

---cut here---
DPkg 
{
   Options {"--force-overwrite";}
}
---cut here---

i've wanted that feature in dpkg for ages (for me it's more important
for an upgrade to complete smoothly than it is to know about packages
which don't properly use diversions). apt now provides it, so i'm happy :)

craig

--
craig sanders


Reply to: