Re: Sources list for upgrade from sarge to etch?



On Mon, Apr 09, 2007 at 03:45:29PM -0500, Michael Kerwin wrote:
I am trying to upgrade a computer from sarge to etch and I am reading the
release notes about it and it says to use aptitude to update and etc.

My question is what should I change my sources.list in /etc/apt to? Because
it says in the release notes to make sure it points to sarge when doing the
update. Since etch is now the stable I have tried changing the sources list
to oldstable and even tried sarge and it couldn't connect with the changes.
I saw and email or something the sarge was changing to oldstable.

I only have 3 line in my sources list.

Deb ftp://ftp.usdebian.org/debian/ oldstable main contrib. non-free
Deb-src ftp://ftp.us.debian.org/debian/ oldstable main contrib. non-free
Deb http://security.debian.org/ oldstable/updates main contrib. non-free


Basically, the release notes want to make sure that you have a clean
install of Sarge before you attempt the upgrade.

Since during the upgrade you won't be compiling from source, you can
comment out the Deb-src line.

The sources list should point to a named release. The following should
do it, and I removed the '.' after 'contrib':

Deb ftp://ftp.usdebian.org/debian/ sarge main contrib non-free
Deb http://security.debian.org/ sarge/updates main contrib non-free

Remember to do everything from aptitude. If you want to keep a script
copy, do it from the command line. If not, do it interactivly.
Actually, until you're ready to do the upgrade itself, I would use
aptitude interactivly (curses interface) so I can see exactly what it
wants to do.

Follow along the release notes step by step, omitting nothing. Word to
the wise as noted in section 4.1.3 and 4.1.4; be prepared for the system
not to boot. Be able to boot by an alternate means: installer CD rescue
mode, grub-disk; from other than a remote login.

When, and only when, the release notes tell you to change the sources
list to etch, you would change 'sarge' to etch.

Good luck.

Doug.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Questions about Debian package management
    ... At work we have a couple of sarge machines, and at home, I have ... They are related to aptitude. ... Among many packages, ... If I tried to upgrade it through aptitude, ...
    (comp.os.linux.misc)
  • Re: mysql 5.0
    ... and I could install mysql 5.0 from backport, ... > You could upgrade to sarge from woody, but I can't tell you that you ... > you do decide to make the upgrade, ... > with aptitude update, and then attempt the system upgrade with aptitude ...
    (Debian-User)
  • Re: mysql 5.0
    ... >> You could upgrade to sarge from woody, but I can't tell you that you ... If>> you do decide to make the upgrade, ... Change your /etc/apt/sources.list to>> point to stable or sarge rather than woody. ... Update your package list>> with aptitude update, and then attempt the system upgrade with aptitude ...
    (Debian-User)
  • Re: networking problem with 2.6.4 kernel [was: Re: 2.6.4 kernel install wants to remove current kern
    ... > apt's sources list, and you run aptitude, then aptitude wants to ... > upgrade your system to sarge. ... > choosing to upgrade a package unless Auto-Upgrade chose to upgrade it) ...
    (Debian-User)
  • Sources list for upgrade from sarge to etch?
    ... I am trying to upgrade a computer from sarge to etch and I am reading the ... release notes about it and it says to use aptitude to update and etc. ... Deb http://security.debian.org/ oldstable/updates main contrib. ...
    (Debian-User)