wheakory wrote:I've added the repos you mentioned what would be the next step in the process.
I'm not in the habit of repairing broken systems so it's a question of playing it by ear. By the way, does the server still have internet connectivity?
Is the
dpkg tool still functional? If so, the next step is to deal with all the broken, i.e, half-configured packages.
I think you should reinstall the packages from /var/cache/apt/archives/
The problem is that if the broken packages are all removed by using another method, a lot of vital dependences could get ripped out rendering the system as dead as a doornail. But both aptitude or apt cannot be used at this stage. Take a look there, and if you post the output, please wrap it in code blocks so it looks like this:
Code: Select all
$ cd /var/cache/apt/archives && ls
Assuming you haven't previously cleaned out that directory, then I think you should later be able to use the following command to reinstall the deleted packages from that directory thus overwriting the broken packages.
Code: Select all
# dpkg -i --force-overwrite /var/cache/apt/archives/
But you'll have to append exactly the same packages you removed to this command.