Fedora

為 Android Studio 添加依賴項時出現事務錯誤

  • March 2, 2017

我正在安裝 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
   -------------

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

這解決了我在 Fedora 24 上的問題

引用自:https://unix.stackexchange.com/questions/310064