![添加 Android Studio 依赖项时发生事务错误](https://linux22.com/image/94486/%E6%B7%BB%E5%8A%A0%20Android%20Studio%20%E4%BE%9D%E8%B5%96%E9%A1%B9%E6%97%B6%E5%8F%91%E7%94%9F%E4%BA%8B%E5%8A%A1%E9%94%99%E8%AF%AF.png)
我正在安装 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 上的问题