Find the answer to your Linux question:
Results 1 to 7 of 7
hello everyone, I am trying to install X windows on ts7300 board using apt-get.But when I run apt-get update I get the following error: root@ts7000:/# apt-get update Err ftp://ftp.us.debian.org stable/main ...
  1. #1
    Just Joined!
    Join Date
    Dec 2007
    Posts
    9

    Question problem with apt-get

    hello everyone,
    I am trying to install X windows on ts7300 board using apt-get.But when I run apt-get update I get the following error:

    root@ts7000:/# apt-get update
    Err ftp://ftp.us.debian.org stable/main Packages
    Temporary failure resolving 'ftp.us.debian.org'
    Err ftp://ftp.us.debian.org stable/main Release
    Temporary failure resolving 'ftp.us.debian.org'
    Err ftp://ftp.us.debian.org stable/contrib Packages
    Temporary failure resolving 'ftp.us.debian.org'
    Err ftp://ftp.us.debian.org stable/contrib Release
    Temporary failure resolving 'ftp.us.debian.org'
    Err ftp://ftp.us.debian.org stable/non-free Packages
    Temporary failure resolving 'ftp.us.debian.org'
    Err ftp://ftp.us.debian.org stable/non-free Release
    Temporary failure resolving 'ftp.us.debian.org'
    Failed to fetch ftp://ftp.us.debian.org/debian/dists...inary-arm/Pack
    ages.gz Temporary failure resolving 'ftp.us.debian.org'
    Failed to fetch ftp://ftp.us.debian.org/debian/dists...inary-arm/Rele
    ase Temporary failure resolving 'ftp.us.debian.org'
    Failed to fetch ftp://ftp.us.debian.org/debian/dists...b/binary-arm/P
    ackages.gz Temporary failure resolving 'ftp.us.debian.org'
    Failed to fetch ftp://ftp.us.debian.org/debian/dists...b/binary-arm/R
    elease Temporary failure resolving 'ftp.us.debian.org'
    Failed to fetch ftp://ftp.us.debian.org/debian/dists...ee/binary-arm/
    Packages.gz Temporary failure resolving 'ftp.us.debian.org'
    Failed to fetch ftp://ftp.us.debian.org/debian/dists...ee/binary-arm/
    Release Temporary failure resolving 'ftp.us.debian.org'
    Reading Package Lists... Done
    W: Couldn't stat source package list ftp://ftp.us.debian.org stable/main Package
    s (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_stable_main_binary-arm_Pack
    ages) - stat (2 No such file or directory)
    W: Couldn't stat source package list ftp://ftp.us.debian.org stable/contrib Pack
    ages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_stable_contrib_bina ry-ar
    m_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list ftp://ftp.us.debian.org stable/non-free Pac
    kages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_stable_non-free_binary-
    arm_Packages) - stat (2 No such file or directory)
    W: You may want to run apt-get update to correct these problems
    E: Some index files failed to download, they have been ignored, or old ones used
    instead.

    I am stuck because of this.

    Following is my /etc/apt/sources.list file

    #deb ftp.osuosl.org :: Oregon State University Open Source Lab stable main contrib non-free

    deb ftp://ftp.us.debian.org/debian stable main contrib non-free




    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~



    I have tried uncommenting the first line (http one) but it didnt help.
    Does anyone have any idea?

    Thanks in advance
    Last edited by ramandeep; 03-13-2008 at 05:54 AM. Reason: typing mistake

  2. #2
    Just Joined!
    Join Date
    Dec 2007
    Posts
    9

    problem with apt-get

    no replies......I hope this problem is not that serious....

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Execute this
    Code:
    su -
    apt-get clean all
    apt-get update
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #4
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    Release Temporary failure resolving 'ftp.us.debian.org'
    that could be a problem, is your network working?

  5. #5
    Just Joined! sathiya's Avatar
    Join Date
    Feb 2008
    Location
    Bangalore, India
    Posts
    97

    nameserver

    is your nameserver is UP and running and in network...

    what is the /etc/resolv.conf content ???

  6. #6
    Just Joined!
    Join Date
    Mar 2008
    Location
    Canada
    Posts
    42
    This is definitely a network-related issue. If you're on a wireless connection, it often helps to reconnect to the network and refresh your IP address (assuming it's dynamic). Make sure that you can successfully ping debian.org before trying to mess around with apt-get.

  7. #7
    Just Joined!
    Join Date
    Mar 2008
    Posts
    1
    Quote Originally Posted by devils casper View Post
    Execute this
    Code:
    su -
    apt-get clean all
    apt-get update

    it is good idea. it is works. thank you

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •