2017-12-21 18 views
0

Fedora 26で作業しました。mariadb 10.1.26がインストールされていましたが、10.2.2で利用可能ないくつかの機能が必要でした。Dnfはmariadb-configとmariadb-commonに沿って多くの依存関係を削除します

# dnf install MariaDB-server 
Last metadata expiration check: 0:39:56 ago on Thu 21 Dec 2017 02:25:04 AM CET. 
Dependencies resolved. 
=================================================================================================================================================================================================================== 
Package            Arch          Version              Repository         Size 
=================================================================================================================================================================================================================== 
Installing: 
MariaDB-server           x86_64          10.2.11-1.fc26            mariadb          24 M 
Installing dependencies: 
MariaDB-client           x86_64          10.2.11-1.fc26            mariadb          11 M 
MariaDB-common           x86_64          10.2.11-1.fc26            mariadb          79 k 
galera             x86_64          25.3.22-1.fc26.fc26           mariadb          8.9 M 
perl-DBI            x86_64          1.636-4.fc26            fedora          732 k 
perl-Math-BigInt          noarch          1.9998.11-1.fc26           fedora          193 k 
perl-Math-Complex          noarch          1.59-395.fc26            updates          101 k 

Transaction Summary 
=================================================================================================================================================================================================================== 
Install 7 Packages 

Total size: 45 M 
Installed size: 214 M 
Is this ok [y/N]: y 
Downloading Packages: 
[SKIPPED] MariaDB-server-10.2.11-1.fc26.x86_64.rpm: Already downloaded                                    
[SKIPPED] perl-DBI-1.636-4.fc26.x86_64.rpm: Already downloaded                                      
[SKIPPED] MariaDB-client-10.2.11-1.fc26.x86_64.rpm: Already downloaded                                    
[SKIPPED] MariaDB-common-10.2.11-1.fc26.x86_64.rpm: Already downloaded                                    
[SKIPPED] perl-Math-BigInt-1.9998.11-1.fc26.noarch.rpm: Already downloaded                                   
[SKIPPED] galera-25.3.22-1.fc26.fc26.x86_64.rpm: Already downloaded                                    
[SKIPPED] perl-Math-Complex-1.59-395.fc26.noarch.rpm: Already downloaded                                   
Running transaction check 
Transaction check succeeded. 
Running transaction test 
Error: Transaction check error: 
file /etc/my.cnf from install of MariaDB-common-10.2.11-1.fc26.x86_64 conflicts with file from package mariadb-config-3:10.1.26-2.fc26.x86_64 
file /usr/lib64/mysql/plugin/dialog.so from install of MariaDB-common-10.2.11-1.fc26.x86_64 conflicts with file from package mariadb-common-3:10.1.26-2.fc26.x86_64 
file /usr/lib64/mysql/plugin/mysql_clear_password.so from install of MariaDB-common-10.2.11-1.fc26.x86_64 conflicts with file from package mariadb-common-3:10.1.26-2.fc26.x86_64 

私は心配パッケージを削除しようとした場合mariadb-:

はMariaDBリポジトリからMariaDB-サーバー10.2をインストールするには、いくつかのファイルが矛盾していることから、mariadb-configおよびmariadb-共通を除去することが必要と思われますconfigおよびmariadb-commonの場合、DNFは関連のないパッケージ(shotcut、blender、mplayerなど)の印象的なリストを削除する必要があります。サンプル:

Removing: 
mariadb-config          x86_64         3:10.1.26-2.fc26            @updates          1.3 k 
Removing dependent packages: 
OpenImageIO           x86_64         1.7.17-2.fc26             @updates          9.3 M 
armadillo            x86_64         7.900.1-1.fc26             @fedora           47 k 
blender            x86_64         1:2.79-1.fc26             @updates          143 M 
dvdauthor            x86_64         0.7.2-2.fc26             @fedora           609 k 
flowblade            noarch         1.14-3.gitcad77b5.fc26           @unitedrpms          20 M 
gdal-libs            x86_64         2.1.3-1.fc26             @fedora           19 M 
gmic             x86_64         1.7.2-3.fc26             @fedora           14 M 
kdenlive            x86_64         17.08.3-2.fc26             @unitedrpms          59 M 
kf5-kfilemetadata          x86_64         5.38.0-1.fc26             @updates          701 k 
ladspa-calf-plugins         x86_64         0.0.60-5.fc26             @fedora           0 
lapack            x86_64         3.6.1-4.fc26             @fedora           11 M 
libspatialite           x86_64         4.3.0a-4.fc26             @fedora           11 M 
lives             x86_64         2.8.7-1.fc26             @rpmfusion-free         8.8 M 
mariadb-common          x86_64         3:10.1.26-2.fc26            @updates          393 k 
mariadb-libs           x86_64         3:10.1.26-2.fc26            @updates          3.6 M 
mkvtoolnix           x86_64         17.0.0-1.fc26             @updates      

mkvtoolnixは本当にmariadb-configに依存しますか?

# dnf deplist mkvtoolnix | grep -i maria 
Last metadata expiration check: 0:44:36 ago on Thu 21 Dec 2017 02:25:04 AM CET. 
# 

私が(私は実際に再インストール/削除しておくとしないようにしたい)無関係なパッケージを削除せずに(キャップ​​= 10.2)MariaDB-serverをインストールするにはどうすればよい...ではないようですか?

+0

「yum remove MariaDB-server MariaDB-client'」と入力してもう一度やり直してください。 – Hackerman

+0

私が言ったように(それは私の質問のポイントです)、無関係なパッケージを削除したいと思っています。私はパッケージを削除したくありません(質問に記載されている抜粋のリスト)。 – Arcesilas

+0

幸運にも、LinuxにようこそxD – Hackerman

答えて

1

は、最後に成功しました:

  • 削除mariadb- * DNFとユーメックス(GUI)DNF(CLI)と
  • 削除mariadb-サーバー
  • インストールMariaDB- *(10.2)と

知られていない理由で、Yumexはdnfが持つと思われる無関係のパッケージを削除しませんでした。

+0

理由は簡単ですが、yumex-dnfは「弱い依存関係」も「カスケード依存関係」も「dnf」も削除しません。弱い依存関係については、https://fedoraproject.org/wiki/PackagingDrafts/WeakDependenciesを参照してください。 – X3MBoy

+0

あなたのコメントとリンクをありがとう。しかし、Blenderは、たとえば、mariadb-configには絶対に関係しません。mariadb-configは弱いものでもカスケード依存でもなく、依存関係でもありません。 – Arcesilas

関連する問題