添加 Android Studio 依赖项时发生事务错误

添加 Android Studio 依赖项时发生事务错误

我正在安装 android studio 并收到错误“无法运行 mksdcard SDK 工具。”在 Fedora-24 上。根据,我输入了命令,出现了如下错误。

Downloading Packages:
    [SKIPPED] compat-libstdc++-296-2.96-146.1.i686.rpm: Already downloaded         
    [SKIPPED] compat-libstdc++-33-3.2.3-68.16.fc24.i686.rpm: Already downloaded    
    [SKIPPED] compat-libstdc++-33-3.2.3-68.16.fc24.x86_64.rpm: Already downloaded  
    [SKIPPED] ncurses-libs-6.0-6.20160709.fc24.i686.rpm: Already downloaded        
    [SKIPPED] glibc-2.23.1-10.fc24.i686.rpm: Already downloaded                    
    [SKIPPED] nss-softokn-freebl-3.26.0-1.0.fc24.i686.rpm: Already downloaded      
    [SKIPPED] libgcc-6.1.1-3.fc24.i686.rpm: Already downloaded                     
    Running transaction check
    Transaction check succeeded.
    Running transaction test
    The downloaded packages were saved in cache until the next successful transaction.
    You can remove cached packages by executing 'dnf clean packages'.
    Error: Transaction check error:
      file /usr/share/doc/glibc/NEWS from install of glibc-2.23.1-10.fc24.i686 conflicts with file from package glibc-2.23.1-7.fc24.x86_64

    Error Summary
    -------------

答案1

运行此命令 dnf remove glibc-2.23.1-7.fc24.x86_64

这解决了我在 fedora 24 上的问题

相关内容