This rudimentary patch catches this situation where aptitude would otherwise just install the latest available version of the package - even though you requested a specific version - and with this patch applied, it aborts when it finds out this is the case, instead of installing "latest version" of the requested package.
IMHO the correct thing to do. You probably want to stop the processing in some other way than using abort() - and the printf may or may not need to be there (it does print out the error earlier on as well). ** Patch added: "Patch to make aptitude barf when it can't deliver the requested package version" http://launchpadlibrarian.net/53096367/aptitude.patch -- aptitude returns 0(=OK) even if install fails https://bugs.launchpad.net/bugs/585408 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs