<---- template headericclude ----->
If you can ping but almost nothing else (including yum) works
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 4 of 4

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    scottro's Avatar
    scottro is offline Retired Community Manager -- Banned from Texas by popular demand.
    Join Date
    Sep 2007
    Location
    NYC
    Posts
    8,120
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    If you can ping but almost nothing else (including yum) works

    I'll make this sticky till it's fixed.

    If you have a 64 bit system, and install wine, chromium, or possibly some other programs, you may suddenly find that although pinging by hostname and graphical browsers work, most other things, such as ssh by hostname, and even yum, are suddenly unable to resolve DNS.

    This is caused by some packages that are 32 bit only, such as the abovementioned wine and chromium, pull in a package called nss-mdns, but pull in the 32 bit version.

    The package rudely overwrites your nsswitch.conf, adding a line to break most things.

    One fix is to edit /etc/nsswitch.conf. You will see a line

    hosts: files mdns4_minimal [NOTFOUND=return] dns

    Put a # in front of the line to comment it out.

    Now, things will work again.

    Now that yum is working do

    yum -y install nss-mdns

    This will install the 64 bit version of the package. Once you have the 64 bit version installed, it will probably once again overwrite nsswitch.conf, re-adding the offending line, but that's fine--if you have the 64 bit version it will work.

    If for some reason, it doesn't rewrite the file again, as a reader pointed out, be sure to uncomment the line again by removing the # sign.


    It is a known bug, so will hopefully be fixed in the near future.
    Last edited by scottro; 11th September 2009 at 12:17 PM. Reason: Additional info
    --
    http://srobb.net

Similar Threads

  1. can't ping external IPs (no firewall, web works)
    By progressive in forum Servers & Networking
    Replies: 3
    Last Post: 19th June 2009, 07:20 PM
  2. Ping Works, but not firefox
    By WhiteFeather in forum Servers & Networking
    Replies: 4
    Last Post: 10th April 2009, 01:21 AM
  3. Cant Ping but Internet works : FUNNY
    By khandu in forum Using Fedora
    Replies: 11
    Last Post: 5th May 2008, 08:03 AM
  4. ping works but can't get internet. please help
    By razvan_vlad in forum Servers & Networking
    Replies: 8
    Last Post: 28th January 2007, 02:41 AM
  5. Replies: 3
    Last Post: 25th July 2006, 09:45 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]