[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? 

AFAIK packages will be replaced if a newer version exists, and packages
will only be removed if some new package has conflicts.

/M

-- 
Magnus Therning                    (OpenPGP: 0xAB4DFBA4)
magnus@therning.org
http://therning.org/magnus

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

The day after tomorrow is the third day of the rest of your life.

Attachment: pgppp0w54M1rV.pgp
Description: PGP signature


Reply to: