Why can't we remove packages with unmet installation dependencies?
- User installs a package.
- Say, the installation is only partially complete with unmet dependencies. (package needs xxx but xxx is not going to be installed, for example.)
- User attempts to back out of the installation and remove the original package.
- User can not remove the package, the message returned asks the user to "try apt-get install -f", which fails because the dependencies are not available.
If the prerequisites needed for installation are not there when a user attempts to remove an incomplete package, they should be just tagged as "done" by the uninstall process rather than making successful installation a prerequisite for removal. Right?
I would expect apt-get remove --purge take out even a partially installed package and consider and tag missing prereqs equal to "already removed".
Would like to know why it can't be done, please.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask matti salminen for more information if necessary.