fedora-21

Docker container can reach DNS but not resolve hosts

亡梦爱人 提交于 2019-12-21 03:19:21
问题 I'm having an interesting problem running docker containers: out of the blue, I'm not able to resolve DNS from within the container. Here's a rundown: Nothing is resolving; apt-get, pip, one-off ping containers, etc. Running docker run -it --dns=8.8.8.8 ubuntu ping www.google.com results in ping: unknown host www.google.com both with and without the --dns flag. I can reach 8.8.8.8 both from inside and outside the containers. docker run -it ubuntu ping 8.8.8.8 works. I've configured the

Fedora 21 with clang, without gcc

你。 提交于 2019-12-10 20:45:21
问题 Can you (reasonably) get Fedora 21 to where it only has llvm/clang/libc++/libc++abi? (I found some things suggesting no, but they were all about 3 years old, and llvm/clang has come a long way since then.) With a fresh install, I tried yum install gcc gcc-c++ (downloaded, built, installed llvm/cfe(clang)/compiler-rt/libcxx/libcxxabi from svn) yum remove gcc gcc-c++ added to /etc/profile: export CC=/usr/local/bin/clang \ export CXX=/usr/local/bin/clang++ (in case of hard wiring) ln -s /usr

fedora 21 javafx not creating mediaplayer

邮差的信 提交于 2019-12-09 15:44:08
问题 I recently upgraded to fedora 21. I really like it, however, javafx MediaPlayer doesn't work. As per the JavaFX System Requirements Site, for a Linux distro to create A MediaPlayer I need: libavcodec53 libavformat53 I couldn't find any of these packages in the Fedora repositories (or anything about them with a google search for fedora 21 and I also checked a search for fedora 20, however I managed to get them installed from ATRpm's onto my system successfully and still no luck. I also

fedora 21 javafx not creating mediaplayer

时间秒杀一切 提交于 2019-12-04 03:01:38
I recently upgraded to fedora 21. I really like it, however, javafx MediaPlayer doesn't work. As per the JavaFX System Requirements Site, for a Linux distro to create A MediaPlayer I need: libavcodec53 libavformat53 I couldn't find any of these packages in the Fedora repositories (or anything about them with a google search for fedora 21 and I also checked a search for fedora 20, however I managed to get them installed from ATRpm's onto my system successfully and still no luck. I also installed ffmpeg and ffmpeg-devel and ffmpeg-libs , and also transcode, and it still throws this exception.

pip fails with AttributeError: 'module' object has no attribute 'wraps'

戏子无情 提交于 2019-12-03 18:51:59
问题 I'm on Fedora. I recently upgraded my system from F20 to F21. Pip was working fine on F20 but after the upgrade to F21 something must have gone wrong. Pip stopped working, every time I enter the command pip <anything> the error below occurs: Traceback (most recent call last): File "/usr/bin/pip", line 7, in <module> from pip import main File "/usr/lib/python2.7/site-packages/pip/__init__.py", line 12, in <module> from pip.commands import commands, get_summaries, get_similar_commands File "

Docker container can reach DNS but not resolve hosts

混江龙づ霸主 提交于 2019-12-03 09:57:51
I'm having an interesting problem running docker containers: out of the blue, I'm not able to resolve DNS from within the container. Here's a rundown: Nothing is resolving; apt-get, pip, one-off ping containers, etc. Running docker run -it --dns=8.8.8.8 ubuntu ping www.google.com results in ping: unknown host www.google.com both with and without the --dns flag. I can reach 8.8.8.8 both from inside and outside the containers. docker run -it ubuntu ping 8.8.8.8 works. I've configured the containers to use both 8.8.8.8, 8.8.8.4, and my local network DNS servers (in various permutations) both by

pip fails with AttributeError: 'module' object has no attribute 'wraps'

时光毁灭记忆、已成空白 提交于 2019-11-30 01:48:24
I'm on Fedora. I recently upgraded my system from F20 to F21. Pip was working fine on F20 but after the upgrade to F21 something must have gone wrong. Pip stopped working, every time I enter the command pip <anything> the error below occurs: Traceback (most recent call last): File "/usr/bin/pip", line 7, in <module> from pip import main File "/usr/lib/python2.7/site-packages/pip/__init__.py", line 12, in <module> from pip.commands import commands, get_summaries, get_similar_commands File "/usr/lib/python2.7/site-packages/pip/commands/__init__.py", line 6, in <module> from pip.commands.bundle

How to solve “Unable to run mksdcard SDK tool” when installing Android Studio on Fedora 21?

浪尽此生 提交于 2019-11-29 21:18:46
I'm trying to install Android Studio on a 64-bit Fedora 21 system. I got the JRE and JDK pre-requisites installed, unpacked the Android Studio installation, and from its "bin" directory issued "sh studio.sh" to complete the installation. The Setup Wizard failed with message "Unable to run mksdcard SDK tool" and suggested that 32-bit libraries might be needed. ( This answer is for an Ubuntu distribution ) If you are running the 64-bit Ubuntu , the following fix should solve your problem: sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6 UPDATE: For Ubuntu 15.10 and 16 (

How to solve “Unable to run mksdcard SDK tool” when installing Android Studio on Fedora 21?

半城伤御伤魂 提交于 2019-11-28 17:24:43
问题 I'm trying to install Android Studio on a 64-bit Fedora 21 system. I got the JRE and JDK pre-requisites installed, unpacked the Android Studio installation, and from its "bin" directory issued "sh studio.sh" to complete the installation. The Setup Wizard failed with message "Unable to run mksdcard SDK tool" and suggested that 32-bit libraries might be needed. 回答1: ( This answer is for an Ubuntu distribution ) If you are running the 64-bit Ubuntu , the following fix should solve your problem: