On Fri, Aug 17, 2001 at 01:12:16PM -0400, dman wrote: > On Fri, Aug 17, 2001 at 06:55:03PM +0200, Bostjan Muller wrote: > | Hi! > | > | I have added the path for Debian/testing to my sources.list to downgrade > some > | packages, but now there are some problems doing apt-get upgrade. Could > someone > | please tell me which file contains the configuration, to determine the > default > | distro (stable/testing/unstable) for downloading and installing packages via > | apt? I saw this on the list once, but could not find it in archives. > > apt will pick the newest version available. What apt sees as > available depends on your sources.list file. I don't think it will > work well to have both testing and sid at the same time since sid will > always have newer (or equal) packages. If you want a package from > testing be sure that only testing is in sources.list and run 'apt-get > update && apt-get upgrade'. Then change sources.list to have unstable > if you want and rerun 'apt-get update'. The "update" is when apt gets > a new view of what versions exist. If you want an older package from > testing but don't want to upgrade to the new one in unstable you need > to "hold" the package. I recently learned that to do this run > echo <packagename> hold | dpkg --set-selections
In fact I'm told this works fine if you "pin" testing as preferred; packages from sid will then be installed if you ask for them specifically (e.g. via apt-get install). However, I don't claim to understand pinning as I've never used it. Joey Hess posted how to do it here a while back ... -- Nathan Norman - Staff Engineer | A good plan today is better Micromuse Ltd. | than a perfect plan tomorrow. mailto:[EMAIL PROTECTED] | -- Patton
pgpqKCsE8kIZQ.pgp
Description: PGP signature