patch failed on my karmic installation with: sudo patch ./lsb-base-logging.sh < /tmp/mysql-server-error.patch patching file ./lsb-base-logging.sh Hunk #1 FAILED at 84. Hunk #2 FAILED at 114. Hunk #3 FAILED at 136. Hunk #4 FAILED at 156. 4 out of 4 hunks FAILED -- saving rejects to file ./lsb-base-logging.sh.rej
restored lsb-base-logging.sh from backup; sudo apt-get install mysql-server Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libboost-date-time1.34.1 libboost-thread1.34.1 Use 'apt-get autoremove' to remove them. The following extra packages will be installed: libhtml-template-perl mysql-server-5.0 The following NEW packages will be installed: libhtml-template-perl mysql-server mysql-server-5.0 0 upgraded, 3 newly installed, 0 to remove and 1 not upgraded. Need to get 0B/24.3MB of archives. After this operation, 82.1MB of additional disk space will be used. Do you want to continue [Y/n]? y Preconfiguring packages ... (Reading database ... 338086 files and directories currently installed.) Unpacking mysql-server-5.0 (from .../mysql-server-5.0_5.1.30really5.0.83-0ubuntu1_amd64.deb) ... Aborting downgrade from (at least) 5.1 to 5.0. dpkg: error processing /var/cache/apt/archives/mysql-server-5.0_5.1.30really5.0.83-0ubuntu1_amd64.deb (--unpack): subprocess new pre-installation script returned error exit status 1 Selecting previously deselected package libhtml-template-perl. Unpacking libhtml-template-perl (from .../libhtml-template-perl_2.9-1_all.deb) ... Unpacking mysql-server (from .../mysql-server_5.1.30really5.0.83-0ubuntu1_all.deb) ... Processing triggers for man-db ... Errors were encountered while processing: /var/cache/apt/archives/mysql-server-5.0_5.1.30really5.0.83-0ubuntu1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) attachment: my original karmic lsb-base-logging.sh ** Attachment added: "my original karmic lsb-base-logging.sh" http://launchpadlibrarian.net/29009782/lsb-base-logging.sh.backup -- mysql-server-5.0 installation fails https://bugs.launchpad.net/bugs/291987 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs