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

Re: recommended sid upgrade method



On Tue, Nov 18, 2003 at 09:49:03PM -0500, Neil Roeth wrote:

> On Nov 18, Zenaan Harkness (zen@iptaustralia.net) wrote:
>  > I assume that (generally speaking) as DD's (in NM training or otherwise)
>  > are expected to have a reasonably up to date sid install, whether
>  > native, chroot, or whatever.
>  > 
>  > What I'd like to know is, which upgrade command should I use. For
>  > example, I currently know of, and have used, the following:
>  > 
>  > 1) apt-get upgrade
>  > 2) apt-get dist-upgrade
>  > 3) apt-get dslect-upgrade
>  > 4) aptitude dist-upgrade
>  > 5) wajig dist-upgrade
>  > 
>  > I never read the man pages enough to grok 1), so really always used 2),
>  > up until a month or two back when I discovered 3), and I've looked with
>  > interest at the difference in download size between 2) and 3). I guess I
>  > need to read the man pages to grok the difference there again too.
>  > Finally, now there is 5), and I wonder which one it corresponds to...

1) Will upgrade as many packages as possible without installing any new
packages or removing any installed packages

2) Will uprgade as many packages as possible, attempting to be smart about
what to remove and install in order to upgrade installed packages

3) (assuming you mean dselect-upgrade) is intended to be used with dselect,
and uses the selection information in the status file.  If you aren't using
dselect, it probably isn't always what you want.

4) Is mostly equivalent to 2, but gives you much more flexibility by
allowing you to make changes to the proposed upgrade before executing it.

5) Is probably equivalent to 2.

-- 
 - mdz



Reply to: