That's nice. Now anyone who wishes to base appliances on Lucid Core can nest this patch in their LAMP based patch. The beauty of this is if TKL devs tweak the official TKL LAMP it shouldn't matter and they don't have to pull apart a patch that includes LAMP stuff as well as something else! Good work Basil.

extracting patch LAMP.zip to /tmp/tmp.hOuTvioEHq
gzip: stdin has more than one entry--rest ignored
tar: Child returned status 2
tar: Exiting with failure status due to previous errors

I repackaged it as .tar.gz and it started fine.

The patch is erroring out for me (just one file though):

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Does your patch use file(s) not within the repos that are enabled in TKL by default? I'll have a bit more of a look...

[update again] Turns out my error was caused by a corrupted file on my local Lucid mirror (I use a custom sources.list, same as default, but includes my local Ubuntu mirror listed higher than the default Ubuntu repo). I reverted to default Ubuntu repos and patch completed fine. There were some warnings but obviously not critical:

Not sure whats happening with the zip, wonder why it works for you and not me? I'm doing all this within TKL Core Lucid with only an 'apt-get upgrade' and tklpatch installed. I only tried once and then repackaged as .tar.gz and it worked ok.

In case you missed my edited post above, it was a corrupted file on my mirror that was the problem.

I'll try to have a look tomorrow. Its very late now here and I have to go to sleep...

Its all clear now. So your .zip patches probably would've worked fine, but I think having them packaged as .tar.gz is preferable and removes a step, so that's got to be good!

Thanks for uploading a new patch. Sorry I haven't had a chance to test it yet. I'll hopefully get to it in the next few days. I'm still a bit of a newb but I'll have a look at the phpMyAdmin issue too (although don't hold your breath).

PS I hope you don''t mind I edited some of your posts to take out extra line breaks (& fixed a minor typo).

Unless your problems relate specifically to this patch (which is sounds like it doesn't), you'd be better starting your own thread, probably in the support area.

Secondly, if you're newbie, unless you have a specific need to use a Lucid based LAMP stack then you would probably be better off using the current stable TKL LAMP release. It's secure, works well and requires no additional steps beyond install (such as installing patches). IMO unless you are keen to learn more about TKL and/or help with beta testing there are only 2 valid reasons for using the TKL Lucid Core beta with Basil's LAMP patch. 1) Hardware support (which doesn't apply to you seeing as you're using a virtual environment); or 2) You need to later version of Apache, MySQL and/or php than what's included in TKL LAMP stable.

Third and final point; not sure where you looked but a search (box in top right corner) for "install tklpatch" or "apply tklpatch" turns up quite a few links that would head you in the right direction. Or navigating to Help>>Community Documentation>>TKLPatch - a simple appliance customization mechanismwould've done the trick too! But to make it even easier, have a look at this post I wrote yesterday.

Good luck, any further questions or points that need clarification, please don't hesitate to ask (but perhaps either on that other thread I posted or start your own).

Basil has named his patch "LAMP_Lucid" but the folder inside is actually "LAMP". When TKLPatch processes the patch it unpacks it to a randomly named folder in /tmp. Then it looks for a folder the same name as the patch inside that temp folder. So it is looking for a folder named "LAMP_Lucid" but the folder there is "LAMP". To workaround this issue simply rename the patch prior to applying it:

mv LAMP_Lucid.tar.gz LAMP.tar.gz

then applying it should work. Sorry about that. So much for it being all very easy! Hopefully you'll be right now. Let us know if there's any other issues.

Its possibly a bit late now, but while the steps you used obviously work, I would recommend that you patch an ISO rather than patching the installed system. It is generally more reliable. You could apply the LAMP patch to the ISO first and then apply the OrangeHRM patch to the ISO you have already patched with LAMP. This will mean that you need to install your OrangeHRM ISO into a new VM, but if anything goes wrong you'll be able to simply reinstall from the ISO rather than patch a new system all over again. Also you can burn the ISO to CD and share with friends etc.

@Basil - perhaps you can either rename the patch LAMP.tar.gz or repackage it with the folder inside renamed LAMP_Lucid so this error doesn't occur?

Also I'm not sure if you are aware but patches can be nested (ie one patch inside another). So (if you could be bothered) you could repackage your LAMP based patches (eg OrangeHRM) with an extra folder inside called "patches" where you can put your LAMP patch (for claficiation see "Anatomy of a patch" in the TKLPatch Overview section - also if you don't make the above change first then it will fail). Then the patch can be applied in a single step to TKL Core (no need to apply LAMP first then other patch). Obviously no need to do this as primarily patches are aimed at devs, and the 2 step process isn't too hard. But it may just make it a tad easier for newbs :)

BTW keep up the good work Basil - you've been doing an awesome job with all these patches!