How to remove/uninstall partial apt-get install
I messed up. I ran `apt-get install krb5-kdc krb5-admin-server`, but partway through I CTRL-C'd out because I thought I did the wrong package. After reconsidering, I tried to re-run the apt-get command. It appears to have ended badly:
Code:
Setting up krb5-kdc (1.12+dfsg-2ubuntu5.1) ... |
Code:
man apt-get first thing i'd try is to fix broken packages, purge the undesired packages, do an "apt-get autoremove" tell us how you fared with those (including output). or maybe it'll fix the problem. |
Not enough information to be sure but my suggestion is to try this;
Code:
sudo apt-get purge krb5-kdc krb5-admin-server If you get errors while trying to purge those packages, then run; Code:
sudo apt-get install --fix-missing It looks like the package installed okay but needs to be configured properly. |
You can try
Code:
sudo dpkg --configure -a |
Thanks all for the info. I'll keep this for the future. I've had occasion to install other stuff than needs these supposedly aborted packages, and everything seem to work OK, so I'll not mess at the moment.
|
you should probably still run the command suggested in post #4, as root.
it should find & fix anything that went wrong, without uninstalling anything. it basically means "check for inconsistencies rebuild the whole package management on my computer" |
All times are GMT -5. The time now is 01:56 PM. |