Problem for install mysql-server package

Loic SOULAS loic.soulas at openevents.fr
Tue Aug 4 12:32:04 CEST 2015


Hi,

I use FAI 4.0.8~deb7u1, to install a Debian system. (Wheezy).
My install is Ok, but I had to try to add a mysql-server in my package list,
and my installation is not working

the grup-pc package does not want to install.

my package_config:

PACKAGES aptitude

# lamp
mysql-server
apache2
php5
...

error log :

fai.log:find: `/lib/modules/3.2.0-4-amd64/kernel/drivers/ide/pci': No such file or directory
fai.log:WARNING: The variable USE_SETUP_STORAGE is not needed any more.
fai.log:instsoft.GRUB        FAILED with exit code 1.
fai.log:mysql-server-5.5 failed to preconfigure, with exit status 30
fai.log:dpkg: error processing /var/cache/apt/archives/mysql-server-5.5_5.5.44-0+deb7u1_amd64.deb (--unpack):
fai.log: subprocess new pre-installation script returned error exit status 30
fai.log:Errors were encountered while processing:
fai.log:E: Sub-process /usr/bin/dpkg returned an error code (1)
fai.log:A package failed to install.  Trying to recover:
fai.log:Can't exec "update-grub": No such file or directory at /var/lib/dpkg/info/linux-image-3.2.0-4-amd64.postinst line 665.
fai.log:User postinst hook script [update-grub] failed to execute: No such file or directory
fai.log:dpkg: error processing linux-image-3.2.0-4-amd64 (--configure):
fai.log: subprocess installed post-installation script returned error exit status 255
fai.log:Errors were encountered while processing:
fai.log:ERROR: 65280 65280
fai.log:ERROR: chroot /target aptitude -R -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confnew install linux-image-3.2.0-4-amd64 memtest86+ linux-image-amd64 grub-pc mdadm iftop tcpdump locate nmap vim iproute cfengine2 cron bc debconf-utils discover file hdparm jove less nfs-common rdate rsync rsh-client openssh-client openssh-server strace tcsh time procinfo eject locales console-common console-setup pciutils usbutils postfix ntpdate ntp python-central psmisc dnsutils lshw telnet adduser lsb-base openbsd-inetd lsb-release initramfs-tools screen nagios-nrpe-server nagios-plugins-standard nagios-plugins-basic rrdtool molly-guard git mailutils sudo gawk zip sshpass mysql-server apache2 php5 libapache2-mod-php5 apache2-mpm-prefork php5-mcrypt php5-mysql php5-gd php5-cli php5-xmlrpc php5-snmp php5-curl php5-rrd php-xml-parser php-pear php-fpdf phpmyadmin python-twisted python-pkg-resources python-lxml python-pexpect python2.6 nagios-nrpe-plugin parallel heartbeat drbd8-utils vlan libnet-snmp-perl return code 255
fai.log:Can't exec "update-grub": No such file or directory at /var/lib/dpkg/info/linux-image-3.2.0-4-amd64.postinst line 665.
fai.log:User postinst hook script [update-grub] failed to execute: No such file or directory
fai.log:dpkg: error processing linux-image-3.2.0-4-amd64 (--configure):
fai.log: subprocess installed post-installation script returned error exit status 255
fai.log:Errors were encountered while processing:
fai.log:ERROR: 256 256
fai.log:ERROR: chroot /target dpkg --configure --pending return code 1
fai.log:2 errors during executing of commands
fai.log:E: Sub-process /usr/bin/dpkg returned an error code (1)



Regards
Loïc







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20150804/5ed27caa/attachment.html>


More information about the linux-fai mailing list