2017-12-21 1 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-설정 및 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-설정에 따라 달라집니다?

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

그것은 ... 어떻게 MariaDB-server 설치할 수없는 것 같다 (와 캡 = 10.2) (실제로/다시 설치 제거 유지하지 할) 관련이없는 패키지를 제거하지 않고?

+0

'yum remove MariaDB-server MariaDB-client', 다시 시도하십시오. – Hackerman

+0

내가 말했듯이 (그것은 나의 질문의 요지이다), 관련이없는 패키지를 제거하고 싶어한다. 나는 패키지를 삭제하고 싶지 않습니다. (질문에서 제공된 목록 발췌 목록). – Arcesilas

+0

행운을 빌어 요, 리눅스에 오신 것을 환영합니다 xD – Hackerman

답변

1

마지막으로 성공 :

  • 제거 mariadb- * DNF와 yumex (GUI) DNF (CLI)와
  • 제거 mariadb 서버
  • 설치된 MariaDB- * (10.2)와

알 수없는 이유로 Yumex는 dnf가 가지고있는 동안 관련없는 패키지를 제거하지 않았습니다.

+0

이유는 간단합니다. yumex-dnf는 "weak dependencies"도 "cascade dependencies"도 제거하지 않지만 dnf는 제거합니다. "약한 의존성"에 대한 문서는 다음을 참조하십시오 : https://fedoraproject.org/wiki/PackagingDrafts/WeakDependencies – X3MBoy

+0

귀하의 의견과 링크에 감사드립니다. 그러나 Blender는 예를 들어 mariadb-config와 절대적으로 관련이 없습니다. mariadb-config는 약하거나 종속 종속이 아니며 종속성이 아닙니다 ... – Arcesilas

관련 문제