With either one of the following commands, I expect python-omniorb-omg
to be installed, which didn't get so however. The package is a recommended
package according to python-omniorb description in Raring.
$ sudo apt-get install --reinstall python-omniorb
$ sudo apt-get install --reinstall --install-recommends python-omniorb
I purged python-omniorb
and ran the simplest command like below, then the recommended package got installed.
Although
$ sudo apt-get install python-omniorb
Am I missing something wrong here with --reinstall
option?
(I'm not sure how python-omniorb
got previously installed while one of its recommended packages wasn't installed).
From
apt-get
manpage:If you provide (to
install
) the name of a package that is already installed, it will be upgraded as well as its dependencies (if necessary). Note that a recommended package is not a dependency.Also,
--reinstall
re-installs only the packages that are already installed.--install-recommends
has no effect in this case because no package is going to be installed (only upgrades). I think this is the expected behavior. If you choose to not install (or to remove) a recommended package, you will not want that package installed whenever you do an upgrade.Maybe the recommended package wasn't installed at the first time due to download failure (or maybe something else).