Hi, I am sorry. My release should be Debian3.0r1. I cannot find a file /etc/apt/apt.conf but /etc/apt/apt.conf.d/70debconf. What should I do?
Best regards, Terence Ng --- Alexander Schmehl <[EMAIL PROTECTED]> wrote: > * Terence Ng <[EMAIL PROTECTED]> [030616 > 04:49]: > > > If I am using stable distribution (Debian2.2r1), > using > > Python 2.1, how do I upgrade to Python 2.2.3 in > > unstable distribution (I still want my default as > > stable distribution). > > Edit your /etc/apt/apt.con and add the following > line: > APT::Default-Release "stable"; > > Now edit your /etc/apt/sources.list and add testing > Sources (deb and > deb-src). > > So you could install the new python package by just > typing "apt-get > install python2.2/unstable", but I fear it won't > work, since this > packages are compiled for sid. > If you feel lucky today you can try "apt-get -t > unstable python2.2", > this way apt-get will follow all dependencies in the > unstable tree. > > Untested, but probaly the best way: Create your own > backport, with > "apt-get build-dep python2.2 ; apt-get --build > source python2.2". After > a while you should have some fine .deb's which you > can install with > "dpkg -i". After that you may remove the packages, > which got installed > with apt-get build-dep. > > Sincerely > Alexander > > ATTACHMENT part 2 application/pgp-signature _______________________________________________________________________ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]