0

最近、fedora 20 から fedora 21 にアップグレードしました。インストールまたは更新しようとすると、依存関係の問題に直面しています。

$ sudo yum -y upgrade
Loaded plugins: auto-update-debuginfo, langpacks
Resolving Dependencies
--> Running transaction check
---> Package vlc.x86_64 0:2.2.1-2.fc21 will be updated
---> Package vlc.x86_64 0:2.2.1-3.fc22 will be an update
---> Package vlc-core.x86_64 0:2.2.1-2.fc21 will be updated
---> Package vlc-core.x86_64 0:2.2.1-3.fc22 will be an update
--> Processing Dependency: libx265.so.25()(64bit) for package: vlc-core-2.2.1-3.fc22.x86_64
--> Processing Dependency: liblua-5.3.so()(64bit) for package: vlc-core-2.2.1-3.fc22.x86_64
--> Processing Dependency: libfreerdp.so.1.2()(64bit) for package: vlc-core-2.2.1-3.fc22.x86_64
--> Processing Dependency: libfreerdp-server.so.1.2()(64bit) for package: vlc-core-2.2.1-3.fc22.x86_64
---> Package x264-libs.x86_64 0:0.142-11.20141221git6a301b6.fc21 will be updated
---> Package x264-libs.x86_64 0:0.142-11.20141221git6a301b6.fc22 will be an update
--> Finished Dependency Resolution
Error: Package: vlc-core-2.2.1-3.fc22.x86_64 (rpmfusion-free-rawhide)
           Requires: libfreerdp-server.so.1.2()(64bit)
Error: Package: libavdevice-2.4.9-1.fc22.x86_64 (rpmfusion-free-rawhide)
           Requires: libcdio_paranoia.so.2()(64bit)
Error: Package: vlc-core-2.2.1-3.fc22.x86_64 (rpmfusion-free-rawhide)
           Requires: liblua-5.3.so()(64bit)
Error: Package: libavdevice-2.4.9-1.fc22.x86_64 (rpmfusion-free-rawhide)
           Requires: libcdio_cdda.so.2()(64bit)
Error: Package: vlc-core-2.2.1-3.fc22.x86_64 (rpmfusion-free-rawhide)
           Requires: libx265.so.25()(64bit)
           Available: x265-libs-1.2-5.fc21.x86_64 (rpmfusion-free)
               libx265.so.25()(64bit)
           Available: x265-libs-1.2-6.fc22.x86_64 (rpmfusion-free-rawhide)
               libx265.so.25()(64bit)
           Installed: x265-libs-1.6-1.fc21.x86_64 (@rpmfusion-free-updates)
              ~libx265.so.51()(64bit)

 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

いくつかのリポジトリを無効化/有効化し、更新を試み、上記のライブラリのいくつかを削除しようとしましたが、すべて無駄でした。

4

2 に答える 2

0

私の場合の犯人は rpmfusion でした。rpmfusion-free と rpmfusion-nonfree の異なるバージョンがありました。それらの1つは21で、もう1つは22でした。したがって、次のように正しいバージョンを削除してインストールすると、問題が解決しました。

sudo yum remove rpmfusion-free-release rpmfusion-nonfree-release

Loaded plugins: auto-update-debuginfo, langpacks
Resolving Dependencies
--> Running transaction check
---> Package rpmfusion-free-release.noarch 0:22-0.1 will be erased
---> Package rpmfusion-nonfree-release.noarch 0:21-1 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================
 Package                                  Arch                  Version                  Repository                              Size
======================================================================================================================================
Removing:
 rpmfusion-free-release                   noarch                22-0.1                   @rpmfusion-free-rawhide                9.7 k
 rpmfusion-nonfree-release                noarch                21-1                     installed                              9.9 k

Transaction Summary
======================================================================================================================================
Remove  2 Packages

Installed size: 20 k
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction (shutdown inhibited)
  Erasing    : rpmfusion-nonfree-release-21-1.noarch                                                                              1/2 
  Erasing    : rpmfusion-free-release-22-0.1.noarch                                                                               2/2 
warning: /etc/yum.repos.d/rpmfusion-free-rawhide.repo saved as /etc/yum.repos.d/rpmfusion-free-rawhide.repo.rpmsave
  Verifying  : rpmfusion-nonfree-release-21-1.noarch                                                                              1/2 
  Verifying  : rpmfusion-free-release-22-0.1.noarch                                                                               2/2 

Removed:
  rpmfusion-free-release.noarch 0:22-0.1                            rpmfusion-nonfree-release.noarch 0:21-1                           

Complete!

su -c 'yum localinstall http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'

Password: 
Loaded plugins: auto-update-debuginfo, langpacks
rpmfusion-free-release-21.noarch.rpm                                                                           |  19 kB  00:00:00     
Examining /var/tmp/yum-root-d5sSL9/rpmfusion-free-release-21.noarch.rpm: rpmfusion-free-release-21-1.noarch
Marking /var/tmp/yum-root-d5sSL9/rpmfusion-free-release-21.noarch.rpm to be installed
rpmfusion-nonfree-release-21.noarch.rpm                                                                        |  19 kB  00:00:00     
Examining /var/tmp/yum-root-d5sSL9/rpmfusion-nonfree-release-21.noarch.rpm: rpmfusion-nonfree-release-21-1.noarch
Marking /var/tmp/yum-root-d5sSL9/rpmfusion-nonfree-release-21.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package rpmfusion-free-release.noarch 0:21-1 will be installed
---> Package rpmfusion-nonfree-release.noarch 0:21-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================
 Package                                Arch                Version           Repository                                         Size
======================================================================================================================================
Installing:
 rpmfusion-free-release                 noarch              21-1              /rpmfusion-free-release-21.noarch                 9.7 k
 rpmfusion-nonfree-release              noarch              21-1              /rpmfusion-nonfree-release-21.noarch              9.9 k

Transaction Summary
======================================================================================================================================
Install  2 Packages

Total size: 20 k
Installed size: 20 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction (shutdown inhibited)
  Installing : rpmfusion-free-release-21-1.noarch                                                                                 1/2 
  Installing : rpmfusion-nonfree-release-21-1.noarch                                                                              2/2 
  Verifying  : rpmfusion-nonfree-release-21-1.noarch                                                                              1/2 
  Verifying  : rpmfusion-free-release-21-1.noarch                                                                                 2/2 

Installed:
  rpmfusion-free-release.noarch 0:21-1                             rpmfusion-nonfree-release.noarch 0:21-1                            

Complete!
于 2015-05-09T16:14:42.433 に答える