As others have already said, please go work through the excellent documentation in our wiki regarding networking and come back if you have specific issues with the process.
]]>I did "rm /var/lib/pacman/db.lck"
That's when the current problem started.
But not really. You were probably never connected to the internet. Please follow Trilby's instructions and search the wiki (did you use the Beginners' Guide for your install? That's a good place to start) and tell us what you have done to try to establish an internet connection, and specifically what commands you used and any error messages you received.
]]>I did "rm /var/lib/pacman/db.lck"
That's when the current problem started.
]]>There looks to be two problems: first, you are not connected to the internet. There are good pages on the wiki on how to connect. If - after you try to follow them - you need more help, please clarify how you are trying to connect (wireless, ethernet, any peculiarities of the set up ...) and what steps you have tried. You said this was a VM, so it will most likely be an ethernet connection - even if the physical computer connects wirelessly, the VM will most likely be provided with a virtualized ethernet connection.
Second, your /etc/pacman.d/mirrorlist and/or /etc/pacman.conf are problematic (this is assuming the "ftp/mirror here" is actually what the output said).
Edit: I don't know why you only responded to the second issue when it was clearly stated that that only applied assuming "ftp/mirror here" was the actual output when it was not. This is also one of the reason I specifically asked for the *exact* output you were getting. Redacted or revised error message provide your would be helpers with false information. It certainly is not always practical to post the entire output and understandable to snip out some bits - but you'll need to be very clear in your posts when you have done this.
]]>The first step, however, should be to take much more care to pay attention to what you are typing*. Think about what the command means and what it should do, don't just type out random commands (especially with sudo) without knowing exactly what they are going to do.
Now, can you clarify what you are trying to do, exactly what command(s) you enter, and exactly what the returned result is?
*edit: this is meant for commands you enter not your forum posts. The lack of care and precision in the post, leads me to suspect that you might be as quick with entering commands and they may be malformed or mistyped. This itself would cause all sorts of problems.
]]>Could Not Resolve Host.
...
Curl nor Ping will work on www.google.com....
Do you mean that curl and ping do not work, or that curl or ping work? I'm confused by the use of "nor" here.
]]>