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 | I have entered: APT::Default-Release "unstable"; into /etc/apt/apt.conf I haven't heard of this option before, but that doesn't mean anything. HTH, -D