This isn't a bug as such, its a design decision acted out.
If not requested otherwise, APT is installing for each package the version with 
the highest preference. No implicit derivations: This makes it as predictable 
as it is required for a low-level tool.

If you want mylib version 1 instead of the more preferred version 2,
than YOU have to tell APT explicitly that you want that. That a package
wants another version (even explicitly) isn't more important than what
the user wants (even if implicitly).

Note by the way that downgrading packages as suggested in the
stackoverflow answer is NOT SUPPORTED by Ubuntu/Debian. It will work for
many packages, but APT itself will never suggest a downgrade on its own
– only if the user forces it and in this case it is assumed that the
user actually knows what (s)he is doing as there is a chance that it
will not work (think of maintainerscripts and/or transitions from
conffile format v1 to v2).

** Changed in: apt (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1238982

Title:
  apt-get installs newer version even when older one is explicitly
  requested

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1238982/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to