On Sun, Feb 17, 2002 at 06:43:51PM -0500, Rick Pasotto wrote: | On Sun, Feb 17, 2002 at 12:33:22PM -0500, dman wrote: | > On Sun, Feb 17, 2002 at 12:00:18PM -0500, Rick Pasotto wrote:
| > | Why do 'apt-get install' and 'apt-cache show' give different results? | > | > 'apt-cache show' will show the details of all the available versions. | > If you just want to see which versions are available and what you've | > set your preferences to, try 'apt-cache policy'. Perhaps you've set | > potato at a higher priority than woody, thus you're (unintentionally) | > trying to install the potato version. | | What preferences? In the apt-howto there is a mention of | /etc/apt/preferences (which doesn't exist on my system) but all it talks | about is downgrading. Yes, those preferences. Mine is : Package: * Pin: release a=testing Pin-Priority: 900 Package: * Pin: release a=stable Pin-Priority: 500 Package: * Pin: release a=unstable Pin-Priority: 95 IOW, if a package exists in testing, it is the most preferred. Next it stable. Following that is already installed stuff (priority = 100) and unstable will never be preferred unless the package exists nowhere else. | 'apt-cache policy' shows everything as 500. The only potato entries in | my sources.list are to security.debian.org. All the other entries are | for 'testing'. Hmm, odd. What version does 'apt-cache policy' show you? Is it 0.6.8? -D -- If we confess our sins, He is faithful and just and will forgive us our sins and purify us from all unrighteousness. I John 1:9