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

Re: updating with aptitude



On Fri, Apr 21, 2006 at 10:06:19AM -0700, Andrew Sackville-West wrote:
> On Fri, Apr 21, 2006 at 12:13:10AM -0400, Kevin Mark wrote:
> > On Thu, Apr 20, 2006 at 02:44:06PM -0700, Christopher Nelson wrote:
> > > On Thu, Apr 20, 2006 at 09:32:38PM +0000, lostson wrote:
> > > > Hello 
> > > >  I have a laptop and a desktop machine running sarge. I would like to
> > > > update them to etch. I am thinking I have heard I can do this with
> > > > aptitude, is this possible and if so anyone got a links to a good doc?
> > > > Or can I jsut use my sources list from this machine on the other 2 and
> > > > do a apt-get update then apt-get upgrade ? Thanks.
> > > 
> > > It is possible, just edit '/etc/apt/sources.list' in your favourite
> > > editor and replace all occurances of "stable" or "sarge" with either
> > > "testing" (if you want to stay with newer stuff after etch is released)
> > > or "etch" (if you want to use etch once it becomes 'stable').  Then a
> > > simple 'apt-get update' and 'apt-get dist-upgrade' (mind the dist-) will
> > > update.  Watch your updating however, there have been some changes since
> > > sarge, like xfree86 -> xorg, so prepare to reinstall some packages and
> > > deal with some brokenness.
> > > 
> > the difference between upgrade and dist-upgrade
> > 
> > before
> > |sarge|etch| pkg name
> > |x    |    | A.sarge
>   |--   |    | A.etch
> > |x    |    | B
> > |x    |    | C
> > |x    |    | D
> > |x    |    | E
> > |x    |    | F.sarge
>   |--   |    | F.etch
> > |x    |    | G
> > |x    |    | H
> > |x    |    | I
> > 
> > upgrade
> > |sarge|etch| pkg name
> > |x    |    | A.sarge
>   |--   |    | A.etch
> > |     |x   | B
> > |x    |    | C
> > |x    |    | D
> > |     |x   | E
> > |     |x   | F.sarge
>   |--   |    | F.etch
> > |     |x   | G
> > |     |x   | H
> > |     |x   | I
> > 
> > dist-upgrade
> > |sarge|etch| pkg namme
>   |     |--  | A.sarge
> > |     |x   | A.etch
> > |     |x   | B
> > |     |x   | C
> > |     |x   | D
> > |     |x   | E
> > |     |--  | F.sarge
> > |     |x   | F.etch
>   |     |x   | G
> > |     |x   | H
> > |     |x   | I
> 
> 
> Isn't is more like what I've added above.
> 
> 
> IOW. a dist-upgrade will remove packages. some etch packages don't
> exist in sarge and vice-versa. so some of the sarge packages will be
> reomved and replaced with different packages from etch? 
Yes. I was 'simplifying' a bit to show that 'upgrade' leave you with a
mixed system and dist-upgrade leaves you with a non-mixed system.
Cheers,
Kev
-- 
|  .''`.  == Debian GNU/Linux == |       my web site:       |
| : :' :      The  Universal     | debian.home.pipeline.com |
| `. `'      Operating System    | go to counter.li.org and |
|   `-    http://www.debian.org/ |    be counted! #238656   |
|     my keysever: pgp.mit.edu   |     my NPO: cfsg.org     |

Attachment: signature.asc
Description: Digital signature


Reply to: