installing the LAMP server on the VM running remote installation on the host terminal vis ssh. It worked without problem. After having finished "1 Preliminary Note" I took a break with the PC switched off.
After the break I started the PC and the server on the VM. Unfortunately I forgot to run;
$ ssh user@192.168.0.101
on the host terminal to login on the server.
Then I followed "2 Install Postfix, Courier, Saslauthd, MySQL, phpMyAdmin" installing;
Ouch, that hurts! (Been there, done that... )
The thing is, openssl is installed with the system and lots of packages depends on it, that's why it couldn't be removed the normal way.
First thing: Always check what will be removed before confirming!
How to fix:
You need to start without graphic, there should be an option for that in Grub's boot menu?
Or you could edit "on the fly", press 'E' when you're in grub's menu. (Well, I'm still used to grub legacy you probably have grub2 there could be some differences but I'm sure you can edit grub2's menu on booting.)
Once you manage to get to a console, try "apt-get install openssl" to start with, if that works install all you can think of.
If you're unlucky, like I was when doing exactly the same on OpenSuse, too much is lost and reinstalling is only way out.
If you have partitioned properly ( that is, your own stuff like all VM's on separate partition) you shouldn't lose anything but your time.
But first question to you is: can you get a console on the host?
Good you got it back!
Now for openssl, don't try to remove it.
The guide you followed mentioned packages needed, if you had looked closely when issuing "apt-get instal ... openssl ..." you would have noticed a message like "opennssl is already latest version".
It is normally installed with the base system, and very much needed.
Mysql, apache, courier et al should not be a problem to deinstall.
Just take a look at what packages will be removed with them.
......
......
Setting up colord (0.1.16-2ubuntu0.1) ...
dpkg: error processing colord (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
colord
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ubuntu Desktop restarts but some icons on the left column bar removed, such as LiberOffice, UbuntuOne, UpdateManager etc. I have no idea whether their packages have been removed or NOT. I'll find them out later.
Then ran;
$ sudo apt-get install --reinstall libsasl2-2
Code:
...
....
Setting up colord (0.1.16-2ubuntu0.1) ...
dpkg: error processing colord (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up libsasl2-2 (2.1.25.dfsg1-3ubuntu0.1) ...
Setting up libsasl2-2:i386 (2.1.25.dfsg1-3ubuntu0.1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
colord
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have following mistakenly installed packages still running on Ubuntu Desktop
I won't touched them. I'll wide out the complete box after removing the VMs from this box to a new PC.
This PC has been running sometimes, 3~4 years with following config;
- AMD Core4
- RAM 8G
- ASUS Mobo
I have been planning building a new PC about 2~3 months with following config;
Code:
- AMD 8-Core FX-8150 3.6GHz/16M CPU [AM3+] FD8150FRGUBOX [Black Edition]
- ASUS M5A97 R2.0 AMD 970,DDR3,USB3.0,SATA3 6Gb/s,ATX M/B
- ASUS DI-A6450G1 HD6450 PCI-E 1GB DDR3 [Low Profile]
(no graphic editing. Only 2D for desktop)
- Corsair Vengeance CMZ32GX3M4X1600C10 DDR3 1600MHz 32GB Kit (4x8GB)
What I haven't decided is HD. I have spare 1T HD available. It'll satisfy my current need. However I like the speed of SSD. But a 512GB SSD is still quite expensive today. Most likely I'll use the spare 1T HD first. I have spare new power supply still in box unpacked.
Have you had any advice or experience in moving VMs to share? TIA
Bookmarks