V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
MySQL 5.5 Community Server
MySQL 5.6 Community Server
Percona Configuration Wizard
XtraBackup 搭建主从复制
Great Sites on MySQL
Percona
MySQL Performance Blog
Severalnines
推荐管理工具
Sequel Pro
phpMyAdmin
推荐书目
MySQL Cookbook
MySQL 相关项目
MariaDB
Drizzle
参考文档
http://mysql-python.sourceforge.net/MySQLdb.html
pierrec
V2EX  ›  MySQL

mysql not fully installed,怎么办,google 到的方法都是删除之前配置,再安装 问题是纯净系统下初次安装啊

  •  
  •   pierrec · 2014-11-29 08:14:52 +08:00 · 3521 次点击
    这是一个创建于 3633 天前的主题,其中的信息可能已经有所发展或是发生改变。
    root@default:~# apt-get install mysql-server mysql-common
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following extra packages will be installed:
    libdbd-mysql-perl libmysqlclient18 mysql-client-5.5 mysql-server-5.5
    mysql-server-core-5.5
    Suggested packages:
    libterm-readkey-perl tinyca
    The following NEW packages will be installed:
    libdbd-mysql-perl libmysqlclient18 mysql-client-5.5 mysql-common
    mysql-server mysql-server-5.5 mysql-server-core-5.5
    0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0 B/7885 kB of archives.
    After this operation, 89.8 MB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    debconf: delaying package configuration, since apt-utils is not installed
    Selecting previously unselected package mysql-common.
    (Reading database ... 23144 files and directories currently installed.)
    Unpacking mysql-common (from .../mysql-common_5.5.40-0+wheezy1_all.deb) ...
    Selecting previously unselected package libmysqlclient18:i386.
    Unpacking libmysqlclient18:i386 (from .../libmysqlclient18_5.5.40-0+wheezy1_i386 .deb) ...
    Selecting previously unselected package libdbd-mysql-perl.
    Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.021-1+b1_i386.deb) ...
    Selecting previously unselected package mysql-client-5.5.
    Unpacking mysql-client-5.5 (from .../mysql-client-5.5_5.5.40-0+wheezy1_i386.deb) ...
    Selecting previously unselected package mysql-server-core-5.5.
    Unpacking mysql-server-core-5.5 (from .../mysql-server-core-5.5_5.5.40-0+wheezy1 _i386.deb) ...
    Setting up mysql-common (5.5.40-0+wheezy1) ...
    Selecting previously unselected package mysql-server-5.5.
    (Reading database ... 23334 files and directories currently installed.)
    Unpacking mysql-server-5.5 (from .../mysql-server-5.5_5.5.40-0+wheezy1_i386.deb) ...
    debconf: unable to initialize frontend: Dialog
    debconf: (No usable dialog-like program is installed, so the dialog based fronte nd cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
    debconf: falling back to frontend: Readline
    Configuring mysql-server-5.5
    ----------------------------

    While not mandatory, it is highly recommended that you set a password for the
    MySQL administrative "root" user.

    If this field is left blank, the password will not be changed.

    New password for the MySQL "root" user:



    Repeat password for the MySQL "root" user:


    Selecting previously unselected package mysql-server.
    Unpacking mysql-server (from .../mysql-server_5.5.40-0+wheezy1_all.deb) ...
    Setting up libmysqlclient18:i386 (5.5.40-0+wheezy1) ...
    Setting up libdbd-mysql-perl (4.021-1+b1) ...
    Setting up mysql-client-5.5 (5.5.40-0+wheezy1) ...
    Setting up mysql-server-core-5.5 (5.5.40-0+wheezy1) ...
    Setting up mysql-server-5.5 (5.5.40-0+wheezy1) ...
    debconf: unable to initialize frontend: Dialog
    debconf: (No usable dialog-like program is installed, so the dialog based fronte nd cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
    debconf: falling back to frontend: Readline
    [ ok ] Stopping MySQL database server: mysqld.
    /var/lib/dpkg/info/mysql-server-5.5.postinst: line 146: logger: command not foun d
    ATTENTION: An error has occured. More info is in the syslog!
    /var/lib/dpkg/info/mysql-server-5.5.postinst: line 236: logger: command not foun d
    dpkg: error processing mysql-server-5.5 (--configure):
    subprocess installed post-installation script returned error exit status 127
    dpkg: dependency problems prevent configuration of mysql-server:
    mysql-server depends on mysql-server-5.5; however:
    Package mysql-server-5.5 is not configured yet.

    dpkg: error processing mysql-server (--configure):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    mysql-server-5.5
    mysql-server
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    root@default:~#
    3 条回复    2014-12-26 16:09:43 +08:00
    sNullp
        1
    sNullp  
       2014-11-29 08:36:17 +08:00
    这个才是重点:
    debconf: unable to initialize frontend: Dialog
    debconf: (No usable dialog-like program is installed, so the dialog based fronte nd cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
    debconf: falling back to frontend: Readline
    [ ok ] Stopping MySQL database server: mysqld.
    /var/lib/dpkg/info/mysql-server-5.5.postinst: line 146: logger: command not foun d
    ATTENTION: An error has occured. More info is in the syslog!
    /var/lib/dpkg/info/mysql-server-5.5.postinst: line 236: logger: command not foun d
    aru
        2
    aru  
       2014-12-26 16:09:32 +08:00
    apt-get update && apt-get install bsdutils
    aru
        3
    aru  
       2014-12-26 16:09:43 +08:00
    apt-get -f install
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2933 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 02:47 · PVG 10:47 · LAX 18:47 · JFK 21:47
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.