I'm upgrading a Debian installation which has been running the dotdeb package for MySQL 5.6. Since dotdeb isn't supporting MySQL anymore, I'd like to migrate to the repo hosted directly by Oracle.
Removing dotdeb is easy: just remove the repo from /etc/apt/sources.list
. Likewise, adding the Oracle repo is easy: edit the same file to add it.
But, I'd like to make sure that I:
- Don't delete anything important -- such as config files, data, etc.
- Don't leave any old, outdated packages or files around
- Don't get any errors from
apt
going forward
I suspect I just want to do this:
apt-get remove mysql-server
(and any associated packages)- Remove dotdeb repo from
/etc/apt/sources.list
, add Oracle's repo apt-get install mysql-server
(and any associated prerequisites)
I will make sure to back-up everything, but I'd rather do it right the first time and not require any restoration if possible.