Results 1 to 10 of 12

Thread: W: Failed to fetch .... No such file or directory

Hybrid View

  1. #1
    Join Date
    Sep 2012
    Beans
    12

    W: Failed to fetch .... No such file or directory

    maybe this is a dumb question, but I am just a newbie .... so I really need your help that is experienced and proficient in linux operating system.

    I faced a problem like this ::
    when i run the command # apt-get update in terminal error messages appear

    Code:
    Get:437 http://archive.ubuntu.com precise-backports/universe Translation-en [9,880 B] 
    Get:438 http://archive.ubuntu.com precise-security/main Translation-en [85.2 kB] 
    Get:439 http://archive.ubuntu.com precise-security/restricted Translation-en [978 B] 
    Get:440 http://archive.ubuntu.com precise-security/universe Translation-en [30.2 kB] 
    Fetched 26.0 MB in 35min 7s (12.3 kB/s)                                         
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...amd64/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise-proposed/main/binary-amd64/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...amd64/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise-proposed/restricted/binary-amd64/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...amd64/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise-proposed/universe/binary-amd64/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...amd64/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise-proposed/multiverse/binary-amd64/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...-i386/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise-proposed/main/binary-i386/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...-i386/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise-proposed/restricted/binary-i386/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...-i386/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise-proposed/universe/binary-i386/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...-i386/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise-proposed/multiverse/binary-i386/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...amd64/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise-security/main/binary-amd64/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...amd64/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise-security/restricted/binary-amd64/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...amd64/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise-security/universe/binary-amd64/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...amd64/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise-security/multiverse/binary-amd64/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...-i386/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise-security/main/binary-i386/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...-i386/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise-security/restricted/binary-i386/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...-i386/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise-security/universe/binary-i386/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...-i386/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise-security/multiverse/binary-i386/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...amd64/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise-updates/main/binary-amd64/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...amd64/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise-updates/restricted/binary-amd64/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...amd64/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise-updates/universe/binary-amd64/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...amd64/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise-updates/multiverse/binary-amd64/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...-i386/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise-updates/main/binary-i386/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...-i386/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise-updates/restricted/binary-i386/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...-i386/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise-updates/universe/binary-i386/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...-i386/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise-updates/multiverse/binary-i386/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...amd64/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise/main/binary-amd64/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...amd64/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise/restricted/binary-amd64/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...amd64/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise/universe/binary-amd64/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...amd64/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise/multiverse/binary-amd64/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...-i386/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise/main/binary-i386/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...-i386/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise/restricted/binary-i386/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...-i386/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise/universe/binary-i386/Packages: No such file or directory  ' 
     
    W: Failed to fetch ftp://ftp.itb.ac.id/pub/ubuntu/dists...-i386/Packages  Unable to fetch file, server said 'Can't open /pub/ubuntu/dists/precise/multiverse/binary-i386/Packages: No such file or directory  ' 
     
    E: Some index files failed to download. They have been ignored, or old ones used instead.

    any solutions for me ....?
    please ....
    Last edited by oldos2er; October 5th, 2012 at 04:58 PM. Reason: please use code tags to contain large terminal output

  2. #2
    Join Date
    Oct 2008
    Beans
    104
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: W: Failed to fetch .... No such file or directory

    Judging from ftp://ftp.itb.ac.id/pub/ubuntu/, it looks like whoever's running that server just removed all the ubuntu directories. You might want to try removing the site that's causing you this trouble from your software sources.

    If you added this repository yourself, you can disable it like so:

    System -> Administration -> Software Sources: Click "Other Software" tab and uncheck the offending repos.

  3. #3
    Join Date
    Feb 2012
    Location
    el_GR
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: W: Failed to fetch .... No such file or directory

    Hi ,

    open a terminal and give the results of this command

    Code:
    find /etc/apt  -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
    Please put the results between the brackets [code]Here[/code] so can be readable.

    Thanks

  4. #4
    Join Date
    Sep 2012
    Beans
    12

    Re: W: Failed to fetch .... No such file or directory

    Quote Originally Posted by NikTh View Post
    Hi ,

    open a terminal and give the results of this command

    Code:
    find /etc/apt  -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
    Please put the results between the brackets [code]Here[/code] so can be readable.

    Thanks
    this is the result ..
    thanks for your kindness ..

    Code:
    chacank@chacank-K84L:~$ find /etc/apt  -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
    
    /etc/apt/sources.list
    
         1    # deb cdrom:[Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1)]/ dists/precise/main/binary-i386/
         2    
         3    # deb cdrom:[Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1)]/ dists/precise/restricted/binary-i386/
         4    # deb cdrom:[Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1)]/ precise main restricted
         5    
         6    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
         7    # newer versions of the distribution.
         8    deb http://archive.ubuntu.com/ubuntu precise main restricted
         9    deb-src http://archive.ubuntu.com/ubuntu precise main restricted
        10    
        11    ## Major bug fix updates produced after the final release of the
        12    ## distribution.
        13    deb http://archive.ubuntu.com/ubuntu precise-updates main restricted
        14    deb-src http://archive.ubuntu.com/ubuntu precise-updates main restricted
        15    
        16    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
        17    ## team. Also, please note that software in universe WILL NOT receive any
        18    ## review or updates from the Ubuntu security team.
        19    deb http://archive.ubuntu.com/ubuntu precise universe
        20    deb-src http://archive.ubuntu.com/ubuntu precise universe
        21    deb http://archive.ubuntu.com/ubuntu precise-updates universe
        22    deb-src http://archive.ubuntu.com/ubuntu precise-updates universe
        23    
        24    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
        25    ## team, and may not be under a free licence. Please satisfy yourself as to 
        26    ## your rights to use the software. Also, please note that software in 
        27    ## multiverse WILL NOT receive any review or updates from the Ubuntu
        28    ## security team.
        29    
        30    
        31    
        32    
        33    ## N.B. software from this repository may not have been tested as
        34    ## extensively as that contained in the main release, although it includes
        35    ## newer versions of some applications which may provide useful features.
        36    ## Also, please note that software in backports WILL NOT receive any review
        37    ## or updates from the Ubuntu security team.
        38    deb http://archive.ubuntu.com/ubuntu precise-backports restricted main multiverse universe
        39    deb-src http://archive.ubuntu.com/ubuntu precise-backports main restricted universe multiverse
        40    
        41    deb http://archive.ubuntu.com/ubuntu precise-security main restricted
        42    deb-src http://archive.ubuntu.com/ubuntu precise-security main restricted
        43    deb http://archive.ubuntu.com/ubuntu precise-security universe
        44    deb-src http://archive.ubuntu.com/ubuntu precise-security universe
        45    
        46    
        47    ## Uncomment the following two lines to add software from Canonical's
        48    ## 'partner' repository.
        49    ## This software is not part of Ubuntu, but is offered by Canonical and the
        50    ## respective vendors as a service to Ubuntu users.
        51    deb http://archive.canonical.com/ubuntu precise partner
        52    deb-src http://archive.canonical.com/ubuntu precise partner
        53    
        54    ## This software is not part of Ubuntu, but is offered by third-party
        55    ## developers who want to ship their latest software.
        56    deb http://extras.ubuntu.com/ubuntu precise main
        57    deb-src http://extras.ubuntu.com/ubuntu precise main
        58    
        59    deb ftp://ftp.itb.ac.id/pub/ubuntu/ precise-proposed main restricted universe multiverse
        60    deb ftp://ftp.itb.ac.id/pub/ubuntu/ precise-security main restricted universe multiverse
        61    deb ftp://ftp.itb.ac.id/pub/ubuntu/ precise-updates main restricted universe multiverse
        62    deb ftp://ftp.itb.ac.id/pub/ubuntu/ precise main restricted universe multiverse
        63    deb http://archive.ubuntu.com/ubuntu precise-proposed restricted main universe
    
    /etc/apt/sources.list.d/medibuntu.list
    
         1    ## Please report any bug on https://bugs.launchpad.net/medibuntu/
         2    deb http://packages.medibuntu.org/ precise free non-free #Medibuntu - Ubuntu 12.04 "precise pangolin"
         3    deb-src http://packages.medibuntu.org/ precise free non-free #Medibuntu (source) - Ubuntu 12.04 "precise pangolin"
    
    /etc/apt/sources.list.d/ubuntu-wine-ppa-precise.list
    
         1    deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu precise main
         2    deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu precise main

  5. #5
    Join Date
    Sep 2012
    Beans
    12

    Re: W: Failed to fetch .... No such file or directory

    Quote Originally Posted by mathfreak123 View Post
    Judging from ftp://ftp.itb.ac.id/pub/ubuntu/, it looks like whoever's running that server just removed all the ubuntu directories. You might want to try removing the site that's causing you this trouble from your software sources.

    If you added this repository yourself, you can disable it like so:

    System -> Administration -> Software Sources: Click "Other Software" tab and uncheck the offending repos.
    thanks for your quick response ..
    I also have tried ..

    chacank@chacank-K84L:~$ sudo apt-get ubuntu-restricted-extras
    E: Invalid operation ubuntu-restricted-extras

    whether this is also caused by the site ..?
    what should I do to solve this problem ..?

    help me please .... :'(

  6. #6
    Join Date
    May 2009
    Location
    Indiana
    Beans
    1,965
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: W: Failed to fetch .... No such file or directory

    Quote Originally Posted by chacank View Post
    thanks for your quick response ..
    I also have tried ..

    chacank@chacank-K84L:~$ sudo apt-get ubuntu-restricted-extras
    E: Invalid operation ubuntu-restricted-extras

    whether this is also caused by the site ..?
    what should I do to solve this problem ..?

    help me please .... :'(
    Probably an independent problem.
    The command should be
    Code:
    sudo apt-get install ubuntu-restricted-extras
    Jane, stop this crazy thing!

  7. #7
    Join Date
    Feb 2012
    Location
    el_GR
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: W: Failed to fetch .... No such file or directory

    Hi ,

    try these codes
    Code:
    sudo sed -i 's/deb ftp/#deb ftp/g' /etc/apt/sources.list
    Then
    Code:
    sudo apt-get update 
    sudo apt-get dist-upgrade
    Tip: Precise-proposed updates are dangerous . Can do a system unstable. You can remove them if you want by => Update-Manager > Settings > Pre-released Updates (Precise-proposed) > Un-tick the box.

    Thanks
    Last edited by NikTh; October 5th, 2012 at 01:05 PM.

  8. #8
    Join Date
    Sep 2012
    Beans
    12

    Re: W: Failed to fetch .... No such file or directory

    Quote Originally Posted by NikTh View Post
    Hi ,

    try these codes
    Code:
    sudo sed -i 's/deb ftp/#deb ftp/g' /etc/apt/sources.list
    Then
    Code:
    sudo apt-get update 
    sudo apt-get dist-upgrade
    Tip: Precise-proposed updates are dangerous . Can do a system unstable. You can remove them if you want by => Update-Manager > Settings > Pre-released Updates (Precise-proposed) > Un-tick the box.

    Thanks
    after I run the code you provided
    i still encountered some error messages ..

    sudo sed -i 's/deb ftp/#deb ftp/'g /etc/apt/sources.list
    sudo apt-get update

    Code:
    Hit http://archive.ubuntu.com precise-security/restricted Translation-en                                                                        
    Hit http://archive.ubuntu.com precise-security/universe Translation-en                                                                          
    Fetched 1,729 kB in 1min 39s (17.4 kB/s)                                                                                                        
    W: Failed to fetch http://packages.medibuntu.org/dists/precise/free/i18n/Translation-en_US  Unable to connect to packages.medibuntu.org:http: 
     
    W: Failed to fetch http://packages.medibuntu.org/dists/precise/free/i18n/Translation-en  Unable to connect to packages.medibuntu.org:http: 
     
    W: Failed to fetch http://packages.medibuntu.org/dists/precise/non-free/i18n/Translation-en_US  Unable to connect to packages.medibuntu.org:http: 
     
    W: Failed to fetch http://packages.medibuntu.org/dists/precise/non-free/i18n/Translation-en  Unable to connect to packages.medibuntu.org:http: 
     
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    what should i do now ..?

    and what is causing the error ..??
    whether there should be a file or something i need to delete it ....????

    please help me solve this problem ..

Bookmarks

Posting Permissions

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