Comments are in line.
At 03:38 AM 2/10/02, Paul E Condon wrote:
I want to upgrade my system from Potato to Woody. I am confused by the
instructions. In particular, the instructions about the changes that I
need to make to /etc/apt/sources.list
The six non-comment lines in my current sources are:
deb cdrom:[Debian GNU/Linux 2.2 r5 _Potato_ - Official i386 Binary-1
(20020116)]/ unstable contrib main non-US/contrib non-US/main
deb cdrom:[Debian GNU/Linux 2.2 r5 _Potato_ - Official i386 Binary-2
(20020116)]/ unstable contrib main non-US/contrib non-US/main
deb cdrom:[Debian GNU/Linux 2.2 r5 _Potato_ - Official i386 Binary-3
(20020116)]/ unstable contrib main non-US/contrib non-US/main
deb http://http.us.debian.org/debian stable main contrib non-free
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb http://security.debian.org stable/updates main contrib non-free
put a # in front of the CD lines so it would look like
# deb cdrom [BLAH}
Change the word stable to testing:
deb http://http.us.debian.org/debian testing main contrib non-free
deb http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free
If I understand the past emails I read, the security line is not needed.
Again IIUC security is only used for stable anyway, since the updates are put
strait into unstable, and about a week later moved down to testing.
The CDs are burnt from images that I downloaded using jigdo.
I used apt-cdrom to get them into sources.list
The other three lines were placed in sources.list as comments by the
initial install.
I uncommented them, but did not change any of the character strings on them.
First question is something of an aside: Why are the CDs said to be
"unstable"?
Someone (who ever complied the cds) trying to create a Potato/Sid cross
breed maybe?
Don't really know.
More serious question:
I know I need some lines containing "testing" or "woody", but should I
remove the
lines containing "stable"? or should a add new lines and keep the lines
containing
"stable"?
Won't need stable anymore, just change stable > testing
Should I keep, or remove, the lines concerning the CDs?
And is there a correct way to remove, or do I just use emacs?
I personally keep them and comment them out until later need.
Also, I attempted to install jigdo from a .deb. There were unsatisfied
dependencies, so
jigdo is in there in a suspended state. Should I remove it first? How? I
think I must
remove it because all my attempts to upgrade so far have aborted with a
complaint about
jigdo being uninstallable. But maybe the real problem is that I haven't
shown apt-get
the way to find the more recent versions of installed packages.
dpkg --help would tell you about the purge and remove options (check
apt-get --help as well)
And last question: If I should keep all the lines that I now have, and add
lines for
testing, is the order of the lines important? Should the "testing" lines
go before or
after the "stable" lines?
That would be a mess.
This site has a decent mini-howto on upgrading as well
http://www.linuxnewbie.org/nhf/intel/distros/deb/apt.html
Chris