Taannoin kyselin linuxiin kirjanpito-ohjelmaa tuolla:
http://forum.ubuntu-fi.org/index.php?topic=16867.0 ja ennen kuin ratkaisu tuohon ongelmaan löytyi, niin yritin asentaan PkLasku-laskutusohjelmiston seuraavien ohjeiden mukaan:
http://forum.ubuntu-fi.org/index.php?topic=6362.0.
Apachen ja PHP:n asennus meni hyvin
sudo apt-get install apache2 php5
mutta MySQL:n asennuksessa
sudo apt-get install mysql-server mysql-client
tuli joku virheilmoitus, jota en nyt muista. Tuolloin kuitenkin unohdin ongelman saatuani kirjanpito-ohjelma Tappion toimimaan.
Mutta MySQL:n asennus ilmeisesti rikkoi paketit ja on estänyt asennuksen jälkeen päivityksen ja ohjelmien asentamisen. Päivitys tuottaa virheilmoituksen:
sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
cupsys cupsys-bsd cupsys-client cupsys-common libcupsimage2 libcupsys2
openssh-client
7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 4107kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://security.ubuntu.com gutsy-security/main openssh-client 1:4.6p1-5ubuntu0.2 [657kB]
Get:2 http://security.ubuntu.com gutsy-security/main libcupsys2 1.3.2-1ubuntu7.6 [183kB]
Get:3 http://security.ubuntu.com gutsy-security/main libcupsimage2 1.3.2-1ubuntu7.6 [46.1kB]
Get:4 http://security.ubuntu.com gutsy-security/main cupsys-common 1.3.2-1ubuntu7.6 [1080kB]
Get:5 http://security.ubuntu.com gutsy-security/main cupsys 1.3.2-1ubuntu7.6 [2018kB]
Get:6 http://security.ubuntu.com gutsy-security/main cupsys-bsd 1.3.2-1ubuntu7.6 [36.5kB]
Get:7 http://security.ubuntu.com gutsy-security/main cupsys-client 1.3.2-1ubuntu7.6 [86.5kB]
Fetched 4107kB in 1m31s (44.7kB/s)
Preconfiguring packages ...
(Reading database ... 147696 files and directories currently installed.)
Preparing to replace openssh-client 1:4.6p1-5ubuntu0.1 (using .../openssh-client_1%3a4.6p1-5ubuntu0.2_i386.deb) ...
Unpacking replacement openssh-client ...
Preparing to replace libcupsys2 1.3.2-1ubuntu7.5 (using .../libcupsys2_1.3.2-1ubuntu7.6_i386.deb) ...
Unpacking replacement libcupsys2 ...
Preparing to replace libcupsimage2 1.3.2-1ubuntu7.5 (using .../libcupsimage2_1.3.2-1ubuntu7.6_i386.deb) ...
Unpacking replacement libcupsimage2 ...
Preparing to replace cupsys-common 1.3.2-1ubuntu7.5 (using .../cupsys-common_1.3.2-1ubuntu7.6_all.deb) ...
Unpacking replacement cupsys-common ...
Preparing to replace cupsys 1.3.2-1ubuntu7.5 (using .../cupsys_1.3.2-1ubuntu7.6_i386.deb) ...
* Stopping Common Unix Printing System: cupsd [ OK ]
Unpacking replacement cupsys ...
Preparing to replace cupsys-bsd 1.3.2-1ubuntu7.5 (using .../cupsys-bsd_1.3.2-1ubuntu7.6_i386.deb) ...
Unpacking replacement cupsys-bsd ...
Preparing to replace cupsys-client 1.3.2-1ubuntu7.5 (using .../cupsys-client_1.3.2-1ubuntu7.6_i386.deb) ...
Unpacking replacement cupsys-client ...
Setting up mysql-server-5.0 (5.0.45-1ubuntu3.3) ...
* Stopping MySQL database server mysqld [ OK ]
* Starting MySQL database server mysqld [fail]
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.0 (--configure):
subprocess post-installation script returned error exit status 1
Setting up openssh-client (1:4.6p1-5ubuntu0.2) ...
Setting up libcupsys2 (1.3.2-1ubuntu7.6) ...
Setting up libcupsimage2 (1.3.2-1ubuntu7.6) ...
Setting up cupsys-common (1.3.2-1ubuntu7.6) ...
Setting up cupsys (1.3.2-1ubuntu7.6) ...
Reloading AppArmor profiles : done.
* Starting Common Unix Printing System: cupsd [ OK ]
Setting up cupsys-client (1.3.2-1ubuntu7.6) ...
Setting up cupsys-bsd (1.3.2-1ubuntu7.6) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
mysql-server-5.0
E: Sub-process /usr/bin/dpkg returned an error code (1)
Edellisten ohjelmien poistaminenkaan ei ole onnistunut vaan päätynyt virheilmoituksiin.