I Googled(/etc/mysql/debian-start no such file or directory) and found that this is certainly not an uncommon problem.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://fixunix.com/ubuntu/371589-mysql-etc-init-d-mysql-line-122-error.html"
linktext was:"Here"
====================================
someone fixed it with:
Code: Select all
sudo cp /dev/null /etc/mysql/debian-start
sudo chmod +x /etc/mysql/debian-star
sudo dpkg --configure -a
but later they were warned to get a real copy of the file. One is posted there but it is from 2008. There is a slight variation
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://answers.launchpad.net/ubuntu/+question/24"
linktext was:"here"
====================================
:
Code: Select all
touch /etc/mysql/debian-start
chown mysql:mysql /etc/mysql/debian-start
chmod ug+x /etc/mysql/debian-start
There are also many variations of the purge approach. Finally,
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://compgroups.net/comp.os.linux.misc/problem-reinstalling-mysql/567411"
linktext was:"here"
====================================
is a suggestion to use the --reinstall option:
Code: Select all
apt-get install --reinstall mysql-server
If none of this brings you joy then can will try to install mysql-server and post a copy of the missing file.