1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

pkg_add unable to fetch

Discussion in 'Installation and Maintenance of Ports or Packages' started by iamlinux, Feb 16, 2013.

  1. iamlinux

    iamlinux New Member

    Messages:
    6
    Thanks Received:
    0
  2. wblock@

    wblock@ Administrator Staff Member Administrator Moderator Developer

    Messages:
    11,496
    Thanks Received:
    2,205
    "No address record" means DNS is not working. Do you have a network connection? Can you ping sites by name?
     
  3. iamlinux

    iamlinux New Member

    Messages:
    6
    Thanks Received:
    0
    Yes.

    Can I ping sites by name?

    Help me.
     
  4. bkouhi

    bkouhi New Member

    Messages:
    202
    Thanks Received:
    101
    I think you are not connected to the internet. Are you sure about your internet connection? Please double check it. Also give us the output of this commands:

    % ping -c4 http://www.google.com
    % ping 8.8.8.8

    If you have a poor internet connection, use packages in the installation media to install gnome.
     
  5. wblock@

    wblock@ Administrator Staff Member Administrator Moderator Developer

    Messages:
    11,496
    Thanks Received:
    2,205
    We are trying to help you. Please make it easier by answering the questions asked.
     
  6. zzsql

    zzsql New Member

    Messages:
    12
    Thanks Received:
    0
    Why did they break pkg_add(1)?
    Most of my experience was with FreeBSD5 and it worked like a charm out of the box.

    Now, it fails every time, just like wireless used to work. Now it's broken.

    Is this progress?
     
  7. zzsql

    zzsql New Member

    Messages:
    12
    Thanks Received:
    0
    For the record, dig whatever.com works, full network access from root shell pkg_add -r fails.
     
  8. wblock@

    wblock@ Administrator Staff Member Administrator Moderator Developer

    Messages:
    11,496
    Thanks Received:
    2,205
  9. OJ

    OJ Member

    Messages:
    361
    Thanks Received:
    14
    I've just had a similar problem. Though I haven't found out exactly what it was (is), it appears that I made a major mistake by neglecting to read /usr/ports/UPDATING. You may find that file useful as well.

    Also, it has been suggested by numerous people that it is a good idea to use the packages from 9.0 STABLE because that way you get the latest bug fixes. That is done like this:
    # setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-stable/Latest/

    You will notice also that there are a lot of packages here:
    Index of ftp://ftp.freebsd.org/pub/FreeBSD/ports ... le/Latest/
     
  10. paulfrottawa

    paulfrottawa New Member

    Messages:
    242
    Thanks Received:
    14
    I checked those links on post #9 and there empty.

    I never tried using old pakages myself. If there no package I just build the port. And if you really need a fast install then there's the DVD. Put it back in the DVD drive, type systeminstall to find the packages on the DVD. (Sorry for not remembering the internals but the packages are there.)
     
  11. OJ

    OJ Member

    Messages:
    361
    Thanks Received:
    14
    To confirm that, I just downloaded two random files from that directory and they are certainly not empty. :)

    I understand that the packages in STABLE are generally newer, not older. Perhaps I'm wrong. I was just following advice from several (seemingly knowledgeable) people here.