Quote:
Originally Posted by jdkaye
The reason is your preferences file. You give weighted preferences (presumably higher for squeeze than experimental). Now you want to install python3.1 so the system first looks in the squeeze repos and can't find it. Then it tries (as per your preferences file) the experimental repos and there it is. You would only see a difference in behaviour of your two commands (with or without the -t experimental) if the package you want to install has the same name in both repos.
Hope that's clear.
Cheers,
jdk
|
Hi jdk, thanks for replying.
So, my perception that experimental will be triggered only with the
-t experimental option is wrong.
Q1. Apt-get (aptitude) will install whatever is available in any of the repositories listed in source.list - preference given to the higher weighted repositories?
The
-t experimental option will force an install from the experimental repositories even if the package is available in other repositories.
Q2. If I am to do a apt-get upgrade, does it mean that I will be upgrading from SID instead of Testing?
Q3. If you allow me to sidetrack a little. Assuming that the mirror that I've configured for testing is
deb
http://http.us.debian.org/debian/ testing main contrib non-free
Am I right to safely assume that the unstable and experimental repository will be:
deb
http://http.us.debian.org/debian/ unstable main contrib non-free
deb
http://http.us.debian.org/debian/ experimental main contrib non-free
Thanks in advance for the help