質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.50%
CentOS

CentOSは、主にRed Hat Enterprise Linux(RHEL)をベースにした、フリーのソフトウェアオペレーティングシステムです。

Postfix

Postfixは、電子メールサーバソフトウェアで、 メールを配送するシステムMTAの一種です。

Q&A

解決済

2回答

5718閲覧

postfixのインストールができない

kumakumatan

総合スコア213

CentOS

CentOSは、主にRed Hat Enterprise Linux(RHEL)をベースにした、フリーのソフトウェアオペレーティングシステムです。

Postfix

Postfixは、電子メールサーバソフトウェアで、 メールを配送するシステムMTAの一種です。

0グッド

0クリップ

投稿2016/09/16 08:01

編集2016/09/20 03:01

CentOS release 6.5 (Final)
にて「yum install postfix」コマンドを入力すると、

Loaded plugins: fastestmirror, security Setting up Install Process Loading mirror speeds from cached hostfile * base: ftp.tsukuba.wide.ad.jp * epel: ftp.iij.ad.jp * extras: ftp.tsukuba.wide.ad.jp * ius: ftp.neowiz.com * remi-safe: ca.mirror.babylon.network * updates: www.ftp.ne.jp Resolving Dependencies --> Running transaction check ---> Package postfix.x86_64 2:2.6.6-6.el6_7.1 will be installed --> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: 2:postfix-2.6.6-6.el6_7.1.x86_64 --> Processing Dependency: libmysqlclient.so.16()(64bit) for package: 2:postfix-2.6.6-6.el6_7.1.x86_64 --> Finished Dependency Resolution Error: Package: 2:postfix-2.6.6-6.el6_7.1.x86_64 (base) Requires: libmysqlclient.so.16()(64bit) Error: Package: 2:postfix-2.6.6-6.el6_7.1.x86_64 (base) Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest

と表示されて、インストールできない状況です。

「/etc/yum.conf」を開くと、
exclude=kernel* php* mysql*
と記載されています。
mysqlクライアントが必要な為、mysqlクライアントをインストールしています。

どのようにしたらインストールできるでしょうか?

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

TaichiYanagiya

2016/09/16 10:56

他のリポジトリから mysql をインストールしているなどの理由で、/etc/yum.conf で "exclude=mysql*" などと設定していませんでしょうか。
guest

回答2

0

ベストアンサー

IUS リポジトリと remi リポジトリが混在しているのはあまり好ましくないかと思いますが、それぞれ何のパッケージを追加するためにリポジトリを追加されているでしょうか。

とりあえず remi リポジトリが無効なようなので、以下のように実行してみてはどうでしょうか。

yum install postfix --enablerepo=remi

投稿2016/09/16 14:58

bezeklik

総合スコア580

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

kumakumatan

2016/09/20 00:03

ご回答ありがとうございます。 インストール後「alternatives -config mta」を実施すると、 ``` alternatives version 1.3.49.3 - Copyright (C) 2001 Red Hat, Inc. This may be freely redistributed under the terms of the GNU Public License. usage: alternatives --install <link> <name> <path> <priority> [--initscript <service>] [--slave <link> <name> <path>]* alternatives --remove <name> <path> alternatives --auto <name> alternatives --config <name> alternatives --display <name> alternatives --set <name> <path> common options: --verbose --test --help --usage --version --altdir <directory> --admindir <directory> ``` と表示されてしまい、 「/usr/sbin/sendmail.postfix」に「*+1」が付いているのを確認したいのですが できないでいます。 「chkconfig –list postfix」でランレベルを確認したくても、 ``` chkconfig version 1.3.49.3 - Copyright (C) 1997-2000 Red Hat, Inc. This may be freely redistributed under the terms of the GNU Public License. usage: chkconfig [--list] [--type <type>] [name] chkconfig --add <name> chkconfig --del <name> chkconfig --override <name> chkconfig [--level <levels>] [--type <type>] <name> <on|off|reset|resetpriorities> ``` と表示されてしまいます。 「yum list | grep postfix」とすると、 ``` postfix.x86_64 2:2.6.6-6.el6_7.1 @base pcp-pmda-postfix.x86_64 3.10.9-6.el6 base postfix-perl-scripts.x86_64 2:2.6.6-6.el6_7.1 base spamass-milter-postfix.noarch 0.3.2-4.el6 epel ``` と表示されるので、postfixのインストールはされていると思われます。 以上、宜しくお願いします。
guest

0

エラーメッセージで出てきているように

オプションとして --skip-broken を使用しましたか?
もしくはコマンドとして rpm -Va --nofiles --nodigest を使用しましたか?

投稿2016/09/16 08:55

編集2016/09/16 08:56
matsu

総合スコア702

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.50%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問