I'd like to decouple my Drupal 7 installation from the OS package management.
This is because Ubuntu's current LTS version (14.04) has Drupal 7.26, imported from the Debian packages at the time of release - it's now fixed at that version and they won't move to a later one.
Some security fixes have been backported, but not necessarily all. This is mostly due to policy issues with regards to software versions within the Ubuntu project, so the best solution is to reinstall my Drupal instance so that it's not under the control of the package management system.
I've been looking for information on this for a few days now, and can't find much of use.
I have the Backup and Migrate module, so can use that. I also have drush installed (albeit, ironically, via package management).
I can't get drush to update Drupal at all. My experience here (remembering back to Drupal 6) is that the Ubuntu package management has set some kind of flag that means Drupal doesn't check for updates for itself, only for modules & themes. "sudo drush up drupal" results in "specified project not found" for the drupal project.
Drush is updating modules and themes OK, just not core - so I believe I can probably install via drush.
My current plan is this:
- Perform a backup (drush bam-backup)
- Stop apache (service apache2 stop)
- Remove the packaged version of Drupal (apt-get remove drupal7)
- Install Drupal (drush dl drupal)
- Restart apache (service apache2 start)
- Restore the backup (drush bam-restore)
Does this look OK? Will I need to do anything between steps 4 & 6 (like set up the website system again)? Or am I approaching this the wrong way entirely?